Skip to content

Commit a29d9a9

Browse files
committed
[samples] Regenerate
1 parent 4f27939 commit a29d9a9

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

samples/client/petstore/csharp-netcore/OpenAPIClientCore/docs/ChildCat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**Name** | **string** | | [optional]
7-
**PetType** | **string** | | [optional] [default to PetTypeEnum.ChildCat]
7+
**PetType** | **string** | | [default to PetTypeEnum.ChildCat]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/ChildCat.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public enum PetTypeEnum
4949
/// Gets or Sets PetType
5050
/// </summary>
5151
[DataMember(Name = "pet_type", EmitDefaultValue = false)]
52-
public PetTypeEnum? PetType { get; set; }
52+
public PetTypeEnum PetType { get; set; }
5353
/// <summary>
5454
/// Initializes a new instance of the <see cref="ChildCat" /> class.
5555
/// </summary>
@@ -59,11 +59,11 @@ protected ChildCat() { }
5959
/// Initializes a new instance of the <see cref="ChildCat" /> class.
6060
/// </summary>
6161
/// <param name="name">name.</param>
62-
/// <param name="petType">petType (default to PetTypeEnum.ChildCat).</param>
63-
public ChildCat(string name = default(string), PetTypeEnum? petType = PetTypeEnum.ChildCat) : base()
62+
/// <param name="petType">petType (required) (default to PetTypeEnum.ChildCat).</param>
63+
public ChildCat(string name = default(string), PetTypeEnum petType = PetTypeEnum.ChildCat) : base()
6464
{
65-
this.Name = name;
6665
this.PetType = petType;
66+
this.Name = name;
6767
}
6868

6969
/// <summary>

samples/openapi3/client/petstore/java/jersey2-java8/docs/ChildCat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**name** | **String** | | [optional]
10-
**petType** | [**String**](#String) | | [optional]
10+
**petType** | [**String**](#String) | |
1111

1212

1313

samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ChildCat.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,9 @@ public ChildCat petType(String petType) {
9797
* Get petType
9898
* @return petType
9999
**/
100-
@javax.annotation.Nullable
101-
@ApiModelProperty(value = "")
100+
@ApiModelProperty(required = true, value = "")
102101
@JsonProperty(JSON_PROPERTY_PET_TYPE)
103-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
102+
@JsonInclude(value = JsonInclude.Include.ALWAYS)
104103

105104
public String getPetType() {
106105
return petType;

0 commit comments

Comments
 (0)