Swagger short code issue #478
prdsoftware
started this conversation in
General
Replies: 1 comment 1 reply
-
Have you set the type of your page containing the Swagger shortcode to "swagger"? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm trying to use the Swagger shortcode in my Docsy docs as per https://www.docsy.dev/docs/adding-content/shortcodes/#swaggerui, but can't get it to work. In the browser console I'm getting the error:
Do I have to download some files and put them somewhere?. eg. the vendor dir? ... or something else?
Update:
OK, I can see that there is a /themes/docsy/static/js dir that has swagger-ui-bundle.js and swagger-ui-standalong-preset.js
Seems like these are the files I'm after, but for some reason, Docsy is not looking here perhaps?
There is another "static" folder that is at the same level as the config.toml file. This is where my images/css is. Is this confusing Docsy?
Beta Was this translation helpful? Give feedback.
All reactions