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
add support for optionally serving documentation generated using https://github.com/Redocly/redoc for servers using typescript-koa template
typescript-koa
essentially this will involve:
/docs
/openapi.yaml
the html will look similar to:
<html> <body> <redoc spec-url="http://petstore.swagger.io/v2/swagger.json"></redoc> <script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"> </script> </body> </html>
with the spec path updated, and a sub resource integrity hash added (https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)
this functionality should be optional, and the routes configurable to ensure that it can be used without collision with the actual API surface.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
add support for optionally serving documentation generated using https://github.com/Redocly/redoc for servers using
typescript-koa
templateessentially this will involve:
/docs
returning an html document including the redoc html below/openapi.yaml
returning the specification used to generate the serverthe html will look similar to:
with the spec path updated, and a sub resource integrity hash added (https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)
this functionality should be optional, and the routes configurable to ensure that it can be used without collision with the actual API surface.
The text was updated successfully, but these errors were encountered: