Skip to content

Instantly share code, notes, and snippets.

@MarkCheshire
Forked from jerzyn/ad-include.html
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarkCheshire/11238415 to your computer and use it in GitHub Desktop.
Save MarkCheshire/11238415 to your computer and use it in GitHub Desktop.
<script src="/active_docs/application.js" ></script>
<link href="/active_docs/application.css" media="screen" rel="stylesheet" />
<div class='api-docs-wrap'></div>
<script>
{% comment %}
// if you are hosting you specs elsewhere, load them by:
ThreeScale.APIDocs.host = 'https://{your-own-server}';
{% endcomment %}
$(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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment