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

Where is .json schema URL ? #21

Closed
KatSick opened this issue Dec 14, 2017 · 3 comments
Closed

Where is .json schema URL ? #21

KatSick opened this issue Dec 14, 2017 · 3 comments

Comments

@KatSick
Copy link

KatSick commented Dec 14, 2017

How i can get JSON schema by URL ?

@alisherks
Copy link
Contributor

Swagger module.createDocument call return json schema. Try serving it:

expressApp.use('/api-docs', (req, res, next) => res.send(document));

@KatSick
Copy link
Author

KatSick commented Dec 15, 2017

@mildbreakfast many thanks! it woks!

@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants