Skip to content

Commit

Permalink
Added implementation notes to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rpidikiti committed Jul 31, 2011
1 parent 74eddf7 commit 7bd8ebc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/main/html/index.html
Expand Up @@ -114,6 +114,10 @@ <h3>
</ul>
</div>
<div class='content' id='${apiName}_${nickname}_${httpMethod}_content' style='display:none'>
{{if notes}}
<h4>Implementation Notes</h4>
<p>${notes}</p>
{{/if}}
<form id="${apiName}_${nickname}_${httpMethod}_form" accept-charset="UTF-8" action="#" class="sandbox" method="post">
<div style="margin:0;padding:0;display:inline"></div>
<h4>Parameters</h4>
Expand Down
2 changes: 1 addition & 1 deletion src/main/html/javascript/swagger-service.js
Expand Up @@ -146,7 +146,7 @@ function SwaggerService(baseUrl, _apiKey, statusCallback) {
});

// Model: ApiOperation
var ApiOperation = Spine.Model.setup("ApiOperation", ["baseUrl", "path", "path_json", "path_xml", "summary", "deprecated", "open", "httpMethod", "httpMethodLowercase", "nickname", "responseClass", "parameters", "apiName"]);
var ApiOperation = Spine.Model.setup("ApiOperation", ["baseUrl", "path", "path_json", "path_xml", "summary", "notes", "deprecated", "open", "httpMethod", "httpMethodLowercase", "nickname", "responseClass", "parameters", "apiName"]);
ApiOperation.include({
init: function(atts) {
if (atts) this.load(atts);
Expand Down

0 comments on commit 7bd8ebc

Please sign in to comment.