You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An interesting idea would be to have yard create the json files statically (instead of caching the generated output in Rails.cache) -- then copy them into a subdir like /public/data/*.json.
If swagger-ui could be bundled up into /public/swagger-ui as well, then a single generator could generate the doc, bundle it and store it in public, allowing the apidoc to be completely static!
This idea goes in a different direction than your initial gem, so feel free to close this if don't want to consider that mode. I might investigate this further in another gem in that case.
The text was updated successfully, but these errors were encountered:
An interesting idea would be to have yard create the json files statically (instead of caching the generated output in Rails.cache) -- then copy them into a subdir like /public/data/*.json.
If swagger-ui could be bundled up into /public/swagger-ui as well, then a single generator could generate the doc, bundle it and store it in public, allowing the apidoc to be completely static!
This idea goes in a different direction than your initial gem, so feel free to close this if don't want to consider that mode. I might investigate this further in another gem in that case.
The text was updated successfully, but these errors were encountered: