Skip to content

Instantly share code, notes, and snippets.

@jerzyn
Created March 31, 2014 10:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jerzyn/9889690 to your computer and use it in GitHub Desktop.
Save jerzyn/9889690 to your computer and use it in GitHub Desktop.
Active Docs
<script src="/active_docs/application.js" ></script>
<link href="/active_docs/application.css" media="screen" rel="stylesheet" />
<div class='api-docs-wrap'></div>
<script>
$(function(){ ThreeScale.APIDocs.init([]); });
</script>
curl -v -X PUT -F "body=@YOUR_API_JSON_SPEC.json" "https://YOUR_ADMIN_DOMAIN/admin/api/active_docs/ID_OF_THE_SERVICE_SPEC.xml?provider_key=YOUR_PROVIDER_KEY"
@MarkCheshire
Copy link

Can you please include the comment on how to reference specs hosted outside 3scale:
https://gist.github.com/MarkCheshire/11238415#file-ad-include-html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment