Created
March 31, 2014 10:43
-
-
Save jerzyn/9889690 to your computer and use it in GitHub Desktop.
Active Docs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Can you please include the comment on how to reference specs hosted outside 3scale:
https://gist.github.com/MarkCheshire/11238415#file-ad-include-html