forked from loafle/openapi-generator-original
* Some clean code. * Add support for retrofit2 in models and apis. Need work in ApiClient, but it's not urgent. * Add ApiClient with retrofit2 support. * Remove unnecessary package. * Add scripts to generate samples. * Generate sample of retrofit2 * Change toUpperCase to toUpperCase(Locale.ROOT) to fix compile. * Added GSON library when it's needed * Fix typo. * Add some missing common files. * Execute bin script. * Remove copy&paste error in script. * [kotlin] update outdated files * Fix apis with no params. * Add missing import in ApiClient * Add support for CSV, SSV, TSV, PIPES, SPACES in retrofit 2 library. * Fix package name. * Execute kotlin-client-retrofit2.sh script. * force rebuild. * execute script again. * Add missing imports from okhttp3. @Deprecated has a message param that java not. Add it with a default message. * Execute retrofit2 script. * Rerun script.
566 B
566 B
Pet
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | kotlin.Long | [optional] | |
| category | Category | [optional] | |
| name | kotlin.String | ||
| photoUrls | kotlin.Array<kotlin.String> | ||
| tags | kotlin.Array<Tag> | [optional] | |
| status | inline | pet status in the store | [optional] |
Enum: status
| Name | Value |
|---|---|
| status | available, pending, sold |