Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ACNA-2219 - add OAuth Server-to-Server api calls and e2e tests #63

Merged
merged 16 commits into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bin/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"node/no-unpublished-require": 0
}
}
shazron marked this conversation as resolved.
Show resolved Hide resolved
6 changes: 3 additions & 3 deletions bin/validate_spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node

const path = require('path')

Expand All @@ -7,8 +6,8 @@ if (process.argv.length > 2) {
arg = path.resolve(process.argv[2])
}

var OpenAPISchemaValidator = require('openapi-schema-validator').default
var validator = new OpenAPISchemaValidator({
const OpenAPISchemaValidator = require('openapi-schema-validator').default
const validator = new OpenAPISchemaValidator({
version: 3
})

Expand All @@ -17,5 +16,6 @@ const result = validator.validate(apiDoc)

if (result.errors.length > 0) {
console.log(result)
// eslint-disable-next-line no-process-exit
process.exit(1)
}
Loading