forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
html: fix typo in class name (OpenAPITools#7818)
* html: fix typo in class name * Update "html" samples
- Loading branch information
Showing
4 changed files
with
89 additions
and
48 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.2.3-SNAPSHOT | ||
2.4.0-SNAPSHOT |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.2.3-SNAPSHOT | ||
2.4.0-SNAPSHOT |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,11 +181,11 @@ | |
<body> | ||
<h1>Swagger Petstore</h1> | ||
<div class="app-desc">This is a sample server Petstore server. You can find out more about Swagger at <a href="http://swagger.io">http://swagger.io</a> or on <a href="http://swagger.io/irc/">irc.freenode.net, #swagger</a>. For this sample, you can use the api key <code>special-key</code> to test the authorization filters.</div> | ||
<div class="app-desc">More information: <a href=""></a></div> | ||
<div class="app-desc">More information: <a href="https://helloreverb.com">https://helloreverb.com</a></div> | ||
<div class="app-desc">Contact Info: <a href="[email protected]">[email protected]</a></div> | ||
<div class="app-desc">Version: 1.0.0</div> | ||
<div class="app-desc">BasePath:/v2</div> | ||
<div class="license-info">Apache 2.0</div> | ||
<div class="license-info">Apache-2.0</div> | ||
<div class="license-url">http://www.apache.org/licenses/LICENSE-2.0.html</div> | ||
<h2>Access</h2> | ||
<ol> | ||
|
@@ -238,7 +238,7 @@ <h1><a name="Pet">Pet</a></h1> | |
|
||
|
||
<h3 class="field-label">Consumes</h3> | ||
This API call consumes the following media types via the <span class="heaader">Content-Type</span> request header: | ||
This API call consumes the following media types via the <span class="header">Content-Type</span> request header: | ||
<ul> | ||
<li><code>application/json</code></li> | ||
<li><code>application/xml</code></li> | ||
|
@@ -261,7 +261,7 @@ <h3 class="field-label">Request body</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -302,7 +302,7 @@ <h3 class="field-label">Request headers</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -356,23 +356,42 @@ <h3 class="field-label">Example data</h3> | |
<h3 class="field-label">Example data</h3> | ||
<div class="example-data-content-type">Content-Type: application/json</div> | ||
<pre class="example"><code>[ { | ||
"photoUrls" : [ "aeiou" ], | ||
"photoUrls" : [ "photoUrls", "photoUrls" ], | ||
"name" : "doggie", | ||
"id" : 0, | ||
"category" : { | ||
"name" : "aeiou", | ||
"name" : "name", | ||
"id" : 6 | ||
}, | ||
"tags" : [ { | ||
"name" : "aeiou", | ||
"name" : "name", | ||
"id" : 1 | ||
}, { | ||
"name" : "name", | ||
"id" : 1 | ||
} ], | ||
"status" : "available" | ||
}, { | ||
"photoUrls" : [ "photoUrls", "photoUrls" ], | ||
"name" : "doggie", | ||
"id" : 0, | ||
"category" : { | ||
"name" : "name", | ||
"id" : 6 | ||
}, | ||
"tags" : [ { | ||
"name" : "name", | ||
"id" : 1 | ||
}, { | ||
"name" : "name", | ||
"id" : 1 | ||
} ], | ||
"status" : "available" | ||
} ]</code></pre> | ||
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -429,23 +448,42 @@ <h3 class="field-label">Example data</h3> | |
<h3 class="field-label">Example data</h3> | ||
<div class="example-data-content-type">Content-Type: application/json</div> | ||
<pre class="example"><code>[ { | ||
"photoUrls" : [ "aeiou" ], | ||
"photoUrls" : [ "photoUrls", "photoUrls" ], | ||
"name" : "doggie", | ||
"id" : 0, | ||
"category" : { | ||
"name" : "aeiou", | ||
"name" : "name", | ||
"id" : 6 | ||
}, | ||
"tags" : [ { | ||
"name" : "aeiou", | ||
"name" : "name", | ||
"id" : 1 | ||
}, { | ||
"name" : "name", | ||
"id" : 1 | ||
} ], | ||
"status" : "available" | ||
}, { | ||
"photoUrls" : [ "photoUrls", "photoUrls" ], | ||
"name" : "doggie", | ||
"id" : 0, | ||
"category" : { | ||
"name" : "name", | ||
"id" : 6 | ||
}, | ||
"tags" : [ { | ||
"name" : "name", | ||
"id" : 1 | ||
}, { | ||
"name" : "name", | ||
"id" : 1 | ||
} ], | ||
"status" : "available" | ||
} ]</code></pre> | ||
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -502,23 +540,26 @@ <h3 class="field-label">Example data</h3> | |
<h3 class="field-label">Example data</h3> | ||
<div class="example-data-content-type">Content-Type: application/json</div> | ||
<pre class="example"><code>{ | ||
"photoUrls" : [ "aeiou" ], | ||
"photoUrls" : [ "photoUrls", "photoUrls" ], | ||
"name" : "doggie", | ||
"id" : 0, | ||
"category" : { | ||
"name" : "aeiou", | ||
"name" : "name", | ||
"id" : 6 | ||
}, | ||
"tags" : [ { | ||
"name" : "aeiou", | ||
"name" : "name", | ||
"id" : 1 | ||
}, { | ||
"name" : "name", | ||
"id" : 1 | ||
} ], | ||
"status" : "available" | ||
}</code></pre> | ||
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -545,7 +586,7 @@ <h4 class="field-label">404</h4> | |
|
||
|
||
<h3 class="field-label">Consumes</h3> | ||
This API call consumes the following media types via the <span class="heaader">Content-Type</span> request header: | ||
This API call consumes the following media types via the <span class="header">Content-Type</span> request header: | ||
<ul> | ||
<li><code>application/json</code></li> | ||
<li><code>application/xml</code></li> | ||
|
@@ -568,7 +609,7 @@ <h3 class="field-label">Request body</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -601,7 +642,7 @@ <h3 class="field-label">Path parameters</h3> | |
</div> <!-- field-items --> | ||
|
||
<h3 class="field-label">Consumes</h3> | ||
This API call consumes the following media types via the <span class="heaader">Content-Type</span> request header: | ||
This API call consumes the following media types via the <span class="header">Content-Type</span> request header: | ||
<ul> | ||
<li><code>application/x-www-form-urlencoded</code></li> | ||
</ul> | ||
|
@@ -624,7 +665,7 @@ <h3 class="field-label">Form parameters</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -651,7 +692,7 @@ <h3 class="field-label">Path parameters</h3> | |
</div> <!-- field-items --> | ||
|
||
<h3 class="field-label">Consumes</h3> | ||
This API call consumes the following media types via the <span class="heaader">Content-Type</span> request header: | ||
This API call consumes the following media types via the <span class="header">Content-Type</span> request header: | ||
<ul> | ||
<li><code>multipart/form-data</code></li> | ||
</ul> | ||
|
@@ -680,13 +721,13 @@ <h3 class="field-label">Example data</h3> | |
<div class="example-data-content-type">Content-Type: application/json</div> | ||
<pre class="example"><code>{ | ||
"code" : 0, | ||
"type" : "aeiou", | ||
"message" : "aeiou" | ||
"type" : "type", | ||
"message" : "message" | ||
}</code></pre> | ||
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/json</code></li> | ||
</ul> | ||
|
@@ -723,7 +764,7 @@ <h3 class="field-label">Path parameters</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -767,7 +808,7 @@ <h3 class="field-label">Example data</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/json</code></li> | ||
</ul> | ||
|
@@ -828,7 +869,7 @@ <h3 class="field-label">Example data</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -897,7 +938,7 @@ <h3 class="field-label">Example data</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -939,7 +980,7 @@ <h3 class="field-label">Request body</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -977,7 +1018,7 @@ <h3 class="field-label">Request body</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -1015,7 +1056,7 @@ <h3 class="field-label">Request body</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -1052,7 +1093,7 @@ <h3 class="field-label">Path parameters</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -1109,19 +1150,19 @@ <h3 class="field-label">Example data</h3> | |
<h3 class="field-label">Example data</h3> | ||
<div class="example-data-content-type">Content-Type: application/json</div> | ||
<pre class="example"><code>{ | ||
"firstName" : "aeiou", | ||
"lastName" : "aeiou", | ||
"password" : "aeiou", | ||
"firstName" : "firstName", | ||
"lastName" : "lastName", | ||
"password" : "password", | ||
"userStatus" : 6, | ||
"phone" : "aeiou", | ||
"phone" : "phone", | ||
"id" : 0, | ||
"email" : "aeiou", | ||
"username" : "aeiou" | ||
"email" : "email", | ||
"username" : "username" | ||
}</code></pre> | ||
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -1173,11 +1214,11 @@ <h3 class="field-label">Example data</h3> | |
<pre class="example"><code>aeiou</code></pre> | ||
<h3 class="field-label">Example data</h3> | ||
<div class="example-data-content-type">Content-Type: application/json</div> | ||
<pre class="example"><code>"aeiou"</code></pre> | ||
<pre class="example"><code>""</code></pre> | ||
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -1211,7 +1252,7 @@ <h4 class="field-label">400</h4> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|
@@ -1255,7 +1296,7 @@ <h3 class="field-label">Request body</h3> | |
|
||
<h3 class="field-label">Produces</h3> | ||
This API call produces the following media types according to the <span class="header">Accept</span> request header; | ||
the media type will be conveyed by the <span class="heaader">Content-Type</span> response header. | ||
the media type will be conveyed by the <span class="header">Content-Type</span> response header. | ||
<ul> | ||
<li><code>application/xml</code></li> | ||
<li><code>application/json</code></li> | ||
|