% npx -- @finos/git-proxy --validate
/Users/dev/git/git-proxy/node_modules/jsonschema/lib/helpers.js:61
throw err;
^
ValidationError {
path: [],
property: 'instance',
message: 'is not allowed to have the additional property "tempPassword"',
schema: 'https://git-proxy.finos.org/config.schema.json',
instance: {
tempPassword: { sendEmail: false, emailConfig: {} },
authorisedList: [
{
project: 'finos',
name: 'git-proxy',
url: 'https://github.com/finos/git-proxy.git'
}
],
sink: [
{ type: 'fs', params: { filepath: './.' }, enabled: true },
{
type: 'mongo',
connectionString: 'mongodb://localhost:27017/gitproxy',
options: { useUnifiedTopology: true },
enabled: false
}
],
authentication: [ { type: 'local', enabled: true } ]
},
name: 'additionalProperties',
argument: 'tempPassword',
stack: 'instance is not allowed to have the additional property "tempPassword"'
}
Node.js v21.7.1
% npx -- @finos/git-proxy --validate
proxy.config.json is valid
Describe the bug
The existing proxy.config.json file is not valid as per the config schema in the repository
To Reproduce
Expected behavior
Screenshots
n/a
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
n/a