forked from loafle/openapi-generator-original
Kotlin client/spacings indentations (#9853)
* Bump jimschubert/query-tag-action from 1 to 2 Bumps [jimschubert/query-tag-action](https://github.com/jimschubert/query-tag-action) from 1 to 2. - [Release notes](https://github.com/jimschubert/query-tag-action/releases) - [Commits](https://github.com/jimschubert/query-tag-action/compare/v1...v2) Signed-off-by: dependabot[bot] <support@github.com> * Adjust spacings, bring back suppresses to silence IntelliJ IDEs. * Suppress few warnings since we know we are using them in the code. * toLowerCase() is deprecated. * Wrap enum values in backticks to guard against reserved names, bring back encode/decode for each enum. * Wrap property names in backticks to guard against reserved names. * Regenerate samples. * Do not warn about unused imports. * Regenerate samples. * Updated petstore code. * Add missing reserved Kotlin operators and special keywords. * Revert adding backticks. * Regenerate pet store shop code. * Remove unused suppression. * Use 3 braces to wrap name. * Regenerate pet store shop code. * Remove get from reserved words. * Revert back removal of description. * Regenerate source code for Petstore. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
e5ce66aae6
commit
e39e4bcd6e
@ -19,7 +19,7 @@ jobs:
|
|||||||
# This action will "unshallow" so we have all tag info
|
# This action will "unshallow" so we have all tag info
|
||||||
- name: Get latest tag
|
- name: Get latest tag
|
||||||
id: tagger
|
id: tagger
|
||||||
uses: jimschubert/query-tag-action@v1
|
uses: jimschubert/query-tag-action@v2
|
||||||
with:
|
with:
|
||||||
include: 'v*'
|
include: 'v*'
|
||||||
exclude: '*-rc*'
|
exclude: '*-rc*'
|
||||||
|
@ -74,28 +74,64 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
## RESERVED WORDS
|
## RESERVED WORDS
|
||||||
|
|
||||||
<ul class="column-ul">
|
<ul class="column-ul">
|
||||||
|
<li>abstract</li>
|
||||||
|
<li>actual</li>
|
||||||
|
<li>annotation</li>
|
||||||
<li>as</li>
|
<li>as</li>
|
||||||
<li>break</li>
|
<li>break</li>
|
||||||
<li>class</li>
|
<li>class</li>
|
||||||
|
<li>companion</li>
|
||||||
|
<li>const</li>
|
||||||
|
<li>constructor</li>
|
||||||
<li>continue</li>
|
<li>continue</li>
|
||||||
|
<li>crossinline</li>
|
||||||
|
<li>data</li>
|
||||||
|
<li>delegate</li>
|
||||||
<li>do</li>
|
<li>do</li>
|
||||||
|
<li>dynamic</li>
|
||||||
<li>else</li>
|
<li>else</li>
|
||||||
|
<li>enum</li>
|
||||||
|
<li>expect</li>
|
||||||
<li>external</li>
|
<li>external</li>
|
||||||
<li>false</li>
|
<li>false</li>
|
||||||
|
<li>field</li>
|
||||||
|
<li>final</li>
|
||||||
|
<li>finally</li>
|
||||||
<li>for</li>
|
<li>for</li>
|
||||||
<li>fun</li>
|
<li>fun</li>
|
||||||
<li>if</li>
|
<li>if</li>
|
||||||
|
<li>import</li>
|
||||||
<li>in</li>
|
<li>in</li>
|
||||||
|
<li>infix</li>
|
||||||
|
<li>init</li>
|
||||||
|
<li>inline</li>
|
||||||
|
<li>inner</li>
|
||||||
<li>interface</li>
|
<li>interface</li>
|
||||||
<li>internal</li>
|
<li>internal</li>
|
||||||
<li>is</li>
|
<li>is</li>
|
||||||
|
<li>it</li>
|
||||||
|
<li>lateinit</li>
|
||||||
|
<li>noinline</li>
|
||||||
<li>null</li>
|
<li>null</li>
|
||||||
<li>object</li>
|
<li>object</li>
|
||||||
<li>open</li>
|
<li>open</li>
|
||||||
|
<li>operator</li>
|
||||||
|
<li>out</li>
|
||||||
|
<li>override</li>
|
||||||
<li>package</li>
|
<li>package</li>
|
||||||
|
<li>param</li>
|
||||||
<li>private</li>
|
<li>private</li>
|
||||||
|
<li>property</li>
|
||||||
|
<li>protected</li>
|
||||||
|
<li>public</li>
|
||||||
|
<li>receiver</li>
|
||||||
|
<li>reified</li>
|
||||||
<li>return</li>
|
<li>return</li>
|
||||||
|
<li>sealed</li>
|
||||||
|
<li>setparam</li>
|
||||||
<li>super</li>
|
<li>super</li>
|
||||||
|
<li>suspend</li>
|
||||||
|
<li>tailrec</li>
|
||||||
<li>this</li>
|
<li>this</li>
|
||||||
<li>throw</li>
|
<li>throw</li>
|
||||||
<li>true</li>
|
<li>true</li>
|
||||||
@ -103,8 +139,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
<li>typealias</li>
|
<li>typealias</li>
|
||||||
<li>typeof</li>
|
<li>typeof</li>
|
||||||
<li>val</li>
|
<li>val</li>
|
||||||
|
<li>value</li>
|
||||||
<li>var</li>
|
<li>var</li>
|
||||||
|
<li>vararg</li>
|
||||||
<li>when</li>
|
<li>when</li>
|
||||||
|
<li>where</li>
|
||||||
<li>while</li>
|
<li>while</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -76,28 +76,64 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
## RESERVED WORDS
|
## RESERVED WORDS
|
||||||
|
|
||||||
<ul class="column-ul">
|
<ul class="column-ul">
|
||||||
|
<li>abstract</li>
|
||||||
|
<li>actual</li>
|
||||||
|
<li>annotation</li>
|
||||||
<li>as</li>
|
<li>as</li>
|
||||||
<li>break</li>
|
<li>break</li>
|
||||||
<li>class</li>
|
<li>class</li>
|
||||||
|
<li>companion</li>
|
||||||
|
<li>const</li>
|
||||||
|
<li>constructor</li>
|
||||||
<li>continue</li>
|
<li>continue</li>
|
||||||
|
<li>crossinline</li>
|
||||||
|
<li>data</li>
|
||||||
|
<li>delegate</li>
|
||||||
<li>do</li>
|
<li>do</li>
|
||||||
|
<li>dynamic</li>
|
||||||
<li>else</li>
|
<li>else</li>
|
||||||
|
<li>enum</li>
|
||||||
|
<li>expect</li>
|
||||||
<li>external</li>
|
<li>external</li>
|
||||||
<li>false</li>
|
<li>false</li>
|
||||||
|
<li>field</li>
|
||||||
|
<li>final</li>
|
||||||
|
<li>finally</li>
|
||||||
<li>for</li>
|
<li>for</li>
|
||||||
<li>fun</li>
|
<li>fun</li>
|
||||||
<li>if</li>
|
<li>if</li>
|
||||||
|
<li>import</li>
|
||||||
<li>in</li>
|
<li>in</li>
|
||||||
|
<li>infix</li>
|
||||||
|
<li>init</li>
|
||||||
|
<li>inline</li>
|
||||||
|
<li>inner</li>
|
||||||
<li>interface</li>
|
<li>interface</li>
|
||||||
<li>internal</li>
|
<li>internal</li>
|
||||||
<li>is</li>
|
<li>is</li>
|
||||||
|
<li>it</li>
|
||||||
|
<li>lateinit</li>
|
||||||
|
<li>noinline</li>
|
||||||
<li>null</li>
|
<li>null</li>
|
||||||
<li>object</li>
|
<li>object</li>
|
||||||
<li>open</li>
|
<li>open</li>
|
||||||
|
<li>operator</li>
|
||||||
|
<li>out</li>
|
||||||
|
<li>override</li>
|
||||||
<li>package</li>
|
<li>package</li>
|
||||||
|
<li>param</li>
|
||||||
<li>private</li>
|
<li>private</li>
|
||||||
|
<li>property</li>
|
||||||
|
<li>protected</li>
|
||||||
|
<li>public</li>
|
||||||
|
<li>receiver</li>
|
||||||
|
<li>reified</li>
|
||||||
<li>return</li>
|
<li>return</li>
|
||||||
|
<li>sealed</li>
|
||||||
|
<li>setparam</li>
|
||||||
<li>super</li>
|
<li>super</li>
|
||||||
|
<li>suspend</li>
|
||||||
|
<li>tailrec</li>
|
||||||
<li>this</li>
|
<li>this</li>
|
||||||
<li>throw</li>
|
<li>throw</li>
|
||||||
<li>true</li>
|
<li>true</li>
|
||||||
@ -105,8 +141,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
<li>typealias</li>
|
<li>typealias</li>
|
||||||
<li>typeof</li>
|
<li>typeof</li>
|
||||||
<li>val</li>
|
<li>val</li>
|
||||||
|
<li>value</li>
|
||||||
<li>var</li>
|
<li>var</li>
|
||||||
|
<li>vararg</li>
|
||||||
<li>when</li>
|
<li>when</li>
|
||||||
|
<li>where</li>
|
||||||
<li>while</li>
|
<li>while</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -87,28 +87,64 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
<li>ApiClient</li>
|
<li>ApiClient</li>
|
||||||
<li>ApiException</li>
|
<li>ApiException</li>
|
||||||
<li>ApiResponse</li>
|
<li>ApiResponse</li>
|
||||||
|
<li>abstract</li>
|
||||||
|
<li>actual</li>
|
||||||
|
<li>annotation</li>
|
||||||
<li>as</li>
|
<li>as</li>
|
||||||
<li>break</li>
|
<li>break</li>
|
||||||
<li>class</li>
|
<li>class</li>
|
||||||
|
<li>companion</li>
|
||||||
|
<li>const</li>
|
||||||
|
<li>constructor</li>
|
||||||
<li>continue</li>
|
<li>continue</li>
|
||||||
|
<li>crossinline</li>
|
||||||
|
<li>data</li>
|
||||||
|
<li>delegate</li>
|
||||||
<li>do</li>
|
<li>do</li>
|
||||||
|
<li>dynamic</li>
|
||||||
<li>else</li>
|
<li>else</li>
|
||||||
|
<li>enum</li>
|
||||||
|
<li>expect</li>
|
||||||
<li>external</li>
|
<li>external</li>
|
||||||
<li>false</li>
|
<li>false</li>
|
||||||
|
<li>field</li>
|
||||||
|
<li>final</li>
|
||||||
|
<li>finally</li>
|
||||||
<li>for</li>
|
<li>for</li>
|
||||||
<li>fun</li>
|
<li>fun</li>
|
||||||
<li>if</li>
|
<li>if</li>
|
||||||
|
<li>import</li>
|
||||||
<li>in</li>
|
<li>in</li>
|
||||||
|
<li>infix</li>
|
||||||
|
<li>init</li>
|
||||||
|
<li>inline</li>
|
||||||
|
<li>inner</li>
|
||||||
<li>interface</li>
|
<li>interface</li>
|
||||||
<li>internal</li>
|
<li>internal</li>
|
||||||
<li>is</li>
|
<li>is</li>
|
||||||
|
<li>it</li>
|
||||||
|
<li>lateinit</li>
|
||||||
|
<li>noinline</li>
|
||||||
<li>null</li>
|
<li>null</li>
|
||||||
<li>object</li>
|
<li>object</li>
|
||||||
<li>open</li>
|
<li>open</li>
|
||||||
|
<li>operator</li>
|
||||||
|
<li>out</li>
|
||||||
|
<li>override</li>
|
||||||
<li>package</li>
|
<li>package</li>
|
||||||
|
<li>param</li>
|
||||||
<li>private</li>
|
<li>private</li>
|
||||||
|
<li>property</li>
|
||||||
|
<li>protected</li>
|
||||||
|
<li>public</li>
|
||||||
|
<li>receiver</li>
|
||||||
|
<li>reified</li>
|
||||||
<li>return</li>
|
<li>return</li>
|
||||||
|
<li>sealed</li>
|
||||||
|
<li>setparam</li>
|
||||||
<li>super</li>
|
<li>super</li>
|
||||||
|
<li>suspend</li>
|
||||||
|
<li>tailrec</li>
|
||||||
<li>this</li>
|
<li>this</li>
|
||||||
<li>throw</li>
|
<li>throw</li>
|
||||||
<li>true</li>
|
<li>true</li>
|
||||||
@ -116,8 +152,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
<li>typealias</li>
|
<li>typealias</li>
|
||||||
<li>typeof</li>
|
<li>typeof</li>
|
||||||
<li>val</li>
|
<li>val</li>
|
||||||
|
<li>value</li>
|
||||||
<li>var</li>
|
<li>var</li>
|
||||||
|
<li>vararg</li>
|
||||||
<li>when</li>
|
<li>when</li>
|
||||||
|
<li>where</li>
|
||||||
<li>while</li>
|
<li>while</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -68,28 +68,64 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
## RESERVED WORDS
|
## RESERVED WORDS
|
||||||
|
|
||||||
<ul class="column-ul">
|
<ul class="column-ul">
|
||||||
|
<li>abstract</li>
|
||||||
|
<li>actual</li>
|
||||||
|
<li>annotation</li>
|
||||||
<li>as</li>
|
<li>as</li>
|
||||||
<li>break</li>
|
<li>break</li>
|
||||||
<li>class</li>
|
<li>class</li>
|
||||||
|
<li>companion</li>
|
||||||
|
<li>const</li>
|
||||||
|
<li>constructor</li>
|
||||||
<li>continue</li>
|
<li>continue</li>
|
||||||
|
<li>crossinline</li>
|
||||||
|
<li>data</li>
|
||||||
|
<li>delegate</li>
|
||||||
<li>do</li>
|
<li>do</li>
|
||||||
|
<li>dynamic</li>
|
||||||
<li>else</li>
|
<li>else</li>
|
||||||
|
<li>enum</li>
|
||||||
|
<li>expect</li>
|
||||||
<li>external</li>
|
<li>external</li>
|
||||||
<li>false</li>
|
<li>false</li>
|
||||||
|
<li>field</li>
|
||||||
|
<li>final</li>
|
||||||
|
<li>finally</li>
|
||||||
<li>for</li>
|
<li>for</li>
|
||||||
<li>fun</li>
|
<li>fun</li>
|
||||||
<li>if</li>
|
<li>if</li>
|
||||||
|
<li>import</li>
|
||||||
<li>in</li>
|
<li>in</li>
|
||||||
|
<li>infix</li>
|
||||||
|
<li>init</li>
|
||||||
|
<li>inline</li>
|
||||||
|
<li>inner</li>
|
||||||
<li>interface</li>
|
<li>interface</li>
|
||||||
<li>internal</li>
|
<li>internal</li>
|
||||||
<li>is</li>
|
<li>is</li>
|
||||||
|
<li>it</li>
|
||||||
|
<li>lateinit</li>
|
||||||
|
<li>noinline</li>
|
||||||
<li>null</li>
|
<li>null</li>
|
||||||
<li>object</li>
|
<li>object</li>
|
||||||
<li>open</li>
|
<li>open</li>
|
||||||
|
<li>operator</li>
|
||||||
|
<li>out</li>
|
||||||
|
<li>override</li>
|
||||||
<li>package</li>
|
<li>package</li>
|
||||||
|
<li>param</li>
|
||||||
<li>private</li>
|
<li>private</li>
|
||||||
|
<li>property</li>
|
||||||
|
<li>protected</li>
|
||||||
|
<li>public</li>
|
||||||
|
<li>receiver</li>
|
||||||
|
<li>reified</li>
|
||||||
<li>return</li>
|
<li>return</li>
|
||||||
|
<li>sealed</li>
|
||||||
|
<li>setparam</li>
|
||||||
<li>super</li>
|
<li>super</li>
|
||||||
|
<li>suspend</li>
|
||||||
|
<li>tailrec</li>
|
||||||
<li>this</li>
|
<li>this</li>
|
||||||
<li>throw</li>
|
<li>throw</li>
|
||||||
<li>true</li>
|
<li>true</li>
|
||||||
@ -97,8 +133,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
<li>typealias</li>
|
<li>typealias</li>
|
||||||
<li>typeof</li>
|
<li>typeof</li>
|
||||||
<li>val</li>
|
<li>val</li>
|
||||||
|
<li>value</li>
|
||||||
<li>var</li>
|
<li>var</li>
|
||||||
|
<li>vararg</li>
|
||||||
<li>when</li>
|
<li>when</li>
|
||||||
|
<li>where</li>
|
||||||
<li>while</li>
|
<li>while</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -78,28 +78,64 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
## RESERVED WORDS
|
## RESERVED WORDS
|
||||||
|
|
||||||
<ul class="column-ul">
|
<ul class="column-ul">
|
||||||
|
<li>abstract</li>
|
||||||
|
<li>actual</li>
|
||||||
|
<li>annotation</li>
|
||||||
<li>as</li>
|
<li>as</li>
|
||||||
<li>break</li>
|
<li>break</li>
|
||||||
<li>class</li>
|
<li>class</li>
|
||||||
|
<li>companion</li>
|
||||||
|
<li>const</li>
|
||||||
|
<li>constructor</li>
|
||||||
<li>continue</li>
|
<li>continue</li>
|
||||||
|
<li>crossinline</li>
|
||||||
|
<li>data</li>
|
||||||
|
<li>delegate</li>
|
||||||
<li>do</li>
|
<li>do</li>
|
||||||
|
<li>dynamic</li>
|
||||||
<li>else</li>
|
<li>else</li>
|
||||||
|
<li>enum</li>
|
||||||
|
<li>expect</li>
|
||||||
<li>external</li>
|
<li>external</li>
|
||||||
<li>false</li>
|
<li>false</li>
|
||||||
|
<li>field</li>
|
||||||
|
<li>final</li>
|
||||||
|
<li>finally</li>
|
||||||
<li>for</li>
|
<li>for</li>
|
||||||
<li>fun</li>
|
<li>fun</li>
|
||||||
<li>if</li>
|
<li>if</li>
|
||||||
|
<li>import</li>
|
||||||
<li>in</li>
|
<li>in</li>
|
||||||
|
<li>infix</li>
|
||||||
|
<li>init</li>
|
||||||
|
<li>inline</li>
|
||||||
|
<li>inner</li>
|
||||||
<li>interface</li>
|
<li>interface</li>
|
||||||
<li>internal</li>
|
<li>internal</li>
|
||||||
<li>is</li>
|
<li>is</li>
|
||||||
|
<li>it</li>
|
||||||
|
<li>lateinit</li>
|
||||||
|
<li>noinline</li>
|
||||||
<li>null</li>
|
<li>null</li>
|
||||||
<li>object</li>
|
<li>object</li>
|
||||||
<li>open</li>
|
<li>open</li>
|
||||||
|
<li>operator</li>
|
||||||
|
<li>out</li>
|
||||||
|
<li>override</li>
|
||||||
<li>package</li>
|
<li>package</li>
|
||||||
|
<li>param</li>
|
||||||
<li>private</li>
|
<li>private</li>
|
||||||
|
<li>property</li>
|
||||||
|
<li>protected</li>
|
||||||
|
<li>public</li>
|
||||||
|
<li>receiver</li>
|
||||||
|
<li>reified</li>
|
||||||
<li>return</li>
|
<li>return</li>
|
||||||
|
<li>sealed</li>
|
||||||
|
<li>setparam</li>
|
||||||
<li>super</li>
|
<li>super</li>
|
||||||
|
<li>suspend</li>
|
||||||
|
<li>tailrec</li>
|
||||||
<li>this</li>
|
<li>this</li>
|
||||||
<li>throw</li>
|
<li>throw</li>
|
||||||
<li>true</li>
|
<li>true</li>
|
||||||
@ -107,8 +143,11 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
<li>typealias</li>
|
<li>typealias</li>
|
||||||
<li>typeof</li>
|
<li>typeof</li>
|
||||||
<li>val</li>
|
<li>val</li>
|
||||||
|
<li>value</li>
|
||||||
<li>var</li>
|
<li>var</li>
|
||||||
|
<li>vararg</li>
|
||||||
<li>when</li>
|
<li>when</li>
|
||||||
|
<li>where</li>
|
||||||
<li>while</li>
|
<li>while</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -99,24 +99,64 @@ public abstract class AbstractKotlinCodegen extends DefaultCodegen implements Co
|
|||||||
// this includes hard reserved words defined by https://github.com/JetBrains/kotlin/blob/master/core/descriptors/src/org/jetbrains/kotlin/renderer/KeywordStringsGenerated.java
|
// this includes hard reserved words defined by https://github.com/JetBrains/kotlin/blob/master/core/descriptors/src/org/jetbrains/kotlin/renderer/KeywordStringsGenerated.java
|
||||||
// as well as keywords from https://kotlinlang.org/docs/reference/keyword-reference.html
|
// as well as keywords from https://kotlinlang.org/docs/reference/keyword-reference.html
|
||||||
reservedWords = new HashSet<String>(Arrays.asList(
|
reservedWords = new HashSet<String>(Arrays.asList(
|
||||||
|
"abstract",
|
||||||
|
"actual",
|
||||||
|
"annotation",
|
||||||
"as",
|
"as",
|
||||||
"break",
|
"break",
|
||||||
"class",
|
"class",
|
||||||
|
"companion",
|
||||||
|
"const",
|
||||||
|
"constructor",
|
||||||
"continue",
|
"continue",
|
||||||
|
"crossinline",
|
||||||
|
"data",
|
||||||
|
"delegate",
|
||||||
"do",
|
"do",
|
||||||
|
"dynamic",
|
||||||
"else",
|
"else",
|
||||||
|
"enum",
|
||||||
|
"expect",
|
||||||
|
"external",
|
||||||
"false",
|
"false",
|
||||||
|
"field",
|
||||||
|
"final",
|
||||||
|
"finally",
|
||||||
"for",
|
"for",
|
||||||
"fun",
|
"fun",
|
||||||
"if",
|
"if",
|
||||||
|
"import",
|
||||||
"in",
|
"in",
|
||||||
|
"infix",
|
||||||
|
"init",
|
||||||
|
"inline",
|
||||||
|
"inner",
|
||||||
"interface",
|
"interface",
|
||||||
|
"internal",
|
||||||
"is",
|
"is",
|
||||||
|
"it",
|
||||||
|
"lateinit",
|
||||||
|
"noinline",
|
||||||
"null",
|
"null",
|
||||||
"object",
|
"object",
|
||||||
|
"open",
|
||||||
|
"operator",
|
||||||
|
"out",
|
||||||
|
"override",
|
||||||
"package",
|
"package",
|
||||||
|
"param",
|
||||||
|
"private",
|
||||||
|
"property",
|
||||||
|
"protected",
|
||||||
|
"public",
|
||||||
|
"receiver",
|
||||||
|
"reified",
|
||||||
"return",
|
"return",
|
||||||
|
"sealed",
|
||||||
|
"setparam",
|
||||||
"super",
|
"super",
|
||||||
|
"suspend",
|
||||||
|
"tailrec",
|
||||||
"this",
|
"this",
|
||||||
"throw",
|
"throw",
|
||||||
"true",
|
"true",
|
||||||
@ -124,13 +164,12 @@ public abstract class AbstractKotlinCodegen extends DefaultCodegen implements Co
|
|||||||
"typealias",
|
"typealias",
|
||||||
"typeof",
|
"typeof",
|
||||||
"val",
|
"val",
|
||||||
|
"value",
|
||||||
"var",
|
"var",
|
||||||
|
"vararg",
|
||||||
"when",
|
"when",
|
||||||
"while",
|
"where",
|
||||||
"private",
|
"while"
|
||||||
"open",
|
|
||||||
"external",
|
|
||||||
"internal"
|
|
||||||
));
|
));
|
||||||
|
|
||||||
defaultIncludes = new HashSet<String>(Arrays.asList(
|
defaultIncludes = new HashSet<String>(Arrays.asList(
|
||||||
|
@ -38,6 +38,7 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* {{{description}}}
|
* {{{description}}}
|
||||||
|
*
|
||||||
{{#allVars}}
|
{{#allVars}}
|
||||||
* @param {{{name}}} {{{description}}}
|
* @param {{{name}}} {{{description}}}
|
||||||
{{/allVars}}
|
{{/allVars}}
|
||||||
@ -50,8 +51,10 @@ import java.io.Serializable
|
|||||||
@Deprecated(message = "This schema is deprecated.")
|
@Deprecated(message = "This schema is deprecated.")
|
||||||
{{/isDeprecated}}
|
{{/isDeprecated}}
|
||||||
{{#nonPublicApi}}internal {{/nonPublicApi}}{{#discriminator}}interface{{/discriminator}}{{^discriminator}}data class{{/discriminator}} {{classname}}{{^discriminator}} (
|
{{#nonPublicApi}}internal {{/nonPublicApi}}{{#discriminator}}interface{{/discriminator}}{{^discriminator}}data class{{/discriminator}} {{classname}}{{^discriminator}} (
|
||||||
|
|
||||||
{{#allVars}}
|
{{#allVars}}
|
||||||
{{#required}}{{>data_class_req_var}}{{/required}}{{^required}}{{>data_class_opt_var}}{{/required}}{{^-last}},{{/-last}}
|
{{#required}}{{>data_class_req_var}}{{/required}}{{^required}}{{>data_class_opt_var}}{{/required}}{{^-last}},{{/-last}}
|
||||||
|
|
||||||
{{/allVars}}
|
{{/allVars}}
|
||||||
){{/discriminator}}{{#parent}}{{^serializableModel}}{{^parcelizeModels}} : {{{parent}}}{{#isMap}}(){{/isMap}}{{#isArray}}(){{/isArray}}{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{#parent}}{{#serializableModel}}{{^parcelizeModels}} : {{{parent}}}{{#isMap}}(){{/isMap}}{{#isArray}}(){{/isArray}}, Serializable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{#parent}}{{^serializableModel}}{{#parcelizeModels}} : {{{parent}}}{{#isMap}}(){{/isMap}}{{#isArray}}(){{/isArray}}, Parcelable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{#parent}}{{#serializableModel}}{{#parcelizeModels}} : {{{parent}}}{{#isMap}}(){{/isMap}}{{#isArray}}(){{/isArray}}, Serializable, Parcelable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{^parent}}{{#serializableModel}}{{^parcelizeModels}} : Serializable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{^parent}}{{^serializableModel}}{{#parcelizeModels}} : Parcelable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{^parent}}{{#serializableModel}}{{#parcelizeModels}} : Serializable, Parcelable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{#vendorExtensions.x-has-data-class-body}} {
|
){{/discriminator}}{{#parent}}{{^serializableModel}}{{^parcelizeModels}} : {{{parent}}}{{#isMap}}(){{/isMap}}{{#isArray}}(){{/isArray}}{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{#parent}}{{#serializableModel}}{{^parcelizeModels}} : {{{parent}}}{{#isMap}}(){{/isMap}}{{#isArray}}(){{/isArray}}, Serializable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{#parent}}{{^serializableModel}}{{#parcelizeModels}} : {{{parent}}}{{#isMap}}(){{/isMap}}{{#isArray}}(){{/isArray}}, Parcelable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{#parent}}{{#serializableModel}}{{#parcelizeModels}} : {{{parent}}}{{#isMap}}(){{/isMap}}{{#isArray}}(){{/isArray}}, Serializable, Parcelable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{^parent}}{{#serializableModel}}{{^parcelizeModels}} : Serializable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{^parent}}{{^serializableModel}}{{#parcelizeModels}} : Parcelable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{^parent}}{{#serializableModel}}{{#parcelizeModels}} : Serializable, Parcelable{{/parcelizeModels}}{{/serializableModel}}{{/parent}}{{#vendorExtensions.x-has-data-class-body}} {
|
||||||
{{/vendorExtensions.x-has-data-class-body}}
|
{{/vendorExtensions.x-has-data-class-body}}
|
||||||
@ -68,6 +71,7 @@ import java.io.Serializable
|
|||||||
{{#isEnum}}
|
{{#isEnum}}
|
||||||
/**
|
/**
|
||||||
* {{{description}}}
|
* {{{description}}}
|
||||||
|
*
|
||||||
* Values: {{#allowableValues}}{{#enumVars}}{{&name}}{{^-last}},{{/-last}}{{/enumVars}}{{/allowableValues}}
|
* Values: {{#allowableValues}}{{#enumVars}}{{&name}}{{^-last}},{{/-last}}{{/enumVars}}{{/allowableValues}}
|
||||||
*/
|
*/
|
||||||
{{^multiplatform}}
|
{{^multiplatform}}
|
||||||
|
@ -18,4 +18,4 @@
|
|||||||
{{#deprecated}}
|
{{#deprecated}}
|
||||||
@Deprecated(message = "This property is deprecated.")
|
@Deprecated(message = "This property is deprecated.")
|
||||||
{{/deprecated}}
|
{{/deprecated}}
|
||||||
{{#multiplatform}}@SerialName(value = "{{{vendorExtensions.x-base-name-literal}}}") @Required {{/multiplatform}}{{#isInherited}}override {{/isInherited}}{{>modelMutable}} {{{name}}}: {{#isArray}}{{#isList}}{{#isUniqueItems}}kotlin.collections.Set{{/isUniqueItems}}{{^isUniqueItems}}kotlin.collections.List{{/isUniqueItems}}{{/isList}}{{^isList}}kotlin.Array{{/isList}}<{{^items.isEnum}}{{^items.isPrimitiveType}}{{^items.isModel}}{{#kotlinx_serialization}}@Contextual {{/kotlinx_serialization}}{{/items.isModel}}{{/items.isPrimitiveType}}{{{items.dataType}}}{{/items.isEnum}}{{#items.isEnum}}{{classname}}.{{{nameInCamelCase}}}{{/items.isEnum}}>{{/isArray}}{{^isEnum}}{{^isArray}}{{{dataType}}}{{/isArray}}{{/isEnum}}{{#isEnum}}{{^isArray}}{{classname}}.{{{nameInCamelCase}}}{{/isArray}}{{/isEnum}}{{#isNullable}}?{{/isNullable}}
|
{{#multiplatform}}@SerialName(value = "{{{vendorExtensions.x-base-name-literal}}}") @Required {{/multiplatform}}{{#isInherited}}override {{/isInherited}}{{>modelMutable}} {{{name}}}: {{#isArray}}{{#isList}}{{#isUniqueItems}}kotlin.collections.Set{{/isUniqueItems}}{{^isUniqueItems}}kotlin.collections.List{{/isUniqueItems}}{{/isList}}{{^isList}}kotlin.Array{{/isList}}<{{^items.isEnum}}{{^items.isPrimitiveType}}{{^items.isModel}}{{#kotlinx_serialization}}@Contextual {{/kotlinx_serialization}}{{/items.isModel}}{{/items.isPrimitiveType}}{{{items.dataType}}}{{/items.isEnum}}{{#items.isEnum}}{{classname}}.{{{nameInCamelCase}}}{{/items.isEnum}}>{{/isArray}}{{^isEnum}}{{^isArray}}{{{dataType}}}{{/isArray}}{{/isEnum}}{{#isEnum}}{{^isArray}}{{classname}}.{{{nameInCamelCase}}}{{/isArray}}{{/isEnum}}{{#isNullable}}?{{/isNullable}}{{#defaultValue}} = {{{defaultValue}}}{{/defaultValue}}
|
@ -18,13 +18,12 @@ import kotlinx.serialization.*
|
|||||||
{{/multiplatform}}
|
{{/multiplatform}}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {{{description}}}
|
* {{{description}}}
|
||||||
* Values: {{#allowableValues}}{{#enumVars}}{{&name}}{{^-last}},{{/-last}}{{/enumVars}}{{/allowableValues}}
|
*
|
||||||
*/
|
* Values: {{#allowableValues}}{{#enumVars}}{{&name}}{{^-last}},{{/-last}}{{/enumVars}}{{/allowableValues}}
|
||||||
|
*/
|
||||||
{{#multiplatform}}@Serializable{{/multiplatform}}{{#kotlinx_serialization}}@Serializable{{/kotlinx_serialization}}
|
{{#multiplatform}}@Serializable(with = {{classname}}.Serializer::class){{/multiplatform}}{{#kotlinx_serialization}}@Serializable{{/kotlinx_serialization}}
|
||||||
{{#nonPublicApi}}internal {{/nonPublicApi}}enum class {{classname}}(val value: {{{dataType}}}) {
|
{{#nonPublicApi}}internal {{/nonPublicApi}}enum class {{classname}}(val value: {{{dataType}}}) {
|
||||||
|
|
||||||
{{#allowableValues}}{{#enumVars}}
|
{{#allowableValues}}{{#enumVars}}
|
||||||
{{^multiplatform}}
|
{{^multiplatform}}
|
||||||
{{#moshi}}
|
{{#moshi}}
|
||||||
@ -55,12 +54,29 @@ import kotlinx.serialization.*
|
|||||||
{{&name}}({{{value}}}){{^-last}},{{/-last}}{{#-last}};{{/-last}}
|
{{&name}}({{{value}}}){{^-last}},{{/-last}}{{#-last}};{{/-last}}
|
||||||
{{/isArray}}
|
{{/isArray}}
|
||||||
{{/enumVars}}{{/allowableValues}}
|
{{/enumVars}}{{/allowableValues}}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This override toString avoids using the enum var name and uses the actual api value instead.
|
* Override toString() to avoid using the enum variable name as the value, and instead use
|
||||||
In cases the var name and value are different, the client would send incorrect enums to the server.
|
* the actual value defined in the API spec file.
|
||||||
**/
|
*
|
||||||
override fun toString(): String {
|
* This solves a problem when the variable name and its value are different, and ensures that
|
||||||
return value{{^isString}}.toString(){{/isString}}
|
* the client sends the correct enum values to the server always.
|
||||||
|
*/
|
||||||
|
override fun toString(): String = value{{^isString}}.toString(){{/isString}}
|
||||||
|
|
||||||
|
companion object {
|
||||||
|
/**
|
||||||
|
* Converts the provided [data] to a [String] on success, null otherwise.
|
||||||
|
*/
|
||||||
|
fun encode(data: Any?): kotlin.String? = if (data is {{classname}}) "$data" else null
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a valid [{{classname}}] for [data], null otherwise.
|
||||||
|
*/
|
||||||
|
fun decode(data: Any?): {{classname}}? = data?.let {
|
||||||
|
val normalizedData = "$it".lowercase()
|
||||||
|
values().firstOrNull { value ->
|
||||||
|
it == value || normalizedData == "$value".lowercase()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ class HttpBearerAuth(
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun upperCaseBearer(): String {
|
private fun upperCaseBearer(): String {
|
||||||
return if (schema.toLowerCase().equals("bearer")) "Bearer" else schema
|
return if (schema.lowercase().equals("bearer")) "Bearer" else schema
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,19 @@
|
|||||||
/**
|
/**
|
||||||
* {{{appName}}}
|
* {{{appName}}}
|
||||||
* {{{appDescription}}}
|
*
|
||||||
*
|
* {{{appDescription}}}
|
||||||
* {{#version}}The version of the OpenAPI document: {{{version}}}{{/version}}
|
*
|
||||||
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
|
* {{#version}}The version of the OpenAPI document: {{{version}}}{{/version}}
|
||||||
*
|
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.ApiResponse
|
import org.openapitools.client.models.ApiResponse
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.Order
|
import org.openapitools.client.models.Order
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.User
|
import org.openapitools.client.models.User
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,17 +25,22 @@ import com.google.gson.annotations.SerializedName
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Describes the result of uploading an image resource
|
* Describes the result of uploading an image resource
|
||||||
|
*
|
||||||
* @param code
|
* @param code
|
||||||
* @param type
|
* @param type
|
||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class ApiResponse (
|
data class ApiResponse (
|
||||||
|
|
||||||
@SerializedName("code")
|
@SerializedName("code")
|
||||||
val code: kotlin.Int? = null,
|
val code: kotlin.Int? = null,
|
||||||
|
|
||||||
@SerializedName("type")
|
@SerializedName("type")
|
||||||
val type: kotlin.String? = null,
|
val type: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("message")
|
@SerializedName("message")
|
||||||
val message: kotlin.String? = null
|
val message: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,14 +25,18 @@ import com.google.gson.annotations.SerializedName
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A category for a pet
|
* A category for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class Category (
|
data class Category (
|
||||||
|
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("name")
|
@SerializedName("name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,6 +25,7 @@ import com.google.gson.annotations.SerializedName
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An order for a pets from the pet store
|
* An order for a pets from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param petId
|
* @param petId
|
||||||
* @param quantity
|
* @param quantity
|
||||||
@ -25,23 +35,31 @@ import com.google.gson.annotations.SerializedName
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class Order (
|
data class Order (
|
||||||
|
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("petId")
|
@SerializedName("petId")
|
||||||
val petId: kotlin.Long? = null,
|
val petId: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("quantity")
|
@SerializedName("quantity")
|
||||||
val quantity: kotlin.Int? = null,
|
val quantity: kotlin.Int? = null,
|
||||||
|
|
||||||
@SerializedName("shipDate")
|
@SerializedName("shipDate")
|
||||||
val shipDate: java.time.OffsetDateTime? = null,
|
val shipDate: java.time.OffsetDateTime? = null,
|
||||||
|
|
||||||
/* Order Status */
|
/* Order Status */
|
||||||
@SerializedName("status")
|
@SerializedName("status")
|
||||||
val status: Order.Status? = null,
|
val status: Order.Status? = null,
|
||||||
|
|
||||||
@SerializedName("complete")
|
@SerializedName("complete")
|
||||||
val complete: kotlin.Boolean? = null
|
val complete: kotlin.Boolean? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
|
*
|
||||||
* Values: placed,approved,delivered
|
* Values: placed,approved,delivered
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
import org.openapitools.client.models.Category
|
import org.openapitools.client.models.Category
|
||||||
@ -18,6 +27,7 @@ import com.google.gson.annotations.SerializedName
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A pet for sale in the pet store
|
* A pet for sale in the pet store
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* @param photoUrls
|
* @param photoUrls
|
||||||
* @param id
|
* @param id
|
||||||
@ -27,23 +37,31 @@ import com.google.gson.annotations.SerializedName
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class Pet (
|
data class Pet (
|
||||||
|
|
||||||
@SerializedName("name")
|
@SerializedName("name")
|
||||||
val name: kotlin.String,
|
val name: kotlin.String,
|
||||||
|
|
||||||
@SerializedName("photoUrls")
|
@SerializedName("photoUrls")
|
||||||
val photoUrls: kotlin.collections.List<kotlin.String>,
|
val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||||
|
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("category")
|
@SerializedName("category")
|
||||||
val category: Category? = null,
|
val category: Category? = null,
|
||||||
|
|
||||||
@SerializedName("tags")
|
@SerializedName("tags")
|
||||||
val tags: kotlin.collections.List<Tag>? = null,
|
val tags: kotlin.collections.List<Tag>? = null,
|
||||||
|
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
@SerializedName("status")
|
@SerializedName("status")
|
||||||
val status: Pet.Status? = null
|
val status: Pet.Status? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
*
|
||||||
* Values: available,pending,sold
|
* Values: available,pending,sold
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,14 +25,18 @@ import com.google.gson.annotations.SerializedName
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A tag for a pet
|
* A tag for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class Tag (
|
data class Tag (
|
||||||
|
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("name")
|
@SerializedName("name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,6 +25,7 @@ import com.google.gson.annotations.SerializedName
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A User who is purchasing from the pet store
|
* A User who is purchasing from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param username
|
* @param username
|
||||||
* @param firstName
|
* @param firstName
|
||||||
@ -27,22 +37,31 @@ import com.google.gson.annotations.SerializedName
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class User (
|
data class User (
|
||||||
|
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("username")
|
@SerializedName("username")
|
||||||
val username: kotlin.String? = null,
|
val username: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("firstName")
|
@SerializedName("firstName")
|
||||||
val firstName: kotlin.String? = null,
|
val firstName: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("lastName")
|
@SerializedName("lastName")
|
||||||
val lastName: kotlin.String? = null,
|
val lastName: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("email")
|
@SerializedName("email")
|
||||||
val email: kotlin.String? = null,
|
val email: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("password")
|
@SerializedName("password")
|
||||||
val password: kotlin.String? = null,
|
val password: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("phone")
|
@SerializedName("phone")
|
||||||
val phone: kotlin.String? = null,
|
val phone: kotlin.String? = null,
|
||||||
|
|
||||||
/* User Status */
|
/* User Status */
|
||||||
@SerializedName("userStatus")
|
@SerializedName("userStatus")
|
||||||
val userStatus: kotlin.Int? = null
|
val userStatus: kotlin.Int? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.ApiResponse
|
import org.openapitools.client.models.ApiResponse
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.Order
|
import org.openapitools.client.models.Order
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.User
|
import org.openapitools.client.models.User
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,17 +25,22 @@ import com.fasterxml.jackson.annotation.JsonProperty
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Describes the result of uploading an image resource
|
* Describes the result of uploading an image resource
|
||||||
|
*
|
||||||
* @param code
|
* @param code
|
||||||
* @param type
|
* @param type
|
||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class ApiResponse (
|
data class ApiResponse (
|
||||||
|
|
||||||
@field:JsonProperty("code")
|
@field:JsonProperty("code")
|
||||||
val code: kotlin.Int? = null,
|
val code: kotlin.Int? = null,
|
||||||
|
|
||||||
@field:JsonProperty("type")
|
@field:JsonProperty("type")
|
||||||
val type: kotlin.String? = null,
|
val type: kotlin.String? = null,
|
||||||
|
|
||||||
@field:JsonProperty("message")
|
@field:JsonProperty("message")
|
||||||
val message: kotlin.String? = null
|
val message: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,14 +25,18 @@ import com.fasterxml.jackson.annotation.JsonProperty
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A category for a pet
|
* A category for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class Category (
|
data class Category (
|
||||||
|
|
||||||
@field:JsonProperty("id")
|
@field:JsonProperty("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@field:JsonProperty("name")
|
@field:JsonProperty("name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,6 +25,7 @@ import com.fasterxml.jackson.annotation.JsonProperty
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An order for a pets from the pet store
|
* An order for a pets from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param petId
|
* @param petId
|
||||||
* @param quantity
|
* @param quantity
|
||||||
@ -25,23 +35,31 @@ import com.fasterxml.jackson.annotation.JsonProperty
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class Order (
|
data class Order (
|
||||||
|
|
||||||
@field:JsonProperty("id")
|
@field:JsonProperty("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@field:JsonProperty("petId")
|
@field:JsonProperty("petId")
|
||||||
val petId: kotlin.Long? = null,
|
val petId: kotlin.Long? = null,
|
||||||
|
|
||||||
@field:JsonProperty("quantity")
|
@field:JsonProperty("quantity")
|
||||||
val quantity: kotlin.Int? = null,
|
val quantity: kotlin.Int? = null,
|
||||||
|
|
||||||
@field:JsonProperty("shipDate")
|
@field:JsonProperty("shipDate")
|
||||||
val shipDate: java.time.OffsetDateTime? = null,
|
val shipDate: java.time.OffsetDateTime? = null,
|
||||||
|
|
||||||
/* Order Status */
|
/* Order Status */
|
||||||
@field:JsonProperty("status")
|
@field:JsonProperty("status")
|
||||||
val status: Order.Status? = null,
|
val status: Order.Status? = null,
|
||||||
|
|
||||||
@field:JsonProperty("complete")
|
@field:JsonProperty("complete")
|
||||||
val complete: kotlin.Boolean? = null
|
val complete: kotlin.Boolean? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
|
*
|
||||||
* Values: PLACED,APPROVED,DELIVERED
|
* Values: PLACED,APPROVED,DELIVERED
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
import org.openapitools.client.models.Category
|
import org.openapitools.client.models.Category
|
||||||
@ -18,6 +27,7 @@ import com.fasterxml.jackson.annotation.JsonProperty
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A pet for sale in the pet store
|
* A pet for sale in the pet store
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* @param photoUrls
|
* @param photoUrls
|
||||||
* @param id
|
* @param id
|
||||||
@ -27,23 +37,31 @@ import com.fasterxml.jackson.annotation.JsonProperty
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class Pet (
|
data class Pet (
|
||||||
|
|
||||||
@field:JsonProperty("name")
|
@field:JsonProperty("name")
|
||||||
val name: kotlin.String,
|
val name: kotlin.String,
|
||||||
|
|
||||||
@field:JsonProperty("photoUrls")
|
@field:JsonProperty("photoUrls")
|
||||||
val photoUrls: kotlin.collections.List<kotlin.String>,
|
val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||||
|
|
||||||
@field:JsonProperty("id")
|
@field:JsonProperty("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@field:JsonProperty("category")
|
@field:JsonProperty("category")
|
||||||
val category: Category? = null,
|
val category: Category? = null,
|
||||||
|
|
||||||
@field:JsonProperty("tags")
|
@field:JsonProperty("tags")
|
||||||
val tags: kotlin.collections.List<Tag>? = null,
|
val tags: kotlin.collections.List<Tag>? = null,
|
||||||
|
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
@field:JsonProperty("status")
|
@field:JsonProperty("status")
|
||||||
val status: Pet.Status? = null
|
val status: Pet.Status? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
*
|
||||||
* Values: AVAILABLE,PENDING,SOLD
|
* Values: AVAILABLE,PENDING,SOLD
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,14 +25,18 @@ import com.fasterxml.jackson.annotation.JsonProperty
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A tag for a pet
|
* A tag for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class Tag (
|
data class Tag (
|
||||||
|
|
||||||
@field:JsonProperty("id")
|
@field:JsonProperty("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@field:JsonProperty("name")
|
@field:JsonProperty("name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,6 +25,7 @@ import com.fasterxml.jackson.annotation.JsonProperty
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A User who is purchasing from the pet store
|
* A User who is purchasing from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param username
|
* @param username
|
||||||
* @param firstName
|
* @param firstName
|
||||||
@ -27,22 +37,31 @@ import com.fasterxml.jackson.annotation.JsonProperty
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class User (
|
data class User (
|
||||||
|
|
||||||
@field:JsonProperty("id")
|
@field:JsonProperty("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@field:JsonProperty("username")
|
@field:JsonProperty("username")
|
||||||
val username: kotlin.String? = null,
|
val username: kotlin.String? = null,
|
||||||
|
|
||||||
@field:JsonProperty("firstName")
|
@field:JsonProperty("firstName")
|
||||||
val firstName: kotlin.String? = null,
|
val firstName: kotlin.String? = null,
|
||||||
|
|
||||||
@field:JsonProperty("lastName")
|
@field:JsonProperty("lastName")
|
||||||
val lastName: kotlin.String? = null,
|
val lastName: kotlin.String? = null,
|
||||||
|
|
||||||
@field:JsonProperty("email")
|
@field:JsonProperty("email")
|
||||||
val email: kotlin.String? = null,
|
val email: kotlin.String? = null,
|
||||||
|
|
||||||
@field:JsonProperty("password")
|
@field:JsonProperty("password")
|
||||||
val password: kotlin.String? = null,
|
val password: kotlin.String? = null,
|
||||||
|
|
||||||
@field:JsonProperty("phone")
|
@field:JsonProperty("phone")
|
||||||
val phone: kotlin.String? = null,
|
val phone: kotlin.String? = null,
|
||||||
|
|
||||||
/* User Status */
|
/* User Status */
|
||||||
@field:JsonProperty("userStatus")
|
@field:JsonProperty("userStatus")
|
||||||
val userStatus: kotlin.Int? = null
|
val userStatus: kotlin.Int? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.ApiResponse
|
import org.openapitools.client.models.ApiResponse
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.Order
|
import org.openapitools.client.models.Order
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.User
|
import org.openapitools.client.models.User
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -18,6 +27,7 @@ import kotlinx.parcelize.Parcelize
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Describes the result of uploading an image resource
|
* Describes the result of uploading an image resource
|
||||||
|
*
|
||||||
* @param code
|
* @param code
|
||||||
* @param type
|
* @param type
|
||||||
* @param message
|
* @param message
|
||||||
@ -25,11 +35,15 @@ import kotlinx.parcelize.Parcelize
|
|||||||
@Parcelize
|
@Parcelize
|
||||||
|
|
||||||
data class ApiResponse (
|
data class ApiResponse (
|
||||||
|
|
||||||
@Json(name = "code")
|
@Json(name = "code")
|
||||||
val code: kotlin.Int? = null,
|
val code: kotlin.Int? = null,
|
||||||
|
|
||||||
@Json(name = "type")
|
@Json(name = "type")
|
||||||
val type: kotlin.String? = null,
|
val type: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "message")
|
@Json(name = "message")
|
||||||
val message: kotlin.String? = null
|
val message: kotlin.String? = null
|
||||||
|
|
||||||
) : Parcelable
|
) : Parcelable
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -18,15 +27,19 @@ import kotlinx.parcelize.Parcelize
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A category for a pet
|
* A category for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
@Parcelize
|
@Parcelize
|
||||||
|
|
||||||
data class Category (
|
data class Category (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
) : Parcelable
|
) : Parcelable
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -18,6 +27,7 @@ import kotlinx.parcelize.Parcelize
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An order for a pets from the pet store
|
* An order for a pets from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param petId
|
* @param petId
|
||||||
* @param quantity
|
* @param quantity
|
||||||
@ -28,23 +38,31 @@ import kotlinx.parcelize.Parcelize
|
|||||||
@Parcelize
|
@Parcelize
|
||||||
|
|
||||||
data class Order (
|
data class Order (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "petId")
|
@Json(name = "petId")
|
||||||
val petId: kotlin.Long? = null,
|
val petId: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "quantity")
|
@Json(name = "quantity")
|
||||||
val quantity: kotlin.Int? = null,
|
val quantity: kotlin.Int? = null,
|
||||||
|
|
||||||
@Json(name = "shipDate")
|
@Json(name = "shipDate")
|
||||||
val shipDate: java.time.OffsetDateTime? = null,
|
val shipDate: java.time.OffsetDateTime? = null,
|
||||||
|
|
||||||
/* Order Status */
|
/* Order Status */
|
||||||
@Json(name = "status")
|
@Json(name = "status")
|
||||||
val status: Order.Status? = null,
|
val status: Order.Status? = null,
|
||||||
|
|
||||||
@Json(name = "complete")
|
@Json(name = "complete")
|
||||||
val complete: kotlin.Boolean? = null
|
val complete: kotlin.Boolean? = null
|
||||||
|
|
||||||
) : Parcelable {
|
) : Parcelable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
|
*
|
||||||
* Values: placed,approved,delivered
|
* Values: placed,approved,delivered
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
import org.openapitools.client.models.Category
|
import org.openapitools.client.models.Category
|
||||||
@ -20,6 +29,7 @@ import kotlinx.parcelize.Parcelize
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A pet for sale in the pet store
|
* A pet for sale in the pet store
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* @param photoUrls
|
* @param photoUrls
|
||||||
* @param id
|
* @param id
|
||||||
@ -30,23 +40,31 @@ import kotlinx.parcelize.Parcelize
|
|||||||
@Parcelize
|
@Parcelize
|
||||||
|
|
||||||
data class Pet (
|
data class Pet (
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String,
|
val name: kotlin.String,
|
||||||
|
|
||||||
@Json(name = "photoUrls")
|
@Json(name = "photoUrls")
|
||||||
val photoUrls: kotlin.collections.List<kotlin.String>,
|
val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "category")
|
@Json(name = "category")
|
||||||
val category: Category? = null,
|
val category: Category? = null,
|
||||||
|
|
||||||
@Json(name = "tags")
|
@Json(name = "tags")
|
||||||
val tags: kotlin.collections.List<Tag>? = null,
|
val tags: kotlin.collections.List<Tag>? = null,
|
||||||
|
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
@Json(name = "status")
|
@Json(name = "status")
|
||||||
val status: Pet.Status? = null
|
val status: Pet.Status? = null
|
||||||
|
|
||||||
) : Parcelable {
|
) : Parcelable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
*
|
||||||
* Values: available,pending,sold
|
* Values: available,pending,sold
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -18,15 +27,19 @@ import kotlinx.parcelize.Parcelize
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A tag for a pet
|
* A tag for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
@Parcelize
|
@Parcelize
|
||||||
|
|
||||||
data class Tag (
|
data class Tag (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
) : Parcelable
|
) : Parcelable
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -18,6 +27,7 @@ import kotlinx.parcelize.Parcelize
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A User who is purchasing from the pet store
|
* A User who is purchasing from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param username
|
* @param username
|
||||||
* @param firstName
|
* @param firstName
|
||||||
@ -30,22 +40,31 @@ import kotlinx.parcelize.Parcelize
|
|||||||
@Parcelize
|
@Parcelize
|
||||||
|
|
||||||
data class User (
|
data class User (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "username")
|
@Json(name = "username")
|
||||||
val username: kotlin.String? = null,
|
val username: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "firstName")
|
@Json(name = "firstName")
|
||||||
val firstName: kotlin.String? = null,
|
val firstName: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "lastName")
|
@Json(name = "lastName")
|
||||||
val lastName: kotlin.String? = null,
|
val lastName: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "email")
|
@Json(name = "email")
|
||||||
val email: kotlin.String? = null,
|
val email: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "password")
|
@Json(name = "password")
|
||||||
val password: kotlin.String? = null,
|
val password: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "phone")
|
@Json(name = "phone")
|
||||||
val phone: kotlin.String? = null,
|
val phone: kotlin.String? = null,
|
||||||
|
|
||||||
/* User Status */
|
/* User Status */
|
||||||
@Json(name = "userStatus")
|
@Json(name = "userStatus")
|
||||||
val userStatus: kotlin.Int? = null
|
val userStatus: kotlin.Int? = null
|
||||||
|
|
||||||
) : Parcelable
|
) : Parcelable
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.ApiResponse
|
import org.openapitools.client.models.ApiResponse
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.Order
|
import org.openapitools.client.models.Order
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.User
|
import org.openapitools.client.models.User
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,18 +26,23 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Describes the result of uploading an image resource
|
* Describes the result of uploading an image resource
|
||||||
|
*
|
||||||
* @param code
|
* @param code
|
||||||
* @param type
|
* @param type
|
||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class ApiResponse (
|
data class ApiResponse (
|
||||||
|
|
||||||
@SerializedName("code")
|
@SerializedName("code")
|
||||||
val code: kotlin.Int? = null,
|
val code: kotlin.Int? = null,
|
||||||
|
|
||||||
@SerializedName("type")
|
@SerializedName("type")
|
||||||
val type: kotlin.String? = null,
|
val type: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("message")
|
@SerializedName("message")
|
||||||
val message: kotlin.String? = null
|
val message: kotlin.String? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,15 +26,19 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A category for a pet
|
* A category for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class Category (
|
data class Category (
|
||||||
|
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("name")
|
@SerializedName("name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,6 +26,7 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An order for a pets from the pet store
|
* An order for a pets from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param petId
|
* @param petId
|
||||||
* @param quantity
|
* @param quantity
|
||||||
@ -26,19 +36,26 @@ import java.io.Serializable
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class Order (
|
data class Order (
|
||||||
|
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("petId")
|
@SerializedName("petId")
|
||||||
val petId: kotlin.Long? = null,
|
val petId: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("quantity")
|
@SerializedName("quantity")
|
||||||
val quantity: kotlin.Int? = null,
|
val quantity: kotlin.Int? = null,
|
||||||
|
|
||||||
@SerializedName("shipDate")
|
@SerializedName("shipDate")
|
||||||
val shipDate: java.time.OffsetDateTime? = null,
|
val shipDate: java.time.OffsetDateTime? = null,
|
||||||
|
|
||||||
/* Order Status */
|
/* Order Status */
|
||||||
@SerializedName("status")
|
@SerializedName("status")
|
||||||
val status: Order.Status? = null,
|
val status: Order.Status? = null,
|
||||||
|
|
||||||
@SerializedName("complete")
|
@SerializedName("complete")
|
||||||
val complete: kotlin.Boolean? = null
|
val complete: kotlin.Boolean? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
@ -46,6 +63,7 @@ data class Order (
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
|
*
|
||||||
* Values: placed,approved,delivered
|
* Values: placed,approved,delivered
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
import org.openapitools.client.models.Category
|
import org.openapitools.client.models.Category
|
||||||
@ -19,6 +28,7 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A pet for sale in the pet store
|
* A pet for sale in the pet store
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* @param photoUrls
|
* @param photoUrls
|
||||||
* @param id
|
* @param id
|
||||||
@ -28,19 +38,26 @@ import java.io.Serializable
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class Pet (
|
data class Pet (
|
||||||
|
|
||||||
@SerializedName("name")
|
@SerializedName("name")
|
||||||
val name: kotlin.String,
|
val name: kotlin.String,
|
||||||
|
|
||||||
@SerializedName("photoUrls")
|
@SerializedName("photoUrls")
|
||||||
val photoUrls: kotlin.collections.List<kotlin.String>,
|
val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||||
|
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("category")
|
@SerializedName("category")
|
||||||
val category: Category? = null,
|
val category: Category? = null,
|
||||||
|
|
||||||
@SerializedName("tags")
|
@SerializedName("tags")
|
||||||
val tags: kotlin.collections.List<Tag>? = null,
|
val tags: kotlin.collections.List<Tag>? = null,
|
||||||
|
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
@SerializedName("status")
|
@SerializedName("status")
|
||||||
val status: Pet.Status? = null
|
val status: Pet.Status? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
@ -48,6 +65,7 @@ data class Pet (
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
*
|
||||||
* Values: available,pending,sold
|
* Values: available,pending,sold
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,15 +26,19 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A tag for a pet
|
* A tag for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class Tag (
|
data class Tag (
|
||||||
|
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("name")
|
@SerializedName("name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,6 +26,7 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A User who is purchasing from the pet store
|
* A User who is purchasing from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param username
|
* @param username
|
||||||
* @param firstName
|
* @param firstName
|
||||||
@ -28,23 +38,32 @@ import java.io.Serializable
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class User (
|
data class User (
|
||||||
|
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerializedName("username")
|
@SerializedName("username")
|
||||||
val username: kotlin.String? = null,
|
val username: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("firstName")
|
@SerializedName("firstName")
|
||||||
val firstName: kotlin.String? = null,
|
val firstName: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("lastName")
|
@SerializedName("lastName")
|
||||||
val lastName: kotlin.String? = null,
|
val lastName: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("email")
|
@SerializedName("email")
|
||||||
val email: kotlin.String? = null,
|
val email: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("password")
|
@SerializedName("password")
|
||||||
val password: kotlin.String? = null,
|
val password: kotlin.String? = null,
|
||||||
|
|
||||||
@SerializedName("phone")
|
@SerializedName("phone")
|
||||||
val phone: kotlin.String? = null,
|
val phone: kotlin.String? = null,
|
||||||
|
|
||||||
/* User Status */
|
/* User Status */
|
||||||
@SerializedName("userStatus")
|
@SerializedName("userStatus")
|
||||||
val userStatus: kotlin.Int? = null
|
val userStatus: kotlin.Int? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.ApiResponse
|
import org.openapitools.client.models.ApiResponse
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.Order
|
import org.openapitools.client.models.Order
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.User
|
import org.openapitools.client.models.User
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,17 +26,22 @@ import com.squareup.moshi.JsonClass
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Describes the result of uploading an image resource
|
* Describes the result of uploading an image resource
|
||||||
|
*
|
||||||
* @param code
|
* @param code
|
||||||
* @param type
|
* @param type
|
||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
@JsonClass(generateAdapter = true)
|
@JsonClass(generateAdapter = true)
|
||||||
data class ApiResponse (
|
data class ApiResponse (
|
||||||
|
|
||||||
@Json(name = "code")
|
@Json(name = "code")
|
||||||
val code: kotlin.Int? = null,
|
val code: kotlin.Int? = null,
|
||||||
|
|
||||||
@Json(name = "type")
|
@Json(name = "type")
|
||||||
val type: kotlin.String? = null,
|
val type: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "message")
|
@Json(name = "message")
|
||||||
val message: kotlin.String? = null
|
val message: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,14 +26,18 @@ import com.squareup.moshi.JsonClass
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A category for a pet
|
* A category for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
@JsonClass(generateAdapter = true)
|
@JsonClass(generateAdapter = true)
|
||||||
data class Category (
|
data class Category (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,6 +26,7 @@ import com.squareup.moshi.JsonClass
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An order for a pets from the pet store
|
* An order for a pets from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param petId
|
* @param petId
|
||||||
* @param quantity
|
* @param quantity
|
||||||
@ -26,23 +36,31 @@ import com.squareup.moshi.JsonClass
|
|||||||
*/
|
*/
|
||||||
@JsonClass(generateAdapter = true)
|
@JsonClass(generateAdapter = true)
|
||||||
data class Order (
|
data class Order (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "petId")
|
@Json(name = "petId")
|
||||||
val petId: kotlin.Long? = null,
|
val petId: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "quantity")
|
@Json(name = "quantity")
|
||||||
val quantity: kotlin.Int? = null,
|
val quantity: kotlin.Int? = null,
|
||||||
|
|
||||||
@Json(name = "shipDate")
|
@Json(name = "shipDate")
|
||||||
val shipDate: java.time.OffsetDateTime? = null,
|
val shipDate: java.time.OffsetDateTime? = null,
|
||||||
|
|
||||||
/* Order Status */
|
/* Order Status */
|
||||||
@Json(name = "status")
|
@Json(name = "status")
|
||||||
val status: Order.Status? = null,
|
val status: Order.Status? = null,
|
||||||
|
|
||||||
@Json(name = "complete")
|
@Json(name = "complete")
|
||||||
val complete: kotlin.Boolean? = null
|
val complete: kotlin.Boolean? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
|
*
|
||||||
* Values: placed,approved,delivered
|
* Values: placed,approved,delivered
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
import org.openapitools.client.models.Category
|
import org.openapitools.client.models.Category
|
||||||
@ -19,6 +28,7 @@ import com.squareup.moshi.JsonClass
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A pet for sale in the pet store
|
* A pet for sale in the pet store
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* @param photoUrls
|
* @param photoUrls
|
||||||
* @param id
|
* @param id
|
||||||
@ -28,23 +38,31 @@ import com.squareup.moshi.JsonClass
|
|||||||
*/
|
*/
|
||||||
@JsonClass(generateAdapter = true)
|
@JsonClass(generateAdapter = true)
|
||||||
data class Pet (
|
data class Pet (
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String,
|
val name: kotlin.String,
|
||||||
|
|
||||||
@Json(name = "photoUrls")
|
@Json(name = "photoUrls")
|
||||||
val photoUrls: kotlin.collections.List<kotlin.String>,
|
val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "category")
|
@Json(name = "category")
|
||||||
val category: Category? = null,
|
val category: Category? = null,
|
||||||
|
|
||||||
@Json(name = "tags")
|
@Json(name = "tags")
|
||||||
val tags: kotlin.collections.List<Tag>? = null,
|
val tags: kotlin.collections.List<Tag>? = null,
|
||||||
|
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
@Json(name = "status")
|
@Json(name = "status")
|
||||||
val status: Pet.Status? = null
|
val status: Pet.Status? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
*
|
||||||
* Values: available,pending,sold
|
* Values: available,pending,sold
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,14 +26,18 @@ import com.squareup.moshi.JsonClass
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A tag for a pet
|
* A tag for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
@JsonClass(generateAdapter = true)
|
@JsonClass(generateAdapter = true)
|
||||||
data class Tag (
|
data class Tag (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,6 +26,7 @@ import com.squareup.moshi.JsonClass
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A User who is purchasing from the pet store
|
* A User who is purchasing from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param username
|
* @param username
|
||||||
* @param firstName
|
* @param firstName
|
||||||
@ -28,22 +38,31 @@ import com.squareup.moshi.JsonClass
|
|||||||
*/
|
*/
|
||||||
@JsonClass(generateAdapter = true)
|
@JsonClass(generateAdapter = true)
|
||||||
data class User (
|
data class User (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "username")
|
@Json(name = "username")
|
||||||
val username: kotlin.String? = null,
|
val username: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "firstName")
|
@Json(name = "firstName")
|
||||||
val firstName: kotlin.String? = null,
|
val firstName: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "lastName")
|
@Json(name = "lastName")
|
||||||
val lastName: kotlin.String? = null,
|
val lastName: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "email")
|
@Json(name = "email")
|
||||||
val email: kotlin.String? = null,
|
val email: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "password")
|
@Json(name = "password")
|
||||||
val password: kotlin.String? = null,
|
val password: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "phone")
|
@Json(name = "phone")
|
||||||
val phone: kotlin.String? = null,
|
val phone: kotlin.String? = null,
|
||||||
|
|
||||||
/* User Status */
|
/* User Status */
|
||||||
@Json(name = "userStatus")
|
@Json(name = "userStatus")
|
||||||
val userStatus: kotlin.Int? = null
|
val userStatus: kotlin.Int? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.ApiResponse
|
import org.openapitools.client.models.ApiResponse
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.Order
|
import org.openapitools.client.models.Order
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.User
|
import org.openapitools.client.models.User
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -18,14 +27,19 @@ import kotlinx.serialization.encoding.*
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Describes the result of uploading an image resource
|
* Describes the result of uploading an image resource
|
||||||
|
*
|
||||||
* @param code
|
* @param code
|
||||||
* @param type
|
* @param type
|
||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
@Serializable
|
@Serializable
|
||||||
data class ApiResponse (
|
data class ApiResponse (
|
||||||
|
|
||||||
@SerialName(value = "code") val code: kotlin.Int? = null,
|
@SerialName(value = "code") val code: kotlin.Int? = null,
|
||||||
|
|
||||||
@SerialName(value = "type") val type: kotlin.String? = null,
|
@SerialName(value = "type") val type: kotlin.String? = null,
|
||||||
|
|
||||||
@SerialName(value = "message") val message: kotlin.String? = null
|
@SerialName(value = "message") val message: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -18,12 +27,16 @@ import kotlinx.serialization.encoding.*
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A category for a pet
|
* A category for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
@Serializable
|
@Serializable
|
||||||
data class Category (
|
data class Category (
|
||||||
|
|
||||||
@SerialName(value = "id") val id: kotlin.Long? = null,
|
@SerialName(value = "id") val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerialName(value = "name") val name: kotlin.String? = null
|
@SerialName(value = "name") val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -18,6 +27,7 @@ import kotlinx.serialization.encoding.*
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An order for a pets from the pet store
|
* An order for a pets from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param petId
|
* @param petId
|
||||||
* @param quantity
|
* @param quantity
|
||||||
@ -27,17 +37,25 @@ import kotlinx.serialization.encoding.*
|
|||||||
*/
|
*/
|
||||||
@Serializable
|
@Serializable
|
||||||
data class Order (
|
data class Order (
|
||||||
|
|
||||||
@SerialName(value = "id") val id: kotlin.Long? = null,
|
@SerialName(value = "id") val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerialName(value = "petId") val petId: kotlin.Long? = null,
|
@SerialName(value = "petId") val petId: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerialName(value = "quantity") val quantity: kotlin.Int? = null,
|
@SerialName(value = "quantity") val quantity: kotlin.Int? = null,
|
||||||
|
|
||||||
@SerialName(value = "shipDate") val shipDate: kotlin.String? = null,
|
@SerialName(value = "shipDate") val shipDate: kotlin.String? = null,
|
||||||
|
|
||||||
/* Order Status */
|
/* Order Status */
|
||||||
@SerialName(value = "status") val status: Order.Status? = null,
|
@SerialName(value = "status") val status: Order.Status? = null,
|
||||||
|
|
||||||
@SerialName(value = "complete") val complete: kotlin.Boolean? = null
|
@SerialName(value = "complete") val complete: kotlin.Boolean? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
|
*
|
||||||
* Values: placed,approved,delivered
|
* Values: placed,approved,delivered
|
||||||
*/
|
*/
|
||||||
@Serializable
|
@Serializable
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
import org.openapitools.client.models.Category
|
import org.openapitools.client.models.Category
|
||||||
@ -20,6 +29,7 @@ import kotlinx.serialization.encoding.*
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A pet for sale in the pet store
|
* A pet for sale in the pet store
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* @param photoUrls
|
* @param photoUrls
|
||||||
* @param id
|
* @param id
|
||||||
@ -29,17 +39,25 @@ import kotlinx.serialization.encoding.*
|
|||||||
*/
|
*/
|
||||||
@Serializable
|
@Serializable
|
||||||
data class Pet (
|
data class Pet (
|
||||||
|
|
||||||
@SerialName(value = "name") @Required val name: kotlin.String,
|
@SerialName(value = "name") @Required val name: kotlin.String,
|
||||||
|
|
||||||
@SerialName(value = "photoUrls") @Required val photoUrls: kotlin.collections.List<kotlin.String>,
|
@SerialName(value = "photoUrls") @Required val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||||
|
|
||||||
@SerialName(value = "id") val id: kotlin.Long? = null,
|
@SerialName(value = "id") val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerialName(value = "category") val category: Category? = null,
|
@SerialName(value = "category") val category: Category? = null,
|
||||||
|
|
||||||
@SerialName(value = "tags") val tags: kotlin.collections.List<Tag>? = null,
|
@SerialName(value = "tags") val tags: kotlin.collections.List<Tag>? = null,
|
||||||
|
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
@SerialName(value = "status") val status: Pet.Status? = null
|
@SerialName(value = "status") val status: Pet.Status? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
*
|
||||||
* Values: available,pending,sold
|
* Values: available,pending,sold
|
||||||
*/
|
*/
|
||||||
@Serializable
|
@Serializable
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -18,12 +27,16 @@ import kotlinx.serialization.encoding.*
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A tag for a pet
|
* A tag for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
@Serializable
|
@Serializable
|
||||||
data class Tag (
|
data class Tag (
|
||||||
|
|
||||||
@SerialName(value = "id") val id: kotlin.Long? = null,
|
@SerialName(value = "id") val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerialName(value = "name") val name: kotlin.String? = null
|
@SerialName(value = "name") val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -18,6 +27,7 @@ import kotlinx.serialization.encoding.*
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A User who is purchasing from the pet store
|
* A User who is purchasing from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param username
|
* @param username
|
||||||
* @param firstName
|
* @param firstName
|
||||||
@ -29,14 +39,23 @@ import kotlinx.serialization.encoding.*
|
|||||||
*/
|
*/
|
||||||
@Serializable
|
@Serializable
|
||||||
data class User (
|
data class User (
|
||||||
|
|
||||||
@SerialName(value = "id") val id: kotlin.Long? = null,
|
@SerialName(value = "id") val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerialName(value = "username") val username: kotlin.String? = null,
|
@SerialName(value = "username") val username: kotlin.String? = null,
|
||||||
|
|
||||||
@SerialName(value = "firstName") val firstName: kotlin.String? = null,
|
@SerialName(value = "firstName") val firstName: kotlin.String? = null,
|
||||||
|
|
||||||
@SerialName(value = "lastName") val lastName: kotlin.String? = null,
|
@SerialName(value = "lastName") val lastName: kotlin.String? = null,
|
||||||
|
|
||||||
@SerialName(value = "email") val email: kotlin.String? = null,
|
@SerialName(value = "email") val email: kotlin.String? = null,
|
||||||
|
|
||||||
@SerialName(value = "password") val password: kotlin.String? = null,
|
@SerialName(value = "password") val password: kotlin.String? = null,
|
||||||
|
|
||||||
@SerialName(value = "phone") val phone: kotlin.String? = null,
|
@SerialName(value = "phone") val phone: kotlin.String? = null,
|
||||||
|
|
||||||
/* User Status */
|
/* User Status */
|
||||||
@SerialName(value = "userStatus") val userStatus: kotlin.Int? = null
|
@SerialName(value = "userStatus") val userStatus: kotlin.Int? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.ApiResponse
|
import org.openapitools.client.models.ApiResponse
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.Order
|
import org.openapitools.client.models.Order
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.User
|
import org.openapitools.client.models.User
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,17 +25,22 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Describes the result of uploading an image resource
|
* Describes the result of uploading an image resource
|
||||||
|
*
|
||||||
* @param code
|
* @param code
|
||||||
* @param type
|
* @param type
|
||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
|
|
||||||
internal data class ApiResponse (
|
internal data class ApiResponse (
|
||||||
|
|
||||||
@Json(name = "code")
|
@Json(name = "code")
|
||||||
val code: kotlin.Int? = null,
|
val code: kotlin.Int? = null,
|
||||||
|
|
||||||
@Json(name = "type")
|
@Json(name = "type")
|
||||||
val type: kotlin.String? = null,
|
val type: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "message")
|
@Json(name = "message")
|
||||||
val message: kotlin.String? = null
|
val message: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,14 +25,18 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A category for a pet
|
* A category for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
internal data class Category (
|
internal data class Category (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,6 +25,7 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An order for a pets from the pet store
|
* An order for a pets from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param petId
|
* @param petId
|
||||||
* @param quantity
|
* @param quantity
|
||||||
@ -25,23 +35,31 @@ import com.squareup.moshi.Json
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
internal data class Order (
|
internal data class Order (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "petId")
|
@Json(name = "petId")
|
||||||
val petId: kotlin.Long? = null,
|
val petId: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "quantity")
|
@Json(name = "quantity")
|
||||||
val quantity: kotlin.Int? = null,
|
val quantity: kotlin.Int? = null,
|
||||||
|
|
||||||
@Json(name = "shipDate")
|
@Json(name = "shipDate")
|
||||||
val shipDate: java.time.OffsetDateTime? = null,
|
val shipDate: java.time.OffsetDateTime? = null,
|
||||||
|
|
||||||
/* Order Status */
|
/* Order Status */
|
||||||
@Json(name = "status")
|
@Json(name = "status")
|
||||||
val status: Order.Status? = null,
|
val status: Order.Status? = null,
|
||||||
|
|
||||||
@Json(name = "complete")
|
@Json(name = "complete")
|
||||||
val complete: kotlin.Boolean? = null
|
val complete: kotlin.Boolean? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
|
*
|
||||||
* Values: placed,approved,delivered
|
* Values: placed,approved,delivered
|
||||||
*/
|
*/
|
||||||
internal enum class Status(val value: kotlin.String) {
|
internal enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
import org.openapitools.client.models.Category
|
import org.openapitools.client.models.Category
|
||||||
@ -18,6 +27,7 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A pet for sale in the pet store
|
* A pet for sale in the pet store
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* @param photoUrls
|
* @param photoUrls
|
||||||
* @param id
|
* @param id
|
||||||
@ -27,23 +37,31 @@ import com.squareup.moshi.Json
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
internal data class Pet (
|
internal data class Pet (
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String,
|
val name: kotlin.String,
|
||||||
|
|
||||||
@Json(name = "photoUrls")
|
@Json(name = "photoUrls")
|
||||||
val photoUrls: kotlin.collections.List<kotlin.String>,
|
val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "category")
|
@Json(name = "category")
|
||||||
val category: Category? = null,
|
val category: Category? = null,
|
||||||
|
|
||||||
@Json(name = "tags")
|
@Json(name = "tags")
|
||||||
val tags: kotlin.collections.List<Tag>? = null,
|
val tags: kotlin.collections.List<Tag>? = null,
|
||||||
|
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
@Json(name = "status")
|
@Json(name = "status")
|
||||||
val status: Pet.Status? = null
|
val status: Pet.Status? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
*
|
||||||
* Values: available,pending,sold
|
* Values: available,pending,sold
|
||||||
*/
|
*/
|
||||||
internal enum class Status(val value: kotlin.String) {
|
internal enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,14 +25,18 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A tag for a pet
|
* A tag for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
internal data class Tag (
|
internal data class Tag (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,6 +25,7 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A User who is purchasing from the pet store
|
* A User who is purchasing from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param username
|
* @param username
|
||||||
* @param firstName
|
* @param firstName
|
||||||
@ -27,22 +37,31 @@ import com.squareup.moshi.Json
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
internal data class User (
|
internal data class User (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "username")
|
@Json(name = "username")
|
||||||
val username: kotlin.String? = null,
|
val username: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "firstName")
|
@Json(name = "firstName")
|
||||||
val firstName: kotlin.String? = null,
|
val firstName: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "lastName")
|
@Json(name = "lastName")
|
||||||
val lastName: kotlin.String? = null,
|
val lastName: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "email")
|
@Json(name = "email")
|
||||||
val email: kotlin.String? = null,
|
val email: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "password")
|
@Json(name = "password")
|
||||||
val password: kotlin.String? = null,
|
val password: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "phone")
|
@Json(name = "phone")
|
||||||
val phone: kotlin.String? = null,
|
val phone: kotlin.String? = null,
|
||||||
|
|
||||||
/* User Status */
|
/* User Status */
|
||||||
@Json(name = "userStatus")
|
@Json(name = "userStatus")
|
||||||
val userStatus: kotlin.Int? = null
|
val userStatus: kotlin.Int? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.ApiResponse
|
import org.openapitools.client.models.ApiResponse
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.Order
|
import org.openapitools.client.models.Order
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.User
|
import org.openapitools.client.models.User
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,18 +26,23 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Describes the result of uploading an image resource
|
* Describes the result of uploading an image resource
|
||||||
|
*
|
||||||
* @param code
|
* @param code
|
||||||
* @param type
|
* @param type
|
||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class ApiResponse (
|
data class ApiResponse (
|
||||||
|
|
||||||
@Json(name = "code")
|
@Json(name = "code")
|
||||||
val code: kotlin.Int? = null,
|
val code: kotlin.Int? = null,
|
||||||
|
|
||||||
@Json(name = "type")
|
@Json(name = "type")
|
||||||
val type: kotlin.String? = null,
|
val type: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "message")
|
@Json(name = "message")
|
||||||
val message: kotlin.String? = null
|
val message: kotlin.String? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,15 +26,19 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A category for a pet
|
* A category for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class Category (
|
data class Category (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,6 +26,7 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An order for a pets from the pet store
|
* An order for a pets from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param petId
|
* @param petId
|
||||||
* @param quantity
|
* @param quantity
|
||||||
@ -26,19 +36,26 @@ import java.io.Serializable
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class Order (
|
data class Order (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "petId")
|
@Json(name = "petId")
|
||||||
val petId: kotlin.Long? = null,
|
val petId: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "quantity")
|
@Json(name = "quantity")
|
||||||
val quantity: kotlin.Int? = null,
|
val quantity: kotlin.Int? = null,
|
||||||
|
|
||||||
@Json(name = "shipDate")
|
@Json(name = "shipDate")
|
||||||
val shipDate: java.time.OffsetDateTime? = null,
|
val shipDate: java.time.OffsetDateTime? = null,
|
||||||
|
|
||||||
/* Order Status */
|
/* Order Status */
|
||||||
@Json(name = "status")
|
@Json(name = "status")
|
||||||
val status: Order.Status? = null,
|
val status: Order.Status? = null,
|
||||||
|
|
||||||
@Json(name = "complete")
|
@Json(name = "complete")
|
||||||
val complete: kotlin.Boolean? = null
|
val complete: kotlin.Boolean? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
@ -46,6 +63,7 @@ data class Order (
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
|
*
|
||||||
* Values: placed,approved,delivered
|
* Values: placed,approved,delivered
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
import org.openapitools.client.models.Category
|
import org.openapitools.client.models.Category
|
||||||
@ -19,6 +28,7 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A pet for sale in the pet store
|
* A pet for sale in the pet store
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* @param photoUrls
|
* @param photoUrls
|
||||||
* @param id
|
* @param id
|
||||||
@ -28,19 +38,26 @@ import java.io.Serializable
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class Pet (
|
data class Pet (
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String,
|
val name: kotlin.String,
|
||||||
|
|
||||||
@Json(name = "photoUrls")
|
@Json(name = "photoUrls")
|
||||||
val photoUrls: kotlin.collections.List<kotlin.String>,
|
val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "category")
|
@Json(name = "category")
|
||||||
val category: Category? = null,
|
val category: Category? = null,
|
||||||
|
|
||||||
@Json(name = "tags")
|
@Json(name = "tags")
|
||||||
val tags: kotlin.collections.List<Tag>? = null,
|
val tags: kotlin.collections.List<Tag>? = null,
|
||||||
|
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
@Json(name = "status")
|
@Json(name = "status")
|
||||||
val status: Pet.Status? = null
|
val status: Pet.Status? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
@ -48,6 +65,7 @@ data class Pet (
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
*
|
||||||
* Values: available,pending,sold
|
* Values: available,pending,sold
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,15 +26,19 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A tag for a pet
|
* A tag for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class Tag (
|
data class Tag (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -17,6 +26,7 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A User who is purchasing from the pet store
|
* A User who is purchasing from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param username
|
* @param username
|
||||||
* @param firstName
|
* @param firstName
|
||||||
@ -28,23 +38,32 @@ import java.io.Serializable
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class User (
|
data class User (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "username")
|
@Json(name = "username")
|
||||||
val username: kotlin.String? = null,
|
val username: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "firstName")
|
@Json(name = "firstName")
|
||||||
val firstName: kotlin.String? = null,
|
val firstName: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "lastName")
|
@Json(name = "lastName")
|
||||||
val lastName: kotlin.String? = null,
|
val lastName: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "email")
|
@Json(name = "email")
|
||||||
val email: kotlin.String? = null,
|
val email: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "password")
|
@Json(name = "password")
|
||||||
val password: kotlin.String? = null,
|
val password: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "phone")
|
@Json(name = "phone")
|
||||||
val phone: kotlin.String? = null,
|
val phone: kotlin.String? = null,
|
||||||
|
|
||||||
/* User Status */
|
/* User Status */
|
||||||
@Json(name = "userStatus")
|
@Json(name = "userStatus")
|
||||||
val userStatus: kotlin.Int? = null
|
val userStatus: kotlin.Int? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.ApiResponse
|
import org.openapitools.client.models.ApiResponse
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.Order
|
import org.openapitools.client.models.Order
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.apis
|
package org.openapitools.client.apis
|
||||||
|
|
||||||
import org.openapitools.client.models.User
|
import org.openapitools.client.models.User
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,17 +25,22 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Describes the result of uploading an image resource
|
* Describes the result of uploading an image resource
|
||||||
|
*
|
||||||
* @param code
|
* @param code
|
||||||
* @param type
|
* @param type
|
||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class ApiResponse (
|
data class ApiResponse (
|
||||||
|
|
||||||
@Json(name = "code")
|
@Json(name = "code")
|
||||||
val code: kotlin.Int? = null,
|
val code: kotlin.Int? = null,
|
||||||
|
|
||||||
@Json(name = "type")
|
@Json(name = "type")
|
||||||
val type: kotlin.String? = null,
|
val type: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "message")
|
@Json(name = "message")
|
||||||
val message: kotlin.String? = null
|
val message: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,14 +25,18 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A category for a pet
|
* A category for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class Category (
|
data class Category (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,6 +25,7 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An order for a pets from the pet store
|
* An order for a pets from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param petId
|
* @param petId
|
||||||
* @param quantity
|
* @param quantity
|
||||||
@ -25,23 +35,31 @@ import com.squareup.moshi.Json
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class Order (
|
data class Order (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "petId")
|
@Json(name = "petId")
|
||||||
val petId: kotlin.Long? = null,
|
val petId: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "quantity")
|
@Json(name = "quantity")
|
||||||
val quantity: kotlin.Int? = null,
|
val quantity: kotlin.Int? = null,
|
||||||
|
|
||||||
@Json(name = "shipDate")
|
@Json(name = "shipDate")
|
||||||
val shipDate: java.time.OffsetDateTime? = null,
|
val shipDate: java.time.OffsetDateTime? = null,
|
||||||
|
|
||||||
/* Order Status */
|
/* Order Status */
|
||||||
@Json(name = "status")
|
@Json(name = "status")
|
||||||
val status: Order.Status? = null,
|
val status: Order.Status? = null,
|
||||||
|
|
||||||
@Json(name = "complete")
|
@Json(name = "complete")
|
||||||
val complete: kotlin.Boolean? = null
|
val complete: kotlin.Boolean? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
|
*
|
||||||
* Values: placed,approved,delivered
|
* Values: placed,approved,delivered
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
import org.openapitools.client.models.Category
|
import org.openapitools.client.models.Category
|
||||||
@ -18,6 +27,7 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A pet for sale in the pet store
|
* A pet for sale in the pet store
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* @param photoUrls
|
* @param photoUrls
|
||||||
* @param id
|
* @param id
|
||||||
@ -27,23 +37,31 @@ import com.squareup.moshi.Json
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class Pet (
|
data class Pet (
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String,
|
val name: kotlin.String,
|
||||||
|
|
||||||
@Json(name = "photoUrls")
|
@Json(name = "photoUrls")
|
||||||
val photoUrls: kotlin.collections.List<kotlin.String>,
|
val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "category")
|
@Json(name = "category")
|
||||||
val category: Category? = null,
|
val category: Category? = null,
|
||||||
|
|
||||||
@Json(name = "tags")
|
@Json(name = "tags")
|
||||||
val tags: kotlin.collections.List<Tag>? = null,
|
val tags: kotlin.collections.List<Tag>? = null,
|
||||||
|
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
@Json(name = "status")
|
@Json(name = "status")
|
||||||
val status: Pet.Status? = null
|
val status: Pet.Status? = null
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
*
|
||||||
* Values: available,pending,sold
|
* Values: available,pending,sold
|
||||||
*/
|
*/
|
||||||
enum class Status(val value: kotlin.String) {
|
enum class Status(val value: kotlin.String) {
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,14 +25,18 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A tag for a pet
|
* A tag for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
data class Tag (
|
data class Tag (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "name")
|
@Json(name = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -16,6 +25,7 @@ import com.squareup.moshi.Json
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A User who is purchasing from the pet store
|
* A User who is purchasing from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param username
|
* @param username
|
||||||
* @param firstName
|
* @param firstName
|
||||||
@ -27,22 +37,31 @@ import com.squareup.moshi.Json
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
data class User (
|
data class User (
|
||||||
|
|
||||||
@Json(name = "id")
|
@Json(name = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@Json(name = "username")
|
@Json(name = "username")
|
||||||
val username: kotlin.String? = null,
|
val username: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "firstName")
|
@Json(name = "firstName")
|
||||||
val firstName: kotlin.String? = null,
|
val firstName: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "lastName")
|
@Json(name = "lastName")
|
||||||
val lastName: kotlin.String? = null,
|
val lastName: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "email")
|
@Json(name = "email")
|
||||||
val email: kotlin.String? = null,
|
val email: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "password")
|
@Json(name = "password")
|
||||||
val password: kotlin.String? = null,
|
val password: kotlin.String? = null,
|
||||||
|
|
||||||
@Json(name = "phone")
|
@Json(name = "phone")
|
||||||
val phone: kotlin.String? = null,
|
val phone: kotlin.String? = null,
|
||||||
|
|
||||||
/* User Status */
|
/* User Status */
|
||||||
@Json(name = "userStatus")
|
@Json(name = "userStatus")
|
||||||
val userStatus: kotlin.Int? = null
|
val userStatus: kotlin.Int? = null
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -19,18 +28,23 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Describes the result of uploading an image resource
|
* Describes the result of uploading an image resource
|
||||||
|
*
|
||||||
* @param code
|
* @param code
|
||||||
* @param type
|
* @param type
|
||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
@KSerializable
|
@KSerializable
|
||||||
data class ApiResponse (
|
data class ApiResponse (
|
||||||
|
|
||||||
@SerialName(value = "code")
|
@SerialName(value = "code")
|
||||||
val code: kotlin.Int? = null,
|
val code: kotlin.Int? = null,
|
||||||
|
|
||||||
@SerialName(value = "type")
|
@SerialName(value = "type")
|
||||||
val type: kotlin.String? = null,
|
val type: kotlin.String? = null,
|
||||||
|
|
||||||
@SerialName(value = "message")
|
@SerialName(value = "message")
|
||||||
val message: kotlin.String? = null
|
val message: kotlin.String? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -19,15 +28,19 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A category for a pet
|
* A category for a pet
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
@KSerializable
|
@KSerializable
|
||||||
data class Category (
|
data class Category (
|
||||||
|
|
||||||
@SerialName(value = "id")
|
@SerialName(value = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerialName(value = "name")
|
@SerialName(value = "name")
|
||||||
val name: kotlin.String? = null
|
val name: kotlin.String? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
|
|
||||||
@ -19,6 +28,7 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* An order for a pets from the pet store
|
* An order for a pets from the pet store
|
||||||
|
*
|
||||||
* @param id
|
* @param id
|
||||||
* @param petId
|
* @param petId
|
||||||
* @param quantity
|
* @param quantity
|
||||||
@ -28,19 +38,26 @@ import java.io.Serializable
|
|||||||
*/
|
*/
|
||||||
@KSerializable
|
@KSerializable
|
||||||
data class Order (
|
data class Order (
|
||||||
|
|
||||||
@SerialName(value = "id")
|
@SerialName(value = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerialName(value = "petId")
|
@SerialName(value = "petId")
|
||||||
val petId: kotlin.Long? = null,
|
val petId: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerialName(value = "quantity")
|
@SerialName(value = "quantity")
|
||||||
val quantity: kotlin.Int? = null,
|
val quantity: kotlin.Int? = null,
|
||||||
|
|
||||||
@Contextual @SerialName(value = "shipDate")
|
@Contextual @SerialName(value = "shipDate")
|
||||||
val shipDate: java.time.OffsetDateTime? = null,
|
val shipDate: java.time.OffsetDateTime? = null,
|
||||||
|
|
||||||
/* Order Status */
|
/* Order Status */
|
||||||
@SerialName(value = "status")
|
@SerialName(value = "status")
|
||||||
val status: Order.Status? = null,
|
val status: Order.Status? = null,
|
||||||
|
|
||||||
@SerialName(value = "complete")
|
@SerialName(value = "complete")
|
||||||
val complete: kotlin.Boolean? = null
|
val complete: kotlin.Boolean? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
@ -48,6 +65,7 @@ data class Order (
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Order Status
|
* Order Status
|
||||||
|
*
|
||||||
* Values: PLACED,APPROVED,DELIVERED
|
* Values: PLACED,APPROVED,DELIVERED
|
||||||
*/
|
*/
|
||||||
@KSerializable
|
@KSerializable
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
/**
|
/**
|
||||||
* OpenAPI Petstore
|
* OpenAPI Petstore
|
||||||
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
*
|
||||||
*
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
||||||
* The version of the OpenAPI document: 1.0.0
|
*
|
||||||
*
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
*
|
||||||
* https://openapi-generator.tech
|
* Please note:
|
||||||
* Do not edit the class manually.
|
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
*/
|
* Do not edit this file manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress(
|
||||||
|
"ArrayInDataClass",
|
||||||
|
"EnumEntryName",
|
||||||
|
"RemoveRedundantQualifierName",
|
||||||
|
"UnusedImport"
|
||||||
|
)
|
||||||
|
|
||||||
package org.openapitools.client.models
|
package org.openapitools.client.models
|
||||||
|
|
||||||
import org.openapitools.client.models.Category
|
import org.openapitools.client.models.Category
|
||||||
@ -21,6 +30,7 @@ import java.io.Serializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A pet for sale in the pet store
|
* A pet for sale in the pet store
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* @param photoUrls
|
* @param photoUrls
|
||||||
* @param id
|
* @param id
|
||||||
@ -30,19 +40,26 @@ import java.io.Serializable
|
|||||||
*/
|
*/
|
||||||
@KSerializable
|
@KSerializable
|
||||||
data class Pet (
|
data class Pet (
|
||||||
|
|
||||||
@SerialName(value = "name")
|
@SerialName(value = "name")
|
||||||
val name: kotlin.String,
|
val name: kotlin.String,
|
||||||
|
|
||||||
@SerialName(value = "photoUrls")
|
@SerialName(value = "photoUrls")
|
||||||
val photoUrls: kotlin.collections.List<kotlin.String>,
|
val photoUrls: kotlin.collections.List<kotlin.String>,
|
||||||
|
|
||||||
@SerialName(value = "id")
|
@SerialName(value = "id")
|
||||||
val id: kotlin.Long? = null,
|
val id: kotlin.Long? = null,
|
||||||
|
|
||||||
@SerialName(value = "category")
|
@SerialName(value = "category")
|
||||||
val category: Category? = null,
|
val category: Category? = null,
|
||||||
|
|
||||||
@SerialName(value = "tags")
|
@SerialName(value = "tags")
|
||||||
val tags: kotlin.collections.List<Tag>? = null,
|
val tags: kotlin.collections.List<Tag>? = null,
|
||||||
|
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
@SerialName(value = "status")
|
@SerialName(value = "status")
|
||||||
val status: Pet.Status? = null
|
val status: Pet.Status? = null
|
||||||
|
|
||||||
) : Serializable {
|
) : Serializable {
|
||||||
companion object {
|
companion object {
|
||||||
private const val serialVersionUID: Long = 123
|
private const val serialVersionUID: Long = 123
|
||||||
@ -50,6 +67,7 @@ data class Pet (
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
*
|
||||||
* Values: AVAILABLE,PENDING,SOLD
|
* Values: AVAILABLE,PENDING,SOLD
|
||||||
*/
|
*/
|
||||||
@KSerializable
|
@KSerializable
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user