-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Add support for importing non yaml files as block's #1262
Comments
Autorest has an interesting alternative way of blending markdown and OpenAPI descriptions. https://github.com/Azure/autorest/blob/master/Samples/3a-literate-swagger/swagger.md For examples you can use |
This link is dead now. |
Thanks. The reference file appears to have been moved to https://github.com/Azure/autorest/blob/master/Samples/openapi-v2/3a-literate-swagger/swagger.md |
Does the External Documentation Object solve this problem? |
This issue has been labeled with |
Currently there is no (easy) way to define an external file that is not a yaml file. It would be nice to have something like the ability to include an arbitrary file as a text block into a definition. For example you could extract the descriptions into their own .md file, or code samples into their own . files for inclusion.
This could be done as either an extension of $ref's ability to include files or as a new directive.
The text was updated successfully, but these errors were encountered: