Skip to content

Instantly share code, notes, and snippets.

@njoerd114
Last active October 6, 2021 14:26
Show Gist options
  • Save njoerd114/a29d741d4715fdbcb7bbbf8835f09b12 to your computer and use it in GitHub Desktop.
Save njoerd114/a29d741d4715fdbcb7bbbf8835f09b12 to your computer and use it in GitHub Desktop.
Confluence: User HTML-Macro to embed ReDoc for OpenApi documentation
<redoc spec-url='https://confluence.instance/download/attachments/someid/some_swagger_doc.yaml?api=v2'></redoc>
<!--The some_swagger_doc.yaml can be a site attachment, just copy over the download link once you uploaded the yaml to your page.-->
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment