We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I had to figure out how to do this. Here is what I did:
I did not want the documentation for the token endpoints thus I removed them from the object: services/authentication/index.js
services/authentication/index.js
... app.configure(authentication(config)); //Removing endpoints from the documentation delete app.docs.paths['/auth/token']; delete app.docs.paths['/auth/token/{id}'];
Then I merged a definition that I keep in a separate file (here is an explanation or check the project I am working on)
app.docs.paths['/auth/token'].post = Object.assign({}, app.docs.paths['/auth/token'].post, def.post);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I had to figure out how to do this. Here is what I did:
I did not want the documentation for the token endpoints thus I removed them from the object:
services/authentication/index.js
Then I merged a definition that I keep in a separate file (here is an explanation or check the project I am working on)
app.docs.paths['/auth/token'].post = Object.assign({}, app.docs.paths['/auth/token'].post, def.post);
The text was updated successfully, but these errors were encountered: