-
Notifications
You must be signed in to change notification settings - Fork 106
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
automatically generate code snippets #18
base: master
Are you sure you want to change the base?
Conversation
@jgabriels wow! this looks amazing |
Do this works with OAS3 ? |
Any progress on getting this in? This would be fantastic for so many needing easy samples. |
From: Redocly/redoc#477
My code is basically gluing several existing modules together. It probably wouldn't be |
True. But it is not of scope for this project! @jgabriels I still want to pull this code in. Sorry for the delay though. I realize that so much time passed. I just don't have enough time for everything and this PR requires have to be read and tested carefully. Would mind me reopening this PR? Thanks! |
Oops, sorry. I misunderstood. I reopened the pull request. I can try to update it at some point to get it current. |
Any chance we can resolve this to get some code snippets generated? swagger-snippet has updated to allow OpenAPI 3.0.x as well! ErikWittern/openapi-snippet#16 |
Any progress on merging it? |
Any progress with this PR? |
Any progress with the PR |
I have a fully working code generator:
https://github.com/Direct-Freight/df-api-docs/blob/master/scripts/generate-code-samples.js
It's called during the build:
https://github.com/Direct-Freight/df-api-docs/blob/master/scripts/build.js
You can see what the final results looks like here:
http://apidocs.directfreight.com/#tag/boards