This commit is contained in:
Brian Shamblen 2017-01-05 09:03:18 -08:00 committed by wing328
parent 6a080d3a0c
commit b224474a43
2 changed files with 8 additions and 8 deletions

View File

@ -222,7 +222,7 @@
<div class="tab-content"> <div class="tab-content">
<div class="tab-pane active" id="examples-{{baseName}}-{{nickname}}-0-curl"> <div class="tab-pane active" id="examples-{{baseName}}-{{nickname}}-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X <span style="text-transform: uppercase;">{{httpMethod}}</span>{{#authMethods}}{{#isApiKey}}{{#isKeyInHeader}} -H "{{keyParamName}}: [[apiKey]]" {{/isKeyInHeader}}{{/isApiKey}}{{#isBasic}} -H "Authorization: Basic [[basicHash]]" {{/isBasic}}{{/authMethods}} "{{basePath}}{{path}}{{#hasQueryParams}}?{{#queryParams}}{{^-first}}&{{/-first}}{{paramName}}={{vendorExtensions.x-eg}}{{/queryParams}}{{/hasQueryParams}}"</code></pre> <pre class="prettyprint"><code class="language-bsh">curl -X <span style="text-transform: uppercase;">{{httpMethod}}</span>{{#authMethods}}{{#isApiKey}}{{#isKeyInHeader}} -H "{{keyParamName}}: [[apiKey]]"{{/isKeyInHeader}}{{/isApiKey}}{{#isBasic}}{{#hasProduces}} -H "Accept: {{#produces}}{{{mediaType}}}{{#hasMore}},{{/hasMore}}{{/produces}}"{{/hasProduces}}{{#hasConsumes}} -H "Content-Type: {{#consumes}}{{{mediaType}}}{{#hasMore}},{{/hasMore}}{{/consumes}}"{{/hasConsumes}} -H "Authorization: Basic [[basicHash]]"{{/isBasic}}{{/authMethods}} "{{basePath}}{{path}}{{#hasQueryParams}}?{{#queryParams}}{{^-first}}&{{/-first}}{{paramName}}={{vendorExtensions.x-eg}}{{/queryParams}}{{/hasQueryParams}}"</code></pre>
</div> </div>
<div class="tab-pane" id="examples-{{baseName}}-{{nickname}}-0-java"> <div class="tab-pane" id="examples-{{baseName}}-{{nickname}}-0-java">
<pre class="prettyprint"><code class="language-java">{{>sample_java}}</code></pre> <pre class="prettyprint"><code class="language-java">{{>sample_java}}</code></pre>

View File

@ -3140,7 +3140,7 @@ namespace Example
var apiInstance = new PetApi(); var apiInstance = new PetApi();
var petId = 789; // Long | ID of pet to update var petId = 789; // Long | ID of pet to update
var additionalMetadata = additionalMetadata_example; // String | Additional data to pass to server (optional) var additionalMetadata = additionalMetadata_example; // String | Additional data to pass to server (optional)
var file = /path/to/file.txt; // File | file to upload (optional) var file = new File(); // File | file to upload (optional)
try try
{ {
@ -3531,7 +3531,7 @@ try {
"description" : "ID of the order that needs to be deleted", "description" : "ID of the order that needs to be deleted",
"required" : true, "required" : true,
"type" : "string", "type" : "string",
"minimum" : 1.0 "minimum" : 1
}; };
var schema = schemaWrapper; var schema = schemaWrapper;
@ -4005,8 +4005,8 @@ try {
"description" : "ID of pet that needs to be fetched", "description" : "ID of pet that needs to be fetched",
"required" : true, "required" : true,
"type" : "integer", "type" : "integer",
"maximum" : 5.0, "maximum" : 5,
"minimum" : 1.0, "minimum" : 1,
"format" : "int64" "format" : "int64"
}; };
var schema = schemaWrapper; var schema = schemaWrapper;
@ -6303,7 +6303,7 @@ try {
</div> </div>
<div id="generator"> <div id="generator">
<div class="content"> <div class="content">
Generated 2016-12-16T18:07:47.864+08:00 Generated 2017-01-03T10:36:42.650-08:00
</div> </div>
</div> </div>
</div> </div>