mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-04 07:50:56 +00:00
run ensure-up-to-date
This commit is contained in:
parent
90cbf71134
commit
54cfab84b6
@ -14,6 +14,9 @@ sidebar_label: dart-dio
|
|||||||
|pubName|Name in generated pubspec| |null|
|
|pubName|Name in generated pubspec| |null|
|
||||||
|pubVersion|Version in generated pubspec| |null|
|
|pubVersion|Version in generated pubspec| |null|
|
||||||
|pubDescription|Description in generated pubspec| |null|
|
|pubDescription|Description in generated pubspec| |null|
|
||||||
|
|pubAuthor|Author name in generated pubspec| |null|
|
||||||
|
|pubAuthorEmail|Email address of the author in generated pubspec| |null|
|
||||||
|
|pubHomepage|Homepage in generated pubspec| |null|
|
||||||
|useEnumExtension|Allow the 'x-enum-values' extension for enums| |null|
|
|useEnumExtension|Allow the 'x-enum-values' extension for enums| |null|
|
||||||
|sourceFolder|Source folder for generated code| |null|
|
|sourceFolder|Source folder for generated code| |null|
|
||||||
|supportDart2|Support Dart 2.x (Dart 1.x support has been deprecated)| |true|
|
|supportDart2|Support Dart 2.x (Dart 1.x support has been deprecated)| |true|
|
||||||
|
@ -14,6 +14,9 @@ sidebar_label: dart-jaguar
|
|||||||
|pubName|Name in generated pubspec| |null|
|
|pubName|Name in generated pubspec| |null|
|
||||||
|pubVersion|Version in generated pubspec| |null|
|
|pubVersion|Version in generated pubspec| |null|
|
||||||
|pubDescription|Description in generated pubspec| |null|
|
|pubDescription|Description in generated pubspec| |null|
|
||||||
|
|pubAuthor|Author name in generated pubspec| |null|
|
||||||
|
|pubAuthorEmail|Email address of the author in generated pubspec| |null|
|
||||||
|
|pubHomepage|Homepage in generated pubspec| |null|
|
||||||
|useEnumExtension|Allow the 'x-enum-values' extension for enums| |null|
|
|useEnumExtension|Allow the 'x-enum-values' extension for enums| |null|
|
||||||
|sourceFolder|Source folder for generated code| |null|
|
|sourceFolder|Source folder for generated code| |null|
|
||||||
|supportDart2|Support Dart 2.x (Dart 1.x support has been deprecated)| |true|
|
|supportDart2|Support Dart 2.x (Dart 1.x support has been deprecated)| |true|
|
||||||
|
@ -14,6 +14,9 @@ sidebar_label: dart
|
|||||||
|pubName|Name in generated pubspec| |null|
|
|pubName|Name in generated pubspec| |null|
|
||||||
|pubVersion|Version in generated pubspec| |null|
|
|pubVersion|Version in generated pubspec| |null|
|
||||||
|pubDescription|Description in generated pubspec| |null|
|
|pubDescription|Description in generated pubspec| |null|
|
||||||
|
|pubAuthor|Author name in generated pubspec| |null|
|
||||||
|
|pubAuthorEmail|Email address of the author in generated pubspec| |null|
|
||||||
|
|pubHomepage|Homepage in generated pubspec| |null|
|
||||||
|useEnumExtension|Allow the 'x-enum-values' extension for enums| |null|
|
|useEnumExtension|Allow the 'x-enum-values' extension for enums| |null|
|
||||||
|sourceFolder|Source folder for generated code| |null|
|
|sourceFolder|Source folder for generated code| |null|
|
||||||
|supportDart2|Support Dart 2.x (Dart 1.x support has been deprecated)| |true|
|
|supportDart2|Support Dart 2.x (Dart 1.x support has been deprecated)| |true|
|
||||||
|
@ -127,6 +127,8 @@ Class | Method | HTTP request | Description
|
|||||||
- [ArrayOfArrayOfNumberOnly](docs/ArrayOfArrayOfNumberOnly.md)
|
- [ArrayOfArrayOfNumberOnly](docs/ArrayOfArrayOfNumberOnly.md)
|
||||||
- [ArrayOfNumberOnly](docs/ArrayOfNumberOnly.md)
|
- [ArrayOfNumberOnly](docs/ArrayOfNumberOnly.md)
|
||||||
- [ArrayTest](docs/ArrayTest.md)
|
- [ArrayTest](docs/ArrayTest.md)
|
||||||
|
- [BigCat](docs/BigCat.md)
|
||||||
|
- [BigCatAllOf](docs/BigCatAllOf.md)
|
||||||
- [Capitalization](docs/Capitalization.md)
|
- [Capitalization](docs/Capitalization.md)
|
||||||
- [Cat](docs/Cat.md)
|
- [Cat](docs/Cat.md)
|
||||||
- [CatAllOf](docs/CatAllOf.md)
|
- [CatAllOf](docs/CatAllOf.md)
|
||||||
|
@ -1422,6 +1422,10 @@ components:
|
|||||||
allOf:
|
allOf:
|
||||||
- $ref: '#/components/schemas/Animal'
|
- $ref: '#/components/schemas/Animal'
|
||||||
- $ref: '#/components/schemas/Cat_allOf'
|
- $ref: '#/components/schemas/Cat_allOf'
|
||||||
|
BigCat:
|
||||||
|
allOf:
|
||||||
|
- $ref: '#/components/schemas/Cat'
|
||||||
|
- $ref: '#/components/schemas/BigCat_allOf'
|
||||||
Animal:
|
Animal:
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: className
|
propertyName: className
|
||||||
@ -2086,6 +2090,15 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
declawed:
|
declawed:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
BigCat_allOf:
|
||||||
|
properties:
|
||||||
|
kind:
|
||||||
|
enum:
|
||||||
|
- lions
|
||||||
|
- tigers
|
||||||
|
- leopards
|
||||||
|
- jaguars
|
||||||
|
type: string
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
petstore_auth:
|
petstore_auth:
|
||||||
flows:
|
flows:
|
||||||
|
@ -0,0 +1,117 @@
|
|||||||
|
# BigCat
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**ClassName** | Pointer to **string** | |
|
||||||
|
**Color** | Pointer to **string** | | [optional] [default to red]
|
||||||
|
**Declawed** | Pointer to **bool** | | [optional]
|
||||||
|
**Kind** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### GetClassName
|
||||||
|
|
||||||
|
`func (o *BigCat) GetClassName() string`
|
||||||
|
|
||||||
|
GetClassName returns the ClassName field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetClassNameOk
|
||||||
|
|
||||||
|
`func (o *BigCat) GetClassNameOk() (string, bool)`
|
||||||
|
|
||||||
|
GetClassNameOk returns a tuple with the ClassName field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### HasClassName
|
||||||
|
|
||||||
|
`func (o *BigCat) HasClassName() bool`
|
||||||
|
|
||||||
|
HasClassName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetClassName
|
||||||
|
|
||||||
|
`func (o *BigCat) SetClassName(v string)`
|
||||||
|
|
||||||
|
SetClassName gets a reference to the given string and assigns it to the ClassName field.
|
||||||
|
|
||||||
|
### GetColor
|
||||||
|
|
||||||
|
`func (o *BigCat) GetColor() string`
|
||||||
|
|
||||||
|
GetColor returns the Color field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetColorOk
|
||||||
|
|
||||||
|
`func (o *BigCat) GetColorOk() (string, bool)`
|
||||||
|
|
||||||
|
GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### HasColor
|
||||||
|
|
||||||
|
`func (o *BigCat) HasColor() bool`
|
||||||
|
|
||||||
|
HasColor returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetColor
|
||||||
|
|
||||||
|
`func (o *BigCat) SetColor(v string)`
|
||||||
|
|
||||||
|
SetColor gets a reference to the given string and assigns it to the Color field.
|
||||||
|
|
||||||
|
### GetDeclawed
|
||||||
|
|
||||||
|
`func (o *BigCat) GetDeclawed() bool`
|
||||||
|
|
||||||
|
GetDeclawed returns the Declawed field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDeclawedOk
|
||||||
|
|
||||||
|
`func (o *BigCat) GetDeclawedOk() (bool, bool)`
|
||||||
|
|
||||||
|
GetDeclawedOk returns a tuple with the Declawed field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### HasDeclawed
|
||||||
|
|
||||||
|
`func (o *BigCat) HasDeclawed() bool`
|
||||||
|
|
||||||
|
HasDeclawed returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetDeclawed
|
||||||
|
|
||||||
|
`func (o *BigCat) SetDeclawed(v bool)`
|
||||||
|
|
||||||
|
SetDeclawed gets a reference to the given bool and assigns it to the Declawed field.
|
||||||
|
|
||||||
|
### GetKind
|
||||||
|
|
||||||
|
`func (o *BigCat) GetKind() string`
|
||||||
|
|
||||||
|
GetKind returns the Kind field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetKindOk
|
||||||
|
|
||||||
|
`func (o *BigCat) GetKindOk() (string, bool)`
|
||||||
|
|
||||||
|
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### HasKind
|
||||||
|
|
||||||
|
`func (o *BigCat) HasKind() bool`
|
||||||
|
|
||||||
|
HasKind returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetKind
|
||||||
|
|
||||||
|
`func (o *BigCat) SetKind(v string)`
|
||||||
|
|
||||||
|
SetKind gets a reference to the given string and assigns it to the Kind field.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
@ -0,0 +1,39 @@
|
|||||||
|
# BigCatAllOf
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Kind** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### GetKind
|
||||||
|
|
||||||
|
`func (o *BigCatAllOf) GetKind() string`
|
||||||
|
|
||||||
|
GetKind returns the Kind field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetKindOk
|
||||||
|
|
||||||
|
`func (o *BigCatAllOf) GetKindOk() (string, bool)`
|
||||||
|
|
||||||
|
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### HasKind
|
||||||
|
|
||||||
|
`func (o *BigCatAllOf) HasKind() bool`
|
||||||
|
|
||||||
|
HasKind returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetKind
|
||||||
|
|
||||||
|
`func (o *BigCatAllOf) SetKind(v string)`
|
||||||
|
|
||||||
|
SetKind gets a reference to the given string and assigns it to the Kind field.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
@ -0,0 +1,160 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* API version: 1.0.0
|
||||||
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
*/
|
||||||
|
|
||||||
|
package petstore
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"encoding/json"
|
||||||
|
)
|
||||||
|
|
||||||
|
// BigCat struct for BigCat
|
||||||
|
type BigCat struct {
|
||||||
|
ClassName string `json:"className"`
|
||||||
|
Color *string `json:"color,omitempty"`
|
||||||
|
Declawed *bool `json:"declawed,omitempty"`
|
||||||
|
Kind *string `json:"kind,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetClassName returns the ClassName field value
|
||||||
|
func (o *BigCat) GetClassName() string {
|
||||||
|
if o == nil {
|
||||||
|
var ret string
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
|
||||||
|
return o.ClassName
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetClassName sets field value
|
||||||
|
func (o *BigCat) SetClassName(v string) {
|
||||||
|
o.ClassName = v
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetColor returns the Color field value if set, zero value otherwise.
|
||||||
|
func (o *BigCat) GetColor() string {
|
||||||
|
if o == nil || o.Color == nil {
|
||||||
|
var ret string
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
return *o.Color
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetColorOk returns a tuple with the Color field value if set, zero value otherwise
|
||||||
|
// and a boolean to check if the value has been set.
|
||||||
|
func (o *BigCat) GetColorOk() (string, bool) {
|
||||||
|
if o == nil || o.Color == nil {
|
||||||
|
var ret string
|
||||||
|
return ret, false
|
||||||
|
}
|
||||||
|
return *o.Color, true
|
||||||
|
}
|
||||||
|
|
||||||
|
// HasColor returns a boolean if a field has been set.
|
||||||
|
func (o *BigCat) HasColor() bool {
|
||||||
|
if o != nil && o.Color != nil {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetColor gets a reference to the given string and assigns it to the Color field.
|
||||||
|
func (o *BigCat) SetColor(v string) {
|
||||||
|
o.Color = &v
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetDeclawed returns the Declawed field value if set, zero value otherwise.
|
||||||
|
func (o *BigCat) GetDeclawed() bool {
|
||||||
|
if o == nil || o.Declawed == nil {
|
||||||
|
var ret bool
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
return *o.Declawed
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetDeclawedOk returns a tuple with the Declawed field value if set, zero value otherwise
|
||||||
|
// and a boolean to check if the value has been set.
|
||||||
|
func (o *BigCat) GetDeclawedOk() (bool, bool) {
|
||||||
|
if o == nil || o.Declawed == nil {
|
||||||
|
var ret bool
|
||||||
|
return ret, false
|
||||||
|
}
|
||||||
|
return *o.Declawed, true
|
||||||
|
}
|
||||||
|
|
||||||
|
// HasDeclawed returns a boolean if a field has been set.
|
||||||
|
func (o *BigCat) HasDeclawed() bool {
|
||||||
|
if o != nil && o.Declawed != nil {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetDeclawed gets a reference to the given bool and assigns it to the Declawed field.
|
||||||
|
func (o *BigCat) SetDeclawed(v bool) {
|
||||||
|
o.Declawed = &v
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetKind returns the Kind field value if set, zero value otherwise.
|
||||||
|
func (o *BigCat) GetKind() string {
|
||||||
|
if o == nil || o.Kind == nil {
|
||||||
|
var ret string
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
return *o.Kind
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetKindOk returns a tuple with the Kind field value if set, zero value otherwise
|
||||||
|
// and a boolean to check if the value has been set.
|
||||||
|
func (o *BigCat) GetKindOk() (string, bool) {
|
||||||
|
if o == nil || o.Kind == nil {
|
||||||
|
var ret string
|
||||||
|
return ret, false
|
||||||
|
}
|
||||||
|
return *o.Kind, true
|
||||||
|
}
|
||||||
|
|
||||||
|
// HasKind returns a boolean if a field has been set.
|
||||||
|
func (o *BigCat) HasKind() bool {
|
||||||
|
if o != nil && o.Kind != nil {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetKind gets a reference to the given string and assigns it to the Kind field.
|
||||||
|
func (o *BigCat) SetKind(v string) {
|
||||||
|
o.Kind = &v
|
||||||
|
}
|
||||||
|
|
||||||
|
type NullableBigCat struct {
|
||||||
|
Value BigCat
|
||||||
|
ExplicitNull bool
|
||||||
|
}
|
||||||
|
|
||||||
|
func (v NullableBigCat) MarshalJSON() ([]byte, error) {
|
||||||
|
switch {
|
||||||
|
case v.ExplicitNull:
|
||||||
|
return []byte("null"), nil
|
||||||
|
default:
|
||||||
|
return json.Marshal(v.Value)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (v *NullableBigCat) UnmarshalJSON(src []byte) error {
|
||||||
|
if bytes.Equal(src, []byte("null")) {
|
||||||
|
v.ExplicitNull = true
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return json.Unmarshal(src, &v.Value)
|
||||||
|
}
|
@ -0,0 +1,76 @@
|
|||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* API version: 1.0.0
|
||||||
|
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
*/
|
||||||
|
|
||||||
|
package petstore
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"encoding/json"
|
||||||
|
)
|
||||||
|
|
||||||
|
// BigCatAllOf struct for BigCatAllOf
|
||||||
|
type BigCatAllOf struct {
|
||||||
|
Kind *string `json:"kind,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetKind returns the Kind field value if set, zero value otherwise.
|
||||||
|
func (o *BigCatAllOf) GetKind() string {
|
||||||
|
if o == nil || o.Kind == nil {
|
||||||
|
var ret string
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
return *o.Kind
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetKindOk returns a tuple with the Kind field value if set, zero value otherwise
|
||||||
|
// and a boolean to check if the value has been set.
|
||||||
|
func (o *BigCatAllOf) GetKindOk() (string, bool) {
|
||||||
|
if o == nil || o.Kind == nil {
|
||||||
|
var ret string
|
||||||
|
return ret, false
|
||||||
|
}
|
||||||
|
return *o.Kind, true
|
||||||
|
}
|
||||||
|
|
||||||
|
// HasKind returns a boolean if a field has been set.
|
||||||
|
func (o *BigCatAllOf) HasKind() bool {
|
||||||
|
if o != nil && o.Kind != nil {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetKind gets a reference to the given string and assigns it to the Kind field.
|
||||||
|
func (o *BigCatAllOf) SetKind(v string) {
|
||||||
|
o.Kind = &v
|
||||||
|
}
|
||||||
|
|
||||||
|
type NullableBigCatAllOf struct {
|
||||||
|
Value BigCatAllOf
|
||||||
|
ExplicitNull bool
|
||||||
|
}
|
||||||
|
|
||||||
|
func (v NullableBigCatAllOf) MarshalJSON() ([]byte, error) {
|
||||||
|
switch {
|
||||||
|
case v.ExplicitNull:
|
||||||
|
return []byte("null"), nil
|
||||||
|
default:
|
||||||
|
return json.Marshal(v.Value)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (v *NullableBigCatAllOf) UnmarshalJSON(src []byte) error {
|
||||||
|
if bytes.Equal(src, []byte("null")) {
|
||||||
|
v.ExplicitNull = true
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return json.Unmarshal(src, &v.Value)
|
||||||
|
}
|
@ -31,6 +31,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
@JsonPropertyOrder({
|
@JsonPropertyOrder({
|
||||||
BigCat.JSON_PROPERTY_KIND
|
BigCat.JSON_PROPERTY_KIND
|
||||||
})
|
})
|
||||||
|
@javax.annotation.concurrent.Immutable
|
||||||
|
|
||||||
public class BigCat extends Cat {
|
public class BigCat extends Cat {
|
||||||
/**
|
/**
|
||||||
|
@ -29,6 +29,7 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
@JsonPropertyOrder({
|
@JsonPropertyOrder({
|
||||||
BigCatAllOf.JSON_PROPERTY_KIND
|
BigCatAllOf.JSON_PROPERTY_KIND
|
||||||
})
|
})
|
||||||
|
@javax.annotation.concurrent.Immutable
|
||||||
|
|
||||||
public class BigCatAllOf {
|
public class BigCatAllOf {
|
||||||
/**
|
/**
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
* https://openapi-generator.tech
|
* https://openapi-generator.tech
|
||||||
*
|
*
|
||||||
* OpenAPI Generator version: 4.2.2-SNAPSHOT
|
* OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
*
|
*
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*
|
*
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
* https://openapi-generator.tech
|
* https://openapi-generator.tech
|
||||||
*
|
*
|
||||||
* OpenAPI Generator version: 4.2.2-SNAPSHOT
|
* OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
*
|
*
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*
|
*
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
* https://openapi-generator.tech
|
* https://openapi-generator.tech
|
||||||
*
|
*
|
||||||
* OpenAPI Generator version: 4.2.2-SNAPSHOT
|
* OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
*
|
*
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*
|
*
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
* https://openapi-generator.tech
|
* https://openapi-generator.tech
|
||||||
*
|
*
|
||||||
* OpenAPI Generator version: 4.2.2-SNAPSHOT
|
* OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
*
|
*
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*
|
*
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* OpenAPI Generator version: 4.2.2-SNAPSHOT
|
* OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* OpenAPI Generator version: 4.2.2-SNAPSHOT
|
* OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* OpenAPI Generator version: 4.2.2-SNAPSHOT
|
* OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* The version of the OpenAPI document: 1.0.0
|
* The version of the OpenAPI document: 1.0.0
|
||||||
*
|
*
|
||||||
* Generated by: https://openapi-generator.tech
|
* Generated by: https://openapi-generator.tech
|
||||||
* OpenAPI Generator version: 4.2.2-SNAPSHOT
|
* OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
|
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by: https://openapi-generator.tech
|
||||||
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
|
|
||||||
=end
|
=end
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
|
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by: https://openapi-generator.tech
|
||||||
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
|
|
||||||
=end
|
=end
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
|
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by: https://openapi-generator.tech
|
||||||
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
|
|
||||||
=end
|
=end
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
|
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by: https://openapi-generator.tech
|
||||||
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
|
|
||||||
=end
|
=end
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
|
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by: https://openapi-generator.tech
|
||||||
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
|
|
||||||
=end
|
=end
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
|
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by: https://openapi-generator.tech
|
||||||
OpenAPI Generator version: 4.2.2-SNAPSHOT
|
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
||||||
|
|
||||||
=end
|
=end
|
||||||
|
|
||||||
|
@ -181,6 +181,8 @@ Class | Method | HTTP request | Description
|
|||||||
* OpenAPIServer\Model\ArrayOfArrayOfNumberOnly
|
* OpenAPIServer\Model\ArrayOfArrayOfNumberOnly
|
||||||
* OpenAPIServer\Model\ArrayOfNumberOnly
|
* OpenAPIServer\Model\ArrayOfNumberOnly
|
||||||
* OpenAPIServer\Model\ArrayTest
|
* OpenAPIServer\Model\ArrayTest
|
||||||
|
* OpenAPIServer\Model\BigCat
|
||||||
|
* OpenAPIServer\Model\BigCatAllOf
|
||||||
* OpenAPIServer\Model\Capitalization
|
* OpenAPIServer\Model\Capitalization
|
||||||
* OpenAPIServer\Model\Cat
|
* OpenAPIServer\Model\Cat
|
||||||
* OpenAPIServer\Model\CatAllOf
|
* OpenAPIServer\Model\CatAllOf
|
||||||
|
40
samples/server/petstore/php-slim4/lib/Model/BigCat.php
Normal file
40
samples/server/petstore/php-slim4/lib/Model/BigCat.php
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* BigCat
|
||||||
|
*
|
||||||
|
* PHP version 7.1
|
||||||
|
*
|
||||||
|
* @package OpenAPIServer\Model
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
*/
|
||||||
|
namespace OpenAPIServer\Model;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* BigCat
|
||||||
|
*
|
||||||
|
* @package OpenAPIServer\Model
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
|
*/
|
||||||
|
class BigCat
|
||||||
|
{
|
||||||
|
|
||||||
|
/** @var string $className */
|
||||||
|
private $className;
|
||||||
|
|
||||||
|
/** @var string $color */
|
||||||
|
private $color;
|
||||||
|
|
||||||
|
/** @var bool $declawed */
|
||||||
|
private $declawed;
|
||||||
|
|
||||||
|
/** @var string $kind */
|
||||||
|
private $kind;
|
||||||
|
}
|
31
samples/server/petstore/php-slim4/lib/Model/BigCatAllOf.php
Normal file
31
samples/server/petstore/php-slim4/lib/Model/BigCatAllOf.php
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* BigCatAllOf
|
||||||
|
*
|
||||||
|
* PHP version 7.1
|
||||||
|
*
|
||||||
|
* @package OpenAPIServer\Model
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
*/
|
||||||
|
namespace OpenAPIServer\Model;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* BigCatAllOf
|
||||||
|
*
|
||||||
|
* @package OpenAPIServer\Model
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
|
*/
|
||||||
|
class BigCatAllOf
|
||||||
|
{
|
||||||
|
|
||||||
|
/** @var string $kind */
|
||||||
|
private $kind;
|
||||||
|
}
|
@ -0,0 +1,85 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* BigCatAllOfTest
|
||||||
|
*
|
||||||
|
* PHP version 7.1
|
||||||
|
*
|
||||||
|
* @package OpenAPIServer\Model
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
* Please update the test case below to test the model.
|
||||||
|
*/
|
||||||
|
namespace OpenAPIServer\Model;
|
||||||
|
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
use OpenAPIServer\Model\BigCatAllOf;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* BigCatAllOfTest Class Doc Comment
|
||||||
|
*
|
||||||
|
* @package OpenAPIServer\Model
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
|
*
|
||||||
|
* @coversDefaultClass \OpenAPIServer\Model\BigCatAllOf
|
||||||
|
*/
|
||||||
|
class BigCatAllOfTest extends TestCase
|
||||||
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Setup before running any test cases
|
||||||
|
*/
|
||||||
|
public static function setUpBeforeClass()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Setup before running each test case
|
||||||
|
*/
|
||||||
|
public function setUp()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clean up after running each test case
|
||||||
|
*/
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clean up after running all test cases
|
||||||
|
*/
|
||||||
|
public static function tearDownAfterClass()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test "BigCatAllOf"
|
||||||
|
*/
|
||||||
|
public function testBigCatAllOf()
|
||||||
|
{
|
||||||
|
$testBigCatAllOf = new BigCatAllOf();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test attribute "kind"
|
||||||
|
*/
|
||||||
|
public function testPropertyKind()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
106
samples/server/petstore/php-slim4/test/Model/BigCatTest.php
Normal file
106
samples/server/petstore/php-slim4/test/Model/BigCatTest.php
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* BigCatTest
|
||||||
|
*
|
||||||
|
* PHP version 7.1
|
||||||
|
*
|
||||||
|
* @package OpenAPIServer\Model
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NOTE: This class is auto generated by the openapi generator program.
|
||||||
|
* https://github.com/openapitools/openapi-generator
|
||||||
|
* Please update the test case below to test the model.
|
||||||
|
*/
|
||||||
|
namespace OpenAPIServer\Model;
|
||||||
|
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
use OpenAPIServer\Model\BigCat;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* BigCatTest Class Doc Comment
|
||||||
|
*
|
||||||
|
* @package OpenAPIServer\Model
|
||||||
|
* @author OpenAPI Generator team
|
||||||
|
* @link https://github.com/openapitools/openapi-generator
|
||||||
|
*
|
||||||
|
* @coversDefaultClass \OpenAPIServer\Model\BigCat
|
||||||
|
*/
|
||||||
|
class BigCatTest extends TestCase
|
||||||
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Setup before running any test cases
|
||||||
|
*/
|
||||||
|
public static function setUpBeforeClass()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Setup before running each test case
|
||||||
|
*/
|
||||||
|
public function setUp()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clean up after running each test case
|
||||||
|
*/
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clean up after running all test cases
|
||||||
|
*/
|
||||||
|
public static function tearDownAfterClass()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test "BigCat"
|
||||||
|
*/
|
||||||
|
public function testBigCat()
|
||||||
|
{
|
||||||
|
$testBigCat = new BigCat();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test attribute "className"
|
||||||
|
*/
|
||||||
|
public function testPropertyClassName()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test attribute "color"
|
||||||
|
*/
|
||||||
|
public function testPropertyColor()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test attribute "declawed"
|
||||||
|
*/
|
||||||
|
public function testPropertyDeclawed()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test attribute "kind"
|
||||||
|
*/
|
||||||
|
public function testPropertyKind()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user