forked from loafle/openapi-generator-original
		
	[JavaSpring] Generate deprecated property, annotation and javadoc. (#16493)
* [JavaSpring] Generate deprecated annotation and doc properties * [JavaSpring] Generate deprecated for @Schema * [JavaSpring] Add sample folder to workflow --------- Co-authored-by: Diego Urban <d.urban@carepay.com>
This commit is contained in:
		
							parent
							
								
									270238e060
								
							
						
					
					
						commit
						3817e40f47
					
				
							
								
								
									
										7
									
								
								.github/workflows/samples-spring.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/samples-spring.yaml
									
									
									
									
										vendored
									
									
								
							@ -3,10 +3,16 @@ name: Samples Java Spring
 | 
				
			|||||||
on:
 | 
					on:
 | 
				
			||||||
  push:
 | 
					  push:
 | 
				
			||||||
    paths:
 | 
					    paths:
 | 
				
			||||||
 | 
					      # clients
 | 
				
			||||||
 | 
					      - 'samples/client/petstore/spring*/**'
 | 
				
			||||||
 | 
					      # servers
 | 
				
			||||||
      - 'samples/server/petstore/spring*/**'
 | 
					      - 'samples/server/petstore/spring*/**'
 | 
				
			||||||
      - 'samples/openapi3/server/petstore/spring*/**'
 | 
					      - 'samples/openapi3/server/petstore/spring*/**'
 | 
				
			||||||
  pull_request:
 | 
					  pull_request:
 | 
				
			||||||
    paths:
 | 
					    paths:
 | 
				
			||||||
 | 
					      # clients
 | 
				
			||||||
 | 
					      - 'samples/client/petstore/spring*/**'
 | 
				
			||||||
 | 
					      # servers
 | 
				
			||||||
      - 'samples/server/petstore/spring*/**'
 | 
					      - 'samples/server/petstore/spring*/**'
 | 
				
			||||||
      - 'samples/openapi3/server/petstore/spring*/**'
 | 
					      - 'samples/openapi3/server/petstore/spring*/**'
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
@ -27,6 +33,7 @@ jobs:
 | 
				
			|||||||
          - samples/openapi3/client/petstore/spring-cloud-async
 | 
					          - samples/openapi3/client/petstore/spring-cloud-async
 | 
				
			||||||
          - samples/openapi3/client/petstore/spring-cloud-spring-pageable
 | 
					          - samples/openapi3/client/petstore/spring-cloud-spring-pageable
 | 
				
			||||||
          - samples/client/petstore/spring-cloud-tags
 | 
					          - samples/client/petstore/spring-cloud-tags
 | 
				
			||||||
 | 
					          - samples/client/petstore/spring-cloud-deprecated
 | 
				
			||||||
          # servers
 | 
					          # servers
 | 
				
			||||||
          - samples/server/petstore/springboot
 | 
					          - samples/server/petstore/springboot
 | 
				
			||||||
          - samples/openapi3/server/petstore/springboot
 | 
					          - samples/openapi3/server/petstore/springboot
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										13
									
								
								bin/configs/spring-cloud-deprecated-oas3.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								bin/configs/spring-cloud-deprecated-oas3.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					generatorName: spring
 | 
				
			||||||
 | 
					library: spring-cloud
 | 
				
			||||||
 | 
					outputDir: samples/client/petstore/spring-cloud-deprecated
 | 
				
			||||||
 | 
					inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-deprecated-fields.yaml
 | 
				
			||||||
 | 
					templateDir: modules/openapi-generator/src/main/resources/JavaSpring
 | 
				
			||||||
 | 
					additionalProperties:
 | 
				
			||||||
 | 
					  groupId: org.openapitools.openapi3
 | 
				
			||||||
 | 
					  documentationProvider: springdoc
 | 
				
			||||||
 | 
					  artifactId: spring-cloud-deprecated
 | 
				
			||||||
 | 
					  interfaceOnly: "true"
 | 
				
			||||||
 | 
					  singleContentTypes: "true"
 | 
				
			||||||
 | 
					  hideGenerationTimestamp: "true"
 | 
				
			||||||
 | 
					  useTags: "true"
 | 
				
			||||||
@ -161,6 +161,9 @@ public interface {{classname}} {
 | 
				
			|||||||
        {{#notes}}
 | 
					        {{#notes}}
 | 
				
			||||||
        description = "{{{.}}}",
 | 
					        description = "{{{.}}}",
 | 
				
			||||||
        {{/notes}}
 | 
					        {{/notes}}
 | 
				
			||||||
 | 
					        {{#isDeprecated}}
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
 | 
					        {{/isDeprecated}}
 | 
				
			||||||
        {{#vendorExtensions.x-tags.size}}
 | 
					        {{#vendorExtensions.x-tags.size}}
 | 
				
			||||||
        tags = { {{#vendorExtensions.x-tags}}"{{tag}}"{{^-last}}, {{/-last}}{{/vendorExtensions.x-tags}} },
 | 
					        tags = { {{#vendorExtensions.x-tags}}"{{tag}}"{{^-last}}, {{/-last}}{{/vendorExtensions.x-tags}} },
 | 
				
			||||||
        {{/vendorExtensions.x-tags.size}}
 | 
					        {{/vendorExtensions.x-tags.size}}
 | 
				
			||||||
 | 
				
			|||||||
@ -1 +1 @@
 | 
				
			|||||||
{{#swagger2AnnotationLibrary}}@Parameter(name = "{{{baseName}}}", description = "{{{description}}}"{{#required}}, required = true{{/required}}{{#isPathParam}}, in = ParameterIn.PATH{{/isPathParam}}{{#isQueryParam}}, in = ParameterIn.QUERY{{/isQueryParam}}{{#isCookieParam}}, in = ParameterIn.COOKIE{{/isCookieParam}}{{#isHeaderParam}}, in = ParameterIn.HEADER{{/isHeaderParam}}){{/swagger2AnnotationLibrary}}{{#swagger1AnnotationLibrary}}@ApiParam(value = "{{{description}}}"{{#required}}, required = true{{/required}}{{#allowableValues}}, {{> allowableValues }}{{/allowableValues}}{{#defaultValue}}, defaultValue = "{{{.}}}"{{/defaultValue}}){{/swagger1AnnotationLibrary}}
 | 
					{{#swagger2AnnotationLibrary}}@Parameter(name = "{{{baseName}}}"{{#isDeprecated}}, deprecated = true{{/isDeprecated}}, description = "{{{description}}}"{{#required}}, required = true{{/required}}{{#isPathParam}}, in = ParameterIn.PATH{{/isPathParam}}{{#isQueryParam}}, in = ParameterIn.QUERY{{/isQueryParam}}{{#isCookieParam}}, in = ParameterIn.COOKIE{{/isCookieParam}}{{#isHeaderParam}}, in = ParameterIn.HEADER{{/isHeaderParam}}){{/swagger2AnnotationLibrary}}{{#swagger1AnnotationLibrary}}@ApiParam(value = "{{{description}}}"{{#required}}, required = true{{/required}}{{#allowableValues}}, {{> allowableValues }}{{/allowableValues}}{{#defaultValue}}, defaultValue = "{{{.}}}"{{/defaultValue}}){{/swagger1AnnotationLibrary}}
 | 
				
			||||||
@ -1 +1 @@
 | 
				
			|||||||
{{#isPathParam}}{{#useBeanValidation}}{{>beanValidationPathParams}}{{/useBeanValidation}}{{>paramDoc}} @PathVariable("{{baseName}}"){{>dateTimeParam}} {{>optionalDataType}} {{paramName}}{{/isPathParam}}
 | 
					{{#isPathParam}}{{#useBeanValidation}}{{>beanValidationPathParams}}{{/useBeanValidation}}{{>paramDoc}} @PathVariable("{{baseName}}"){{>dateTimeParam}}{{#isDeprecated}} @Deprecated{{/isDeprecated}} {{>optionalDataType}} {{paramName}}{{/isPathParam}}
 | 
				
			||||||
@ -1,13 +1,17 @@
 | 
				
			|||||||
/**
 | 
					/**
 | 
				
			||||||
 * {{description}}{{^description}}{{classname}}{{/description}}
 | 
					 * {{description}}{{^description}}{{classname}}{{/description}}{{#isDeprecated}}
 | 
				
			||||||
 | 
					 * @deprecated{{/isDeprecated}}
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
{{>additionalModelTypeAnnotations}}
 | 
					{{>additionalModelTypeAnnotations}}
 | 
				
			||||||
{{#description}}
 | 
					{{#description}}
 | 
				
			||||||
 | 
					{{#isDeprecated}}
 | 
				
			||||||
 | 
					@Deprecated
 | 
				
			||||||
 | 
					{{/isDeprecated}}
 | 
				
			||||||
{{#swagger1AnnotationLibrary}}
 | 
					{{#swagger1AnnotationLibrary}}
 | 
				
			||||||
@ApiModel(description = "{{{description}}}")
 | 
					@ApiModel(description = "{{{description}}}")
 | 
				
			||||||
{{/swagger1AnnotationLibrary}}
 | 
					{{/swagger1AnnotationLibrary}}
 | 
				
			||||||
{{#swagger2AnnotationLibrary}}
 | 
					{{#swagger2AnnotationLibrary}}
 | 
				
			||||||
@Schema({{#name}}name = "{{name}}", {{/name}}description = "{{{description}}}")
 | 
					@Schema({{#name}}name = "{{name}}", {{/name}}description = "{{{description}}}"{{#deprecated}}, deprecated = true{{/deprecated}})
 | 
				
			||||||
{{/swagger2AnnotationLibrary}}
 | 
					{{/swagger2AnnotationLibrary}}
 | 
				
			||||||
{{/description}}
 | 
					{{/description}}
 | 
				
			||||||
{{#discriminator}}
 | 
					{{#discriminator}}
 | 
				
			||||||
@ -55,6 +59,9 @@ public class {{classname}}{{#parent}} extends {{{parent}}}{{/parent}}{{^parent}}
 | 
				
			|||||||
  {{#vendorExtensions.x-field-extra-annotation}}
 | 
					  {{#vendorExtensions.x-field-extra-annotation}}
 | 
				
			||||||
  {{{vendorExtensions.x-field-extra-annotation}}}
 | 
					  {{{vendorExtensions.x-field-extra-annotation}}}
 | 
				
			||||||
  {{/vendorExtensions.x-field-extra-annotation}}
 | 
					  {{/vendorExtensions.x-field-extra-annotation}}
 | 
				
			||||||
 | 
					  {{#deprecated}}
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
 | 
					  {{/deprecated}}
 | 
				
			||||||
  {{#isContainer}}
 | 
					  {{#isContainer}}
 | 
				
			||||||
  {{#useBeanValidation}}@Valid{{/useBeanValidation}}
 | 
					  {{#useBeanValidation}}@Valid{{/useBeanValidation}}
 | 
				
			||||||
  {{#openApiNullable}}
 | 
					  {{#openApiNullable}}
 | 
				
			||||||
@ -163,6 +170,9 @@ public class {{classname}}{{#parent}} extends {{{parent}}}{{/parent}}{{^parent}}
 | 
				
			|||||||
   * maximum: {{.}}
 | 
					   * maximum: {{.}}
 | 
				
			||||||
  {{/maximum}}
 | 
					  {{/maximum}}
 | 
				
			||||||
   * @return {{name}}
 | 
					   * @return {{name}}
 | 
				
			||||||
 | 
					  {{#deprecated}}
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  {{/deprecated}}
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  {{#vendorExtensions.x-extra-annotation}}
 | 
					  {{#vendorExtensions.x-extra-annotation}}
 | 
				
			||||||
  {{{vendorExtensions.x-extra-annotation}}}
 | 
					  {{{vendorExtensions.x-extra-annotation}}}
 | 
				
			||||||
@ -174,7 +184,7 @@ public class {{classname}}{{#parent}} extends {{{parent}}}{{/parent}}{{^parent}}
 | 
				
			|||||||
  {{#required}}@NotNull{{/required}}
 | 
					  {{#required}}@NotNull{{/required}}
 | 
				
			||||||
  {{/useBeanValidation}}
 | 
					  {{/useBeanValidation}}
 | 
				
			||||||
  {{#swagger2AnnotationLibrary}}
 | 
					  {{#swagger2AnnotationLibrary}}
 | 
				
			||||||
  @Schema(name = "{{{baseName}}}"{{#isReadOnly}}, accessMode = Schema.AccessMode.READ_ONLY{{/isReadOnly}}{{#example}}, example = "{{{.}}}"{{/example}}{{#description}}, description = "{{{.}}}"{{/description}}, requiredMode = {{#required}}Schema.RequiredMode.REQUIRED{{/required}}{{^required}}Schema.RequiredMode.NOT_REQUIRED{{/required}})
 | 
					  @Schema(name = "{{{baseName}}}"{{#isReadOnly}}, accessMode = Schema.AccessMode.READ_ONLY{{/isReadOnly}}{{#example}}, example = "{{{.}}}"{{/example}}{{#description}}, description = "{{{.}}}"{{/description}}{{#deprecated}}, deprecated = true{{/deprecated}}, requiredMode = {{#required}}Schema.RequiredMode.REQUIRED{{/required}}{{^required}}Schema.RequiredMode.NOT_REQUIRED{{/required}})
 | 
				
			||||||
  {{/swagger2AnnotationLibrary}}
 | 
					  {{/swagger2AnnotationLibrary}}
 | 
				
			||||||
  {{#swagger1AnnotationLibrary}}
 | 
					  {{#swagger1AnnotationLibrary}}
 | 
				
			||||||
  @ApiModelProperty({{#example}}example = "{{{.}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}{{#isReadOnly}}readOnly = {{{isReadOnly}}}, {{/isReadOnly}}value = "{{{description}}}")
 | 
					  @ApiModelProperty({{#example}}example = "{{{.}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}{{#isReadOnly}}readOnly = {{{isReadOnly}}}, {{/isReadOnly}}value = "{{{description}}}")
 | 
				
			||||||
@ -182,13 +192,24 @@ public class {{classname}}{{#parent}} extends {{{parent}}}{{/parent}}{{^parent}}
 | 
				
			|||||||
  {{#jackson}}
 | 
					  {{#jackson}}
 | 
				
			||||||
  @JsonProperty("{{baseName}}")
 | 
					  @JsonProperty("{{baseName}}")
 | 
				
			||||||
  {{/jackson}}
 | 
					  {{/jackson}}
 | 
				
			||||||
 | 
					  {{#deprecated}}
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
 | 
					  {{/deprecated}}
 | 
				
			||||||
  public {{>nullableDataType}} {{getter}}() {
 | 
					  public {{>nullableDataType}} {{getter}}() {
 | 
				
			||||||
    return {{name}};
 | 
					    return {{name}};
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {{#deprecated}}
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  {{/deprecated}}
 | 
				
			||||||
  {{#vendorExtensions.x-setter-extra-annotation}}
 | 
					  {{#vendorExtensions.x-setter-extra-annotation}}
 | 
				
			||||||
  {{{vendorExtensions.x-setter-extra-annotation}}}
 | 
					  {{{vendorExtensions.x-setter-extra-annotation}}}
 | 
				
			||||||
  {{/vendorExtensions.x-setter-extra-annotation}}
 | 
					  {{/vendorExtensions.x-setter-extra-annotation}}
 | 
				
			||||||
 | 
					  {{#deprecated}}
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
 | 
					  {{/deprecated}}
 | 
				
			||||||
  public void {{setter}}({{>nullableDataType}} {{name}}) {
 | 
					  public void {{setter}}({{>nullableDataType}} {{name}}) {
 | 
				
			||||||
    this.{{name}} = {{name}};
 | 
					    this.{{name}} = {{name}};
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -1 +1 @@
 | 
				
			|||||||
{{#isQueryParam}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{>paramDoc}}{{#useBeanValidation}} @Valid{{/useBeanValidation}}{{^isModel}} @RequestParam(value = {{#isMap}}""{{/isMap}}{{^isMap}}"{{baseName}}"{{/isMap}}{{#required}}, required = true{{/required}}{{^required}}, required = false{{/required}}{{#defaultValue}}, defaultValue = "{{{.}}}"{{/defaultValue}}){{/isModel}}{{>dateTimeParam}} {{>optionalDataType}} {{paramName}}{{/isQueryParam}}
 | 
					{{#isQueryParam}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{>paramDoc}}{{#useBeanValidation}} @Valid{{/useBeanValidation}}{{^isModel}} @RequestParam(value = {{#isMap}}""{{/isMap}}{{^isMap}}"{{baseName}}"{{/isMap}}{{#required}}, required = true{{/required}}{{^required}}, required = false{{/required}}{{#defaultValue}}, defaultValue = "{{{.}}}"{{/defaultValue}}){{/isModel}}{{>dateTimeParam}}{{#isDeprecated}} @Deprecated{{/isDeprecated}} {{>optionalDataType}} {{paramName}}{{/isQueryParam}}
 | 
				
			||||||
@ -144,6 +144,7 @@ paths:
 | 
				
			|||||||
      operationId: getPetById
 | 
					      operationId: getPetById
 | 
				
			||||||
      parameters:
 | 
					      parameters:
 | 
				
			||||||
        - name: petId
 | 
					        - name: petId
 | 
				
			||||||
 | 
					          deprecated: true
 | 
				
			||||||
          in: path
 | 
					          in: path
 | 
				
			||||||
          description: ID of pet to return
 | 
					          description: ID of pet to return
 | 
				
			||||||
          required: true
 | 
					          required: true
 | 
				
			||||||
@ -426,6 +427,7 @@ paths:
 | 
				
			|||||||
            pattern: '^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$'
 | 
					            pattern: '^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$'
 | 
				
			||||||
        - name: password
 | 
					        - name: password
 | 
				
			||||||
          in: query
 | 
					          in: query
 | 
				
			||||||
 | 
					          deprecated: true
 | 
				
			||||||
          description: The password for login in clear text
 | 
					          description: The password for login in clear text
 | 
				
			||||||
          required: true
 | 
					          required: true
 | 
				
			||||||
          schema:
 | 
					          schema:
 | 
				
			||||||
 | 
				
			|||||||
@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					# OpenAPI Generator Ignore
 | 
				
			||||||
 | 
					# Generated by openapi-generator https://github.com/openapitools/openapi-generator
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Use this file to prevent files from being overwritten by the generator.
 | 
				
			||||||
 | 
					# The patterns follow closely to .gitignore or .dockerignore.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# As an example, the C# client generator defines ApiClient.cs.
 | 
				
			||||||
 | 
					# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
 | 
				
			||||||
 | 
					#ApiClient.cs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# You can match any string of characters against a directory, file or extension with a single asterisk (*):
 | 
				
			||||||
 | 
					#foo/*/qux
 | 
				
			||||||
 | 
					# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
 | 
				
			||||||
 | 
					#foo/**/qux
 | 
				
			||||||
 | 
					# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# You can also negate patterns with an exclamation (!).
 | 
				
			||||||
 | 
					# For example, you can ignore all files in a docs folder with the file extension .md:
 | 
				
			||||||
 | 
					#docs/*.md
 | 
				
			||||||
 | 
					# Then explicitly reverse the ignore rule for a single file:
 | 
				
			||||||
 | 
					#!docs/README.md
 | 
				
			||||||
@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					README.md
 | 
				
			||||||
 | 
					pom.xml
 | 
				
			||||||
 | 
					src/main/java/org/openapitools/api/PetApi.java
 | 
				
			||||||
 | 
					src/main/java/org/openapitools/api/StoreApi.java
 | 
				
			||||||
 | 
					src/main/java/org/openapitools/api/UserApi.java
 | 
				
			||||||
 | 
					src/main/java/org/openapitools/model/Category.java
 | 
				
			||||||
 | 
					src/main/java/org/openapitools/model/ModelApiResponse.java
 | 
				
			||||||
 | 
					src/main/java/org/openapitools/model/Order.java
 | 
				
			||||||
 | 
					src/main/java/org/openapitools/model/Pet.java
 | 
				
			||||||
 | 
					src/main/java/org/openapitools/model/Tag.java
 | 
				
			||||||
 | 
					src/main/java/org/openapitools/model/User.java
 | 
				
			||||||
@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					7.0.1-SNAPSHOT
 | 
				
			||||||
							
								
								
									
										26
									
								
								samples/client/petstore/spring-cloud-deprecated/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								samples/client/petstore/spring-cloud-deprecated/README.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,26 @@
 | 
				
			|||||||
 | 
					# OpenAPI generated API stub
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Spring Framework stub
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Overview
 | 
				
			||||||
 | 
					This code was generated by the [OpenAPI Generator](https://openapi-generator.tech) project.
 | 
				
			||||||
 | 
					By using the [OpenAPI-Spec](https://openapis.org), you can easily generate an API stub.
 | 
				
			||||||
 | 
					This is an example of building API stub interfaces in Java using the Spring framework.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The stubs generated can be used in your existing Spring-MVC or Spring-Boot application to create controller endpoints
 | 
				
			||||||
 | 
					by adding ```@Controller``` classes that implement the interface. Eg:
 | 
				
			||||||
 | 
					```java
 | 
				
			||||||
 | 
					@Controller
 | 
				
			||||||
 | 
					public class PetController implements PetApi {
 | 
				
			||||||
 | 
					// implement all PetApi methods
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					You can also use the interface to create [Spring-Cloud Feign clients](http://projects.spring.io/spring-cloud/spring-cloud.html#spring-cloud-feign-inheritance).Eg:
 | 
				
			||||||
 | 
					```java
 | 
				
			||||||
 | 
					@FeignClient(name="pet", url="http://petstore.swagger.io/v2")
 | 
				
			||||||
 | 
					public interface PetClient extends PetApi {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
							
								
								
									
										82
									
								
								samples/client/petstore/spring-cloud-deprecated/pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										82
									
								
								samples/client/petstore/spring-cloud-deprecated/pom.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,82 @@
 | 
				
			|||||||
 | 
					<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 | 
				
			||||||
 | 
					    <modelVersion>4.0.0</modelVersion>
 | 
				
			||||||
 | 
					    <groupId>org.openapitools.openapi3</groupId>
 | 
				
			||||||
 | 
					    <artifactId>spring-cloud-deprecated</artifactId>
 | 
				
			||||||
 | 
					    <packaging>jar</packaging>
 | 
				
			||||||
 | 
					    <name>spring-cloud-deprecated</name>
 | 
				
			||||||
 | 
					    <version>1.0.0</version>
 | 
				
			||||||
 | 
					    <properties>
 | 
				
			||||||
 | 
					        <java.version>1.8</java.version>
 | 
				
			||||||
 | 
					        <maven.compiler.source>${java.version}</maven.compiler.source>
 | 
				
			||||||
 | 
					        <maven.compiler.target>${java.version}</maven.compiler.target>
 | 
				
			||||||
 | 
					        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
				
			||||||
 | 
					        <springdoc.version>1.6.14</springdoc.version>
 | 
				
			||||||
 | 
					    </properties>
 | 
				
			||||||
 | 
					    <parent>
 | 
				
			||||||
 | 
					        <groupId>org.springframework.boot</groupId>
 | 
				
			||||||
 | 
					        <artifactId>spring-boot-starter-parent</artifactId>
 | 
				
			||||||
 | 
					        <version>2.7.6</version>
 | 
				
			||||||
 | 
					        <relativePath/> <!-- lookup parent from repository -->
 | 
				
			||||||
 | 
					    </parent>
 | 
				
			||||||
 | 
					    <build>
 | 
				
			||||||
 | 
					        <sourceDirectory>src/main/java</sourceDirectory>
 | 
				
			||||||
 | 
					    </build>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <dependencyManagement>
 | 
				
			||||||
 | 
					        <dependencies>
 | 
				
			||||||
 | 
					            <dependency>
 | 
				
			||||||
 | 
					                <groupId>org.springframework.cloud</groupId>
 | 
				
			||||||
 | 
					                <artifactId>spring-cloud-starter-parent</artifactId>
 | 
				
			||||||
 | 
					                <version>2021.0.5</version>
 | 
				
			||||||
 | 
					                <type>pom</type>
 | 
				
			||||||
 | 
					                <scope>import</scope>
 | 
				
			||||||
 | 
					            </dependency>
 | 
				
			||||||
 | 
					        </dependencies>
 | 
				
			||||||
 | 
					    </dependencyManagement>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <dependencies>
 | 
				
			||||||
 | 
					        <!--SpringDoc dependencies -->
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					            <groupId>org.springdoc</groupId>
 | 
				
			||||||
 | 
					            <artifactId>springdoc-openapi-ui</artifactId>
 | 
				
			||||||
 | 
					            <version>${springdoc.version}</version>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					        <!-- @Nullable annotation -->
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					            <groupId>com.google.code.findbugs</groupId>
 | 
				
			||||||
 | 
					            <artifactId>jsr305</artifactId>
 | 
				
			||||||
 | 
					            <version>3.0.2</version>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					            <groupId>org.springframework.cloud</groupId>
 | 
				
			||||||
 | 
					            <artifactId>spring-cloud-starter-openfeign</artifactId>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					            <groupId>org.springframework.security</groupId>
 | 
				
			||||||
 | 
					            <artifactId>spring-security-oauth2-client</artifactId>
 | 
				
			||||||
 | 
					            <version>5.7.8</version>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					            <groupId>com.fasterxml.jackson.datatype</groupId>
 | 
				
			||||||
 | 
					            <artifactId>jackson-datatype-jsr310</artifactId>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					            <groupId>org.openapitools</groupId>
 | 
				
			||||||
 | 
					            <artifactId>jackson-databind-nullable</artifactId>
 | 
				
			||||||
 | 
					            <version>0.2.6</version>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					            <groupId>org.springframework.boot</groupId>
 | 
				
			||||||
 | 
					            <artifactId>spring-boot-starter-validation</artifactId>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					            <groupId>org.springframework.data</groupId>
 | 
				
			||||||
 | 
					            <artifactId>spring-data-commons</artifactId>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					            <groupId>org.springframework.boot</groupId>
 | 
				
			||||||
 | 
					            <artifactId>spring-boot-starter-test</artifactId>
 | 
				
			||||||
 | 
					            <scope>test</scope>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					    </dependencies>
 | 
				
			||||||
 | 
					</project>
 | 
				
			||||||
@ -0,0 +1,308 @@
 | 
				
			|||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.0.1-SNAPSHOT).
 | 
				
			||||||
 | 
					 * https://openapi-generator.tech
 | 
				
			||||||
 | 
					 * Do not edit the class manually.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					package org.openapitools.api;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import org.openapitools.model.ModelApiResponse;
 | 
				
			||||||
 | 
					import org.openapitools.model.Pet;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.ExternalDocumentation;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.Operation;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.Parameter;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.Parameters;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.ArraySchema;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Content;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Schema;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.responses.ApiResponse;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.security.SecurityRequirement;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.tags.Tag;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.enums.ParameterIn;
 | 
				
			||||||
 | 
					import org.springframework.http.HttpStatus;
 | 
				
			||||||
 | 
					import org.springframework.http.MediaType;
 | 
				
			||||||
 | 
					import org.springframework.http.ResponseEntity;
 | 
				
			||||||
 | 
					import org.springframework.validation.annotation.Validated;
 | 
				
			||||||
 | 
					import org.springframework.web.bind.annotation.*;
 | 
				
			||||||
 | 
					import org.springframework.web.context.request.NativeWebRequest;
 | 
				
			||||||
 | 
					import org.springframework.web.multipart.MultipartFile;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import javax.validation.Valid;
 | 
				
			||||||
 | 
					import javax.validation.constraints.*;
 | 
				
			||||||
 | 
					import java.util.List;
 | 
				
			||||||
 | 
					import java.util.Map;
 | 
				
			||||||
 | 
					import java.util.Optional;
 | 
				
			||||||
 | 
					import javax.annotation.Generated;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
 | 
				
			||||||
 | 
					@Validated
 | 
				
			||||||
 | 
					@Tag(name = "pet", description = "Everything about your Pets")
 | 
				
			||||||
 | 
					public interface PetApi {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * POST /pet : Add a new pet to the store
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param pet Pet object that needs to be added to the store (required)
 | 
				
			||||||
 | 
					     * @return Invalid input (status code 405)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "addPet",
 | 
				
			||||||
 | 
					        summary = "Add a new pet to the store",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "pet" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "405", description = "Invalid input")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "petstore_auth", scopes={ "write:pets", "read:pets" })
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.POST,
 | 
				
			||||||
 | 
					        value = "/pet",
 | 
				
			||||||
 | 
					        consumes = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> addPet(
 | 
				
			||||||
 | 
					        @Parameter(name = "Pet", description = "Pet object that needs to be added to the store", required = true) @Valid @RequestBody Pet pet
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * DELETE /pet/{petId} : Deletes a pet
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param petId Pet id to delete (required)
 | 
				
			||||||
 | 
					     * @param apiKey  (optional)
 | 
				
			||||||
 | 
					     * @return Invalid pet value (status code 400)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "deletePet",
 | 
				
			||||||
 | 
					        summary = "Deletes a pet",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "pet" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid pet value")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "petstore_auth", scopes={ "write:pets", "read:pets" })
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.DELETE,
 | 
				
			||||||
 | 
					        value = "/pet/{petId}"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> deletePet(
 | 
				
			||||||
 | 
					        @Parameter(name = "petId", description = "Pet id to delete", required = true, in = ParameterIn.PATH) @PathVariable("petId") Long petId,
 | 
				
			||||||
 | 
					        @Parameter(name = "api_key", description = "", in = ParameterIn.HEADER) @RequestHeader(value = "api_key", required = false) String apiKey
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * GET /pet/findByStatus : Finds Pets by status
 | 
				
			||||||
 | 
					     * Multiple status values can be provided with comma separated strings
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param status Status values that need to be considered for filter (required)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     *         or Invalid status value (status code 400)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "findPetsByStatus",
 | 
				
			||||||
 | 
					        summary = "Finds Pets by status",
 | 
				
			||||||
 | 
					        description = "Multiple status values can be provided with comma separated strings",
 | 
				
			||||||
 | 
					        tags = { "pet" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/xml", array = @ArraySchema(schema = @Schema(implementation = Pet.class))),
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/json", array = @ArraySchema(schema = @Schema(implementation = Pet.class)))
 | 
				
			||||||
 | 
					            }),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid status value")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "petstore_auth", scopes={ "read:pets" })
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.GET,
 | 
				
			||||||
 | 
					        value = "/pet/findByStatus",
 | 
				
			||||||
 | 
					        produces = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
 | 
					        @NotNull @Parameter(name = "status", description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * GET /pet/findByTags : Finds Pets by tags
 | 
				
			||||||
 | 
					     * Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param tags Tags to filter by (required)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     *         or Invalid tag value (status code 400)
 | 
				
			||||||
 | 
					     * @deprecated
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Deprecated
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
 | 
					        tags = { "pet" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/xml", array = @ArraySchema(schema = @Schema(implementation = Pet.class))),
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/json", array = @ArraySchema(schema = @Schema(implementation = Pet.class)))
 | 
				
			||||||
 | 
					            }),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid tag value")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "petstore_auth", scopes={ "read:pets" })
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.GET,
 | 
				
			||||||
 | 
					        value = "/pet/findByTags",
 | 
				
			||||||
 | 
					        produces = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<List<Pet>> findPetsByTags(
 | 
				
			||||||
 | 
					        @NotNull @Parameter(name = "tags", description = "Tags to filter by", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "tags", required = true) List<String> tags
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * GET /pet/{petId} : Find pet by ID
 | 
				
			||||||
 | 
					     * Returns a single pet
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param petId ID of pet to return (required)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     *         or Invalid ID supplied (status code 400)
 | 
				
			||||||
 | 
					     *         or Pet not found (status code 404)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "getPetById",
 | 
				
			||||||
 | 
					        summary = "Find pet by ID",
 | 
				
			||||||
 | 
					        description = "Returns a single pet",
 | 
				
			||||||
 | 
					        tags = { "pet" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/xml", schema = @Schema(implementation = Pet.class)),
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/json", schema = @Schema(implementation = Pet.class))
 | 
				
			||||||
 | 
					            }),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid ID supplied"),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "404", description = "Pet not found")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "api_key")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.GET,
 | 
				
			||||||
 | 
					        value = "/pet/{petId}",
 | 
				
			||||||
 | 
					        produces = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Pet> getPetById(
 | 
				
			||||||
 | 
					        @Parameter(name = "petId", deprecated = true, description = "ID of pet to return", required = true, in = ParameterIn.PATH) @PathVariable("petId") @Deprecated Long petId
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * PUT /pet : Update an existing pet
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param pet Pet object that needs to be added to the store (required)
 | 
				
			||||||
 | 
					     * @return Invalid ID supplied (status code 400)
 | 
				
			||||||
 | 
					     *         or Pet not found (status code 404)
 | 
				
			||||||
 | 
					     *         or Validation exception (status code 405)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "updatePet",
 | 
				
			||||||
 | 
					        summary = "Update an existing pet",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "pet" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid ID supplied"),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "404", description = "Pet not found"),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "405", description = "Validation exception")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "petstore_auth", scopes={ "write:pets", "read:pets" })
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.PUT,
 | 
				
			||||||
 | 
					        value = "/pet",
 | 
				
			||||||
 | 
					        consumes = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> updatePet(
 | 
				
			||||||
 | 
					        @Parameter(name = "Pet", description = "Pet object that needs to be added to the store", required = true) @Valid @RequestBody Pet pet
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * POST /pet/{petId} : Updates a pet in the store with form data
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param petId ID of pet that needs to be updated (required)
 | 
				
			||||||
 | 
					     * @param name Updated name of the pet (optional)
 | 
				
			||||||
 | 
					     * @param status Updated status of the pet (optional)
 | 
				
			||||||
 | 
					     * @return Invalid input (status code 405)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "updatePetWithForm",
 | 
				
			||||||
 | 
					        summary = "Updates a pet in the store with form data",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "pet" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "405", description = "Invalid input")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "petstore_auth", scopes={ "write:pets", "read:pets" })
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.POST,
 | 
				
			||||||
 | 
					        value = "/pet/{petId}",
 | 
				
			||||||
 | 
					        consumes = "application/x-www-form-urlencoded"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> updatePetWithForm(
 | 
				
			||||||
 | 
					        @Parameter(name = "petId", description = "ID of pet that needs to be updated", required = true, in = ParameterIn.PATH) @PathVariable("petId") Long petId,
 | 
				
			||||||
 | 
					        @Parameter(name = "name", description = "Updated name of the pet") @Valid @RequestParam(value = "name", required = false) String name,
 | 
				
			||||||
 | 
					        @Parameter(name = "status", description = "Updated status of the pet") @Valid @RequestParam(value = "status", required = false) String status
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * POST /pet/{petId}/uploadImage : uploads an image
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param petId ID of pet to update (required)
 | 
				
			||||||
 | 
					     * @param additionalMetadata Additional data to pass to server (optional)
 | 
				
			||||||
 | 
					     * @param file file to upload (optional)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "uploadFile",
 | 
				
			||||||
 | 
					        summary = "uploads an image",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "pet" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/json", schema = @Schema(implementation = ModelApiResponse.class))
 | 
				
			||||||
 | 
					            })
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "petstore_auth", scopes={ "write:pets", "read:pets" })
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.POST,
 | 
				
			||||||
 | 
					        value = "/pet/{petId}/uploadImage",
 | 
				
			||||||
 | 
					        produces = "application/json",
 | 
				
			||||||
 | 
					        consumes = "multipart/form-data"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<ModelApiResponse> uploadFile(
 | 
				
			||||||
 | 
					        @Parameter(name = "petId", description = "ID of pet to update", required = true, in = ParameterIn.PATH) @PathVariable("petId") Long petId,
 | 
				
			||||||
 | 
					        @Parameter(name = "additionalMetadata", description = "Additional data to pass to server") @Valid @RequestParam(value = "additionalMetadata", required = false) String additionalMetadata,
 | 
				
			||||||
 | 
					        @Parameter(name = "file", description = "file to upload") @RequestPart(value = "file", required = false) MultipartFile file
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,162 @@
 | 
				
			|||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.0.1-SNAPSHOT).
 | 
				
			||||||
 | 
					 * https://openapi-generator.tech
 | 
				
			||||||
 | 
					 * Do not edit the class manually.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					package org.openapitools.api;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.util.Map;
 | 
				
			||||||
 | 
					import org.openapitools.model.Order;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.ExternalDocumentation;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.Operation;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.Parameter;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.Parameters;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.ArraySchema;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Content;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Schema;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.responses.ApiResponse;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.security.SecurityRequirement;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.tags.Tag;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.enums.ParameterIn;
 | 
				
			||||||
 | 
					import org.springframework.http.HttpStatus;
 | 
				
			||||||
 | 
					import org.springframework.http.MediaType;
 | 
				
			||||||
 | 
					import org.springframework.http.ResponseEntity;
 | 
				
			||||||
 | 
					import org.springframework.validation.annotation.Validated;
 | 
				
			||||||
 | 
					import org.springframework.web.bind.annotation.*;
 | 
				
			||||||
 | 
					import org.springframework.web.context.request.NativeWebRequest;
 | 
				
			||||||
 | 
					import org.springframework.web.multipart.MultipartFile;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import javax.validation.Valid;
 | 
				
			||||||
 | 
					import javax.validation.constraints.*;
 | 
				
			||||||
 | 
					import java.util.List;
 | 
				
			||||||
 | 
					import java.util.Map;
 | 
				
			||||||
 | 
					import java.util.Optional;
 | 
				
			||||||
 | 
					import javax.annotation.Generated;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
 | 
				
			||||||
 | 
					@Validated
 | 
				
			||||||
 | 
					@Tag(name = "store", description = "Access to Petstore orders")
 | 
				
			||||||
 | 
					public interface StoreApi {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * DELETE /store/order/{orderId} : Delete purchase order by ID
 | 
				
			||||||
 | 
					     * For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param orderId ID of the order that needs to be deleted (required)
 | 
				
			||||||
 | 
					     * @return Invalid ID supplied (status code 400)
 | 
				
			||||||
 | 
					     *         or Order not found (status code 404)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "deleteOrder",
 | 
				
			||||||
 | 
					        summary = "Delete purchase order by ID",
 | 
				
			||||||
 | 
					        description = "For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors",
 | 
				
			||||||
 | 
					        tags = { "store" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid ID supplied"),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "404", description = "Order not found")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.DELETE,
 | 
				
			||||||
 | 
					        value = "/store/order/{orderId}"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> deleteOrder(
 | 
				
			||||||
 | 
					        @Parameter(name = "orderId", description = "ID of the order that needs to be deleted", required = true, in = ParameterIn.PATH) @PathVariable("orderId") String orderId
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * GET /store/inventory : Returns pet inventories by status
 | 
				
			||||||
 | 
					     * Returns a map of status codes to quantities
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "getInventory",
 | 
				
			||||||
 | 
					        summary = "Returns pet inventories by status",
 | 
				
			||||||
 | 
					        description = "Returns a map of status codes to quantities",
 | 
				
			||||||
 | 
					        tags = { "store" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/json", schema = @Schema(implementation = Map.class))
 | 
				
			||||||
 | 
					            })
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "api_key")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.GET,
 | 
				
			||||||
 | 
					        value = "/store/inventory",
 | 
				
			||||||
 | 
					        produces = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Map<String, Integer>> getInventory(
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * GET /store/order/{orderId} : Find purchase order by ID
 | 
				
			||||||
 | 
					     * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param orderId ID of pet that needs to be fetched (required)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     *         or Invalid ID supplied (status code 400)
 | 
				
			||||||
 | 
					     *         or Order not found (status code 404)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "getOrderById",
 | 
				
			||||||
 | 
					        summary = "Find purchase order by ID",
 | 
				
			||||||
 | 
					        description = "For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions",
 | 
				
			||||||
 | 
					        tags = { "store" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/xml", schema = @Schema(implementation = Order.class)),
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/json", schema = @Schema(implementation = Order.class))
 | 
				
			||||||
 | 
					            }),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid ID supplied"),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "404", description = "Order not found")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.GET,
 | 
				
			||||||
 | 
					        value = "/store/order/{orderId}",
 | 
				
			||||||
 | 
					        produces = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Order> getOrderById(
 | 
				
			||||||
 | 
					        @Min(1L) @Max(5L) @Parameter(name = "orderId", description = "ID of pet that needs to be fetched", required = true, in = ParameterIn.PATH) @PathVariable("orderId") Long orderId
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * POST /store/order : Place an order for a pet
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param order order placed for purchasing the pet (required)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     *         or Invalid Order (status code 400)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "placeOrder",
 | 
				
			||||||
 | 
					        summary = "Place an order for a pet",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "store" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/xml", schema = @Schema(implementation = Order.class)),
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/json", schema = @Schema(implementation = Order.class))
 | 
				
			||||||
 | 
					            }),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid Order")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.POST,
 | 
				
			||||||
 | 
					        value = "/store/order",
 | 
				
			||||||
 | 
					        produces = "application/json",
 | 
				
			||||||
 | 
					        consumes = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Order> placeOrder(
 | 
				
			||||||
 | 
					        @Parameter(name = "Order", description = "order placed for purchasing the pet", required = true) @Valid @RequestBody Order order
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,283 @@
 | 
				
			|||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.0.1-SNAPSHOT).
 | 
				
			||||||
 | 
					 * https://openapi-generator.tech
 | 
				
			||||||
 | 
					 * Do not edit the class manually.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					package org.openapitools.api;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.time.OffsetDateTime;
 | 
				
			||||||
 | 
					import org.openapitools.model.User;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.ExternalDocumentation;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.Operation;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.Parameter;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.Parameters;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.ArraySchema;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Content;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Schema;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.responses.ApiResponse;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.security.SecurityRequirement;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.tags.Tag;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.enums.ParameterIn;
 | 
				
			||||||
 | 
					import org.springframework.http.HttpStatus;
 | 
				
			||||||
 | 
					import org.springframework.http.MediaType;
 | 
				
			||||||
 | 
					import org.springframework.http.ResponseEntity;
 | 
				
			||||||
 | 
					import org.springframework.validation.annotation.Validated;
 | 
				
			||||||
 | 
					import org.springframework.web.bind.annotation.*;
 | 
				
			||||||
 | 
					import org.springframework.web.context.request.NativeWebRequest;
 | 
				
			||||||
 | 
					import org.springframework.web.multipart.MultipartFile;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import javax.validation.Valid;
 | 
				
			||||||
 | 
					import javax.validation.constraints.*;
 | 
				
			||||||
 | 
					import java.util.List;
 | 
				
			||||||
 | 
					import java.util.Map;
 | 
				
			||||||
 | 
					import java.util.Optional;
 | 
				
			||||||
 | 
					import javax.annotation.Generated;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
 | 
				
			||||||
 | 
					@Validated
 | 
				
			||||||
 | 
					@Tag(name = "user", description = "Operations about user")
 | 
				
			||||||
 | 
					public interface UserApi {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * POST /user : Create user
 | 
				
			||||||
 | 
					     * This can only be done by the logged in user.
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param user Created user object (required)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "createUser",
 | 
				
			||||||
 | 
					        summary = "Create user",
 | 
				
			||||||
 | 
					        description = "This can only be done by the logged in user.",
 | 
				
			||||||
 | 
					        tags = { "user" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "default", description = "successful operation")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "auth_cookie")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.POST,
 | 
				
			||||||
 | 
					        value = "/user",
 | 
				
			||||||
 | 
					        consumes = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> createUser(
 | 
				
			||||||
 | 
					        @Parameter(name = "User", description = "Created user object", required = true) @Valid @RequestBody User user
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * POST /user/createWithArray : Creates list of users with given input array
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param user List of user object (required)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "createUsersWithArrayInput",
 | 
				
			||||||
 | 
					        summary = "Creates list of users with given input array",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "user" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "default", description = "successful operation")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "auth_cookie")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.POST,
 | 
				
			||||||
 | 
					        value = "/user/createWithArray",
 | 
				
			||||||
 | 
					        consumes = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> createUsersWithArrayInput(
 | 
				
			||||||
 | 
					        @Parameter(name = "User", description = "List of user object", required = true) @Valid @RequestBody List<User> user
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * POST /user/createWithList : Creates list of users with given input array
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param user List of user object (required)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "createUsersWithListInput",
 | 
				
			||||||
 | 
					        summary = "Creates list of users with given input array",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "user" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "default", description = "successful operation")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "auth_cookie")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.POST,
 | 
				
			||||||
 | 
					        value = "/user/createWithList",
 | 
				
			||||||
 | 
					        consumes = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> createUsersWithListInput(
 | 
				
			||||||
 | 
					        @Parameter(name = "User", description = "List of user object", required = true) @Valid @RequestBody List<User> user
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * DELETE /user/{username} : Delete user
 | 
				
			||||||
 | 
					     * This can only be done by the logged in user.
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param username The name that needs to be deleted (required)
 | 
				
			||||||
 | 
					     * @return Invalid username supplied (status code 400)
 | 
				
			||||||
 | 
					     *         or User not found (status code 404)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "deleteUser",
 | 
				
			||||||
 | 
					        summary = "Delete user",
 | 
				
			||||||
 | 
					        description = "This can only be done by the logged in user.",
 | 
				
			||||||
 | 
					        tags = { "user" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid username supplied"),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "404", description = "User not found")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "auth_cookie")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.DELETE,
 | 
				
			||||||
 | 
					        value = "/user/{username}"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> deleteUser(
 | 
				
			||||||
 | 
					        @Parameter(name = "username", description = "The name that needs to be deleted", required = true, in = ParameterIn.PATH) @PathVariable("username") String username
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * GET /user/{username} : Get user by user name
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param username The name that needs to be fetched. Use user1 for testing. (required)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     *         or Invalid username supplied (status code 400)
 | 
				
			||||||
 | 
					     *         or User not found (status code 404)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "getUserByName",
 | 
				
			||||||
 | 
					        summary = "Get user by user name",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "user" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/xml", schema = @Schema(implementation = User.class)),
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/json", schema = @Schema(implementation = User.class))
 | 
				
			||||||
 | 
					            }),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid username supplied"),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "404", description = "User not found")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.GET,
 | 
				
			||||||
 | 
					        value = "/user/{username}",
 | 
				
			||||||
 | 
					        produces = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<User> getUserByName(
 | 
				
			||||||
 | 
					        @Parameter(name = "username", description = "The name that needs to be fetched. Use user1 for testing.", required = true, in = ParameterIn.PATH) @PathVariable("username") String username
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * GET /user/login : Logs user into the system
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param username The user name for login (required)
 | 
				
			||||||
 | 
					     * @param password The password for login in clear text (required)
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     *         or Invalid username/password supplied (status code 400)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "loginUser",
 | 
				
			||||||
 | 
					        summary = "Logs user into the system",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "user" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/xml", schema = @Schema(implementation = String.class)),
 | 
				
			||||||
 | 
					                @Content(mediaType = "application/json", schema = @Schema(implementation = String.class))
 | 
				
			||||||
 | 
					            }),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid username/password supplied")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.GET,
 | 
				
			||||||
 | 
					        value = "/user/login",
 | 
				
			||||||
 | 
					        produces = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<String> loginUser(
 | 
				
			||||||
 | 
					        @NotNull @Pattern(regexp = "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$") @Parameter(name = "username", description = "The user name for login", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "username", required = true) String username,
 | 
				
			||||||
 | 
					        @NotNull @Parameter(name = "password", deprecated = true, description = "The password for login in clear text", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "password", required = true) @Deprecated String password
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * GET /user/logout : Logs out current logged in user session
 | 
				
			||||||
 | 
					     * 
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @return successful operation (status code 200)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "logoutUser",
 | 
				
			||||||
 | 
					        summary = "Logs out current logged in user session",
 | 
				
			||||||
 | 
					        description = "",
 | 
				
			||||||
 | 
					        tags = { "user" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "default", description = "successful operation")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "auth_cookie")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.GET,
 | 
				
			||||||
 | 
					        value = "/user/logout"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> logoutUser(
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * PUT /user/{username} : Updated user
 | 
				
			||||||
 | 
					     * This can only be done by the logged in user.
 | 
				
			||||||
 | 
					     *
 | 
				
			||||||
 | 
					     * @param username name that need to be deleted (required)
 | 
				
			||||||
 | 
					     * @param user Updated user object (required)
 | 
				
			||||||
 | 
					     * @return Invalid user supplied (status code 400)
 | 
				
			||||||
 | 
					     *         or User not found (status code 404)
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @Operation(
 | 
				
			||||||
 | 
					        operationId = "updateUser",
 | 
				
			||||||
 | 
					        summary = "Updated user",
 | 
				
			||||||
 | 
					        description = "This can only be done by the logged in user.",
 | 
				
			||||||
 | 
					        tags = { "user" },
 | 
				
			||||||
 | 
					        responses = {
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "400", description = "Invalid user supplied"),
 | 
				
			||||||
 | 
					            @ApiResponse(responseCode = "404", description = "User not found")
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        security = {
 | 
				
			||||||
 | 
					            @SecurityRequirement(name = "auth_cookie")
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    @RequestMapping(
 | 
				
			||||||
 | 
					        method = RequestMethod.PUT,
 | 
				
			||||||
 | 
					        value = "/user/{username}",
 | 
				
			||||||
 | 
					        consumes = "application/json"
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
 | 
					    ResponseEntity<Void> updateUser(
 | 
				
			||||||
 | 
					        @Parameter(name = "username", description = "name that need to be deleted", required = true, in = ParameterIn.PATH) @PathVariable("username") String username,
 | 
				
			||||||
 | 
					        @Parameter(name = "User", description = "Updated user object", required = true) @Valid @RequestBody User user
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,108 @@
 | 
				
			|||||||
 | 
					package org.openapitools.model;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.net.URI;
 | 
				
			||||||
 | 
					import java.util.Objects;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonProperty;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonCreator;
 | 
				
			||||||
 | 
					import org.openapitools.jackson.nullable.JsonNullable;
 | 
				
			||||||
 | 
					import java.time.OffsetDateTime;
 | 
				
			||||||
 | 
					import javax.validation.Valid;
 | 
				
			||||||
 | 
					import javax.validation.constraints.*;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.util.*;
 | 
				
			||||||
 | 
					import javax.annotation.Generated;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * A category for a pet
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Schema(name = "Category", description = "A category for a pet")
 | 
				
			||||||
 | 
					@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
 | 
				
			||||||
 | 
					public class Category {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Long id;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private String name;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Category id(Long id) {
 | 
				
			||||||
 | 
					    this.id = id;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get id
 | 
				
			||||||
 | 
					   * @return id
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("id")
 | 
				
			||||||
 | 
					  public Long getId() {
 | 
				
			||||||
 | 
					    return id;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setId(Long id) {
 | 
				
			||||||
 | 
					    this.id = id;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Category name(String name) {
 | 
				
			||||||
 | 
					    this.name = name;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get name
 | 
				
			||||||
 | 
					   * @return name
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Pattern(regexp = "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$") 
 | 
				
			||||||
 | 
					  @Schema(name = "name", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("name")
 | 
				
			||||||
 | 
					  public String getName() {
 | 
				
			||||||
 | 
					    return name;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setName(String name) {
 | 
				
			||||||
 | 
					    this.name = name;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public boolean equals(Object o) {
 | 
				
			||||||
 | 
					    if (this == o) {
 | 
				
			||||||
 | 
					      return true;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    if (o == null || getClass() != o.getClass()) {
 | 
				
			||||||
 | 
					      return false;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    Category category = (Category) o;
 | 
				
			||||||
 | 
					    return Objects.equals(this.id, category.id) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.name, category.name);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public int hashCode() {
 | 
				
			||||||
 | 
					    return Objects.hash(id, name);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public String toString() {
 | 
				
			||||||
 | 
					    StringBuilder sb = new StringBuilder();
 | 
				
			||||||
 | 
					    sb.append("class Category {\n");
 | 
				
			||||||
 | 
					    sb.append("    id: ").append(toIndentedString(id)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    name: ").append(toIndentedString(name)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("}");
 | 
				
			||||||
 | 
					    return sb.toString();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Convert the given object to string with each line indented by 4 spaces
 | 
				
			||||||
 | 
					   * (except the first line).
 | 
				
			||||||
 | 
					   */
 | 
				
			||||||
 | 
					  private String toIndentedString(Object o) {
 | 
				
			||||||
 | 
					    if (o == null) {
 | 
				
			||||||
 | 
					      return "null";
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return o.toString().replace("\n", "\n    ");
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,134 @@
 | 
				
			|||||||
 | 
					package org.openapitools.model;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.net.URI;
 | 
				
			||||||
 | 
					import java.util.Objects;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonProperty;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonCreator;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonTypeName;
 | 
				
			||||||
 | 
					import org.openapitools.jackson.nullable.JsonNullable;
 | 
				
			||||||
 | 
					import java.time.OffsetDateTime;
 | 
				
			||||||
 | 
					import javax.validation.Valid;
 | 
				
			||||||
 | 
					import javax.validation.constraints.*;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.util.*;
 | 
				
			||||||
 | 
					import javax.annotation.Generated;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * Describes the result of uploading an image resource
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Schema(name = "ApiResponse", description = "Describes the result of uploading an image resource")
 | 
				
			||||||
 | 
					@JsonTypeName("ApiResponse")
 | 
				
			||||||
 | 
					@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
 | 
				
			||||||
 | 
					public class ModelApiResponse {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Integer code;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private String type;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private String message;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public ModelApiResponse code(Integer code) {
 | 
				
			||||||
 | 
					    this.code = code;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get code
 | 
				
			||||||
 | 
					   * @return code
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "code", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("code")
 | 
				
			||||||
 | 
					  public Integer getCode() {
 | 
				
			||||||
 | 
					    return code;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setCode(Integer code) {
 | 
				
			||||||
 | 
					    this.code = code;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public ModelApiResponse type(String type) {
 | 
				
			||||||
 | 
					    this.type = type;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get type
 | 
				
			||||||
 | 
					   * @return type
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "type", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("type")
 | 
				
			||||||
 | 
					  public String getType() {
 | 
				
			||||||
 | 
					    return type;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setType(String type) {
 | 
				
			||||||
 | 
					    this.type = type;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public ModelApiResponse message(String message) {
 | 
				
			||||||
 | 
					    this.message = message;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get message
 | 
				
			||||||
 | 
					   * @return message
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "message", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("message")
 | 
				
			||||||
 | 
					  public String getMessage() {
 | 
				
			||||||
 | 
					    return message;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setMessage(String message) {
 | 
				
			||||||
 | 
					    this.message = message;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public boolean equals(Object o) {
 | 
				
			||||||
 | 
					    if (this == o) {
 | 
				
			||||||
 | 
					      return true;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    if (o == null || getClass() != o.getClass()) {
 | 
				
			||||||
 | 
					      return false;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    ModelApiResponse _apiResponse = (ModelApiResponse) o;
 | 
				
			||||||
 | 
					    return Objects.equals(this.code, _apiResponse.code) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.type, _apiResponse.type) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.message, _apiResponse.message);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public int hashCode() {
 | 
				
			||||||
 | 
					    return Objects.hash(code, type, message);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public String toString() {
 | 
				
			||||||
 | 
					    StringBuilder sb = new StringBuilder();
 | 
				
			||||||
 | 
					    sb.append("class ModelApiResponse {\n");
 | 
				
			||||||
 | 
					    sb.append("    code: ").append(toIndentedString(code)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    type: ").append(toIndentedString(type)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    message: ").append(toIndentedString(message)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("}");
 | 
				
			||||||
 | 
					    return sb.toString();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Convert the given object to string with each line indented by 4 spaces
 | 
				
			||||||
 | 
					   * (except the first line).
 | 
				
			||||||
 | 
					   */
 | 
				
			||||||
 | 
					  private String toIndentedString(Object o) {
 | 
				
			||||||
 | 
					    if (o == null) {
 | 
				
			||||||
 | 
					      return "null";
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return o.toString().replace("\n", "\n    ");
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,247 @@
 | 
				
			|||||||
 | 
					package org.openapitools.model;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.net.URI;
 | 
				
			||||||
 | 
					import java.util.Objects;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonProperty;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonCreator;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonValue;
 | 
				
			||||||
 | 
					import java.time.OffsetDateTime;
 | 
				
			||||||
 | 
					import org.springframework.format.annotation.DateTimeFormat;
 | 
				
			||||||
 | 
					import org.openapitools.jackson.nullable.JsonNullable;
 | 
				
			||||||
 | 
					import java.time.OffsetDateTime;
 | 
				
			||||||
 | 
					import javax.validation.Valid;
 | 
				
			||||||
 | 
					import javax.validation.constraints.*;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.util.*;
 | 
				
			||||||
 | 
					import javax.annotation.Generated;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * An order for a pets from the pet store
 | 
				
			||||||
 | 
					 * @deprecated
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Deprecated
 | 
				
			||||||
 | 
					@Schema(name = "Order", description = "An order for a pets from the pet store")
 | 
				
			||||||
 | 
					@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
 | 
				
			||||||
 | 
					public class Order {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Long id;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Long petId;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Integer quantity;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
 | 
				
			||||||
 | 
					  private OffsetDateTime shipDate;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Order Status
 | 
				
			||||||
 | 
					   */
 | 
				
			||||||
 | 
					  public enum StatusEnum {
 | 
				
			||||||
 | 
					    PLACED("placed"),
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    APPROVED("approved"),
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    DELIVERED("delivered");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    private String value;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    StatusEnum(String value) {
 | 
				
			||||||
 | 
					      this.value = value;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @JsonValue
 | 
				
			||||||
 | 
					    public String getValue() {
 | 
				
			||||||
 | 
					      return value;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @Override
 | 
				
			||||||
 | 
					    public String toString() {
 | 
				
			||||||
 | 
					      return String.valueOf(value);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @JsonCreator
 | 
				
			||||||
 | 
					    public static StatusEnum fromValue(String value) {
 | 
				
			||||||
 | 
					      for (StatusEnum b : StatusEnum.values()) {
 | 
				
			||||||
 | 
					        if (b.value.equals(value)) {
 | 
				
			||||||
 | 
					          return b;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      throw new IllegalArgumentException("Unexpected value '" + value + "'");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Boolean complete = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Order id(Long id) {
 | 
				
			||||||
 | 
					    this.id = id;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get id
 | 
				
			||||||
 | 
					   * @return id
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("id")
 | 
				
			||||||
 | 
					  public Long getId() {
 | 
				
			||||||
 | 
					    return id;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setId(Long id) {
 | 
				
			||||||
 | 
					    this.id = id;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Order petId(Long petId) {
 | 
				
			||||||
 | 
					    this.petId = petId;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get petId
 | 
				
			||||||
 | 
					   * @return petId
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "petId", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("petId")
 | 
				
			||||||
 | 
					  public Long getPetId() {
 | 
				
			||||||
 | 
					    return petId;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setPetId(Long petId) {
 | 
				
			||||||
 | 
					    this.petId = petId;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Order quantity(Integer quantity) {
 | 
				
			||||||
 | 
					    this.quantity = quantity;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get quantity
 | 
				
			||||||
 | 
					   * @return quantity
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "quantity", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("quantity")
 | 
				
			||||||
 | 
					  public Integer getQuantity() {
 | 
				
			||||||
 | 
					    return quantity;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setQuantity(Integer quantity) {
 | 
				
			||||||
 | 
					    this.quantity = quantity;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Order shipDate(OffsetDateTime shipDate) {
 | 
				
			||||||
 | 
					    this.shipDate = shipDate;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get shipDate
 | 
				
			||||||
 | 
					   * @return shipDate
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Valid 
 | 
				
			||||||
 | 
					  @Schema(name = "shipDate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("shipDate")
 | 
				
			||||||
 | 
					  public OffsetDateTime getShipDate() {
 | 
				
			||||||
 | 
					    return shipDate;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setShipDate(OffsetDateTime shipDate) {
 | 
				
			||||||
 | 
					    this.shipDate = shipDate;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Order status(StatusEnum status) {
 | 
				
			||||||
 | 
					    this.status = status;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Order Status
 | 
				
			||||||
 | 
					   * @return status
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "status", description = "Order Status", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
 | 
					    return status;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
 | 
					    this.status = status;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Order complete(Boolean complete) {
 | 
				
			||||||
 | 
					    this.complete = complete;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get complete
 | 
				
			||||||
 | 
					   * @return complete
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "complete", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("complete")
 | 
				
			||||||
 | 
					  public Boolean getComplete() {
 | 
				
			||||||
 | 
					    return complete;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setComplete(Boolean complete) {
 | 
				
			||||||
 | 
					    this.complete = complete;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public boolean equals(Object o) {
 | 
				
			||||||
 | 
					    if (this == o) {
 | 
				
			||||||
 | 
					      return true;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    if (o == null || getClass() != o.getClass()) {
 | 
				
			||||||
 | 
					      return false;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    Order order = (Order) o;
 | 
				
			||||||
 | 
					    return Objects.equals(this.id, order.id) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.petId, order.petId) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.quantity, order.quantity) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.shipDate, order.shipDate) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.status, order.status) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.complete, order.complete);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public int hashCode() {
 | 
				
			||||||
 | 
					    return Objects.hash(id, petId, quantity, shipDate, status, complete);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public String toString() {
 | 
				
			||||||
 | 
					    StringBuilder sb = new StringBuilder();
 | 
				
			||||||
 | 
					    sb.append("class Order {\n");
 | 
				
			||||||
 | 
					    sb.append("    id: ").append(toIndentedString(id)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    petId: ").append(toIndentedString(petId)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    quantity: ").append(toIndentedString(quantity)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    shipDate: ").append(toIndentedString(shipDate)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    status: ").append(toIndentedString(status)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    complete: ").append(toIndentedString(complete)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("}");
 | 
				
			||||||
 | 
					    return sb.toString();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Convert the given object to string with each line indented by 4 spaces
 | 
				
			||||||
 | 
					   * (except the first line).
 | 
				
			||||||
 | 
					   */
 | 
				
			||||||
 | 
					  private String toIndentedString(Object o) {
 | 
				
			||||||
 | 
					    if (o == null) {
 | 
				
			||||||
 | 
					      return "null";
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return o.toString().replace("\n", "\n    ");
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,284 @@
 | 
				
			|||||||
 | 
					package org.openapitools.model;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.net.URI;
 | 
				
			||||||
 | 
					import java.util.Objects;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonProperty;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonCreator;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonValue;
 | 
				
			||||||
 | 
					import java.util.ArrayList;
 | 
				
			||||||
 | 
					import java.util.Arrays;
 | 
				
			||||||
 | 
					import java.util.List;
 | 
				
			||||||
 | 
					import org.openapitools.model.Category;
 | 
				
			||||||
 | 
					import org.openapitools.model.Tag;
 | 
				
			||||||
 | 
					import org.openapitools.jackson.nullable.JsonNullable;
 | 
				
			||||||
 | 
					import java.time.OffsetDateTime;
 | 
				
			||||||
 | 
					import javax.validation.Valid;
 | 
				
			||||||
 | 
					import javax.validation.constraints.*;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.util.*;
 | 
				
			||||||
 | 
					import javax.annotation.Generated;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * A pet for sale in the pet store
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Schema(name = "Pet", description = "A pet for sale in the pet store")
 | 
				
			||||||
 | 
					@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
 | 
				
			||||||
 | 
					public class Pet {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Long id;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Category category;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private JsonNullable<String> name = JsonNullable.undefined();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
 | 
					  @Valid
 | 
				
			||||||
 | 
					  private List<String> photoUrls = new ArrayList<>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Valid
 | 
				
			||||||
 | 
					  private List<@Valid Tag> tags;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * pet status in the store
 | 
				
			||||||
 | 
					   */
 | 
				
			||||||
 | 
					  public enum StatusEnum {
 | 
				
			||||||
 | 
					    AVAILABLE("available"),
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    PENDING("pending"),
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    SOLD("sold");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    private String value;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    StatusEnum(String value) {
 | 
				
			||||||
 | 
					      this.value = value;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @JsonValue
 | 
				
			||||||
 | 
					    public String getValue() {
 | 
				
			||||||
 | 
					      return value;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @Override
 | 
				
			||||||
 | 
					    public String toString() {
 | 
				
			||||||
 | 
					      return String.valueOf(value);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @JsonCreator
 | 
				
			||||||
 | 
					    public static StatusEnum fromValue(String value) {
 | 
				
			||||||
 | 
					      for (StatusEnum b : StatusEnum.values()) {
 | 
				
			||||||
 | 
					        if (b.value.equals(value)) {
 | 
				
			||||||
 | 
					          return b;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      throw new IllegalArgumentException("Unexpected value '" + value + "'");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Pet() {
 | 
				
			||||||
 | 
					    super();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Constructor with only required parameters
 | 
				
			||||||
 | 
					   */
 | 
				
			||||||
 | 
					  public Pet(String name, List<String> photoUrls) {
 | 
				
			||||||
 | 
					    this.name = JsonNullable.of(name);
 | 
				
			||||||
 | 
					    this.photoUrls = photoUrls;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Pet id(Long id) {
 | 
				
			||||||
 | 
					    this.id = id;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get id
 | 
				
			||||||
 | 
					   * @return id
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("id")
 | 
				
			||||||
 | 
					  public Long getId() {
 | 
				
			||||||
 | 
					    return id;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setId(Long id) {
 | 
				
			||||||
 | 
					    this.id = id;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Pet category(Category category) {
 | 
				
			||||||
 | 
					    this.category = category;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get category
 | 
				
			||||||
 | 
					   * @return category
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Valid 
 | 
				
			||||||
 | 
					  @Schema(name = "category", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("category")
 | 
				
			||||||
 | 
					  public Category getCategory() {
 | 
				
			||||||
 | 
					    return category;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setCategory(Category category) {
 | 
				
			||||||
 | 
					    this.category = category;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Pet name(String name) {
 | 
				
			||||||
 | 
					    this.name = JsonNullable.of(name);
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get name
 | 
				
			||||||
 | 
					   * @return name
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @NotNull 
 | 
				
			||||||
 | 
					  @Schema(name = "name", example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("name")
 | 
				
			||||||
 | 
					  public JsonNullable<String> getName() {
 | 
				
			||||||
 | 
					    return name;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setName(JsonNullable<String> name) {
 | 
				
			||||||
 | 
					    this.name = name;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Pet photoUrls(List<String> photoUrls) {
 | 
				
			||||||
 | 
					    this.photoUrls = photoUrls;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Pet addPhotoUrlsItem(String photoUrlsItem) {
 | 
				
			||||||
 | 
					    if (this.photoUrls == null) {
 | 
				
			||||||
 | 
					      this.photoUrls = new ArrayList<>();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    this.photoUrls.add(photoUrlsItem);
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get photoUrls
 | 
				
			||||||
 | 
					   * @return photoUrls
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @NotNull 
 | 
				
			||||||
 | 
					  @Schema(name = "photoUrls", deprecated = true, requiredMode = Schema.RequiredMode.REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("photoUrls")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
 | 
					  public List<String> getPhotoUrls() {
 | 
				
			||||||
 | 
					    return photoUrls;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
 | 
					  public void setPhotoUrls(List<String> photoUrls) {
 | 
				
			||||||
 | 
					    this.photoUrls = photoUrls;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Pet tags(List<@Valid Tag> tags) {
 | 
				
			||||||
 | 
					    this.tags = tags;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Pet addTagsItem(Tag tagsItem) {
 | 
				
			||||||
 | 
					    if (this.tags == null) {
 | 
				
			||||||
 | 
					      this.tags = new ArrayList<>();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    this.tags.add(tagsItem);
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get tags
 | 
				
			||||||
 | 
					   * @return tags
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Valid 
 | 
				
			||||||
 | 
					  @Schema(name = "tags", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("tags")
 | 
				
			||||||
 | 
					  public List<@Valid Tag> getTags() {
 | 
				
			||||||
 | 
					    return tags;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setTags(List<@Valid Tag> tags) {
 | 
				
			||||||
 | 
					    this.tags = tags;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Pet status(StatusEnum status) {
 | 
				
			||||||
 | 
					    this.status = status;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * pet status in the store
 | 
				
			||||||
 | 
					   * @return status
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
 | 
					    return status;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
 | 
					    this.status = status;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public boolean equals(Object o) {
 | 
				
			||||||
 | 
					    if (this == o) {
 | 
				
			||||||
 | 
					      return true;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    if (o == null || getClass() != o.getClass()) {
 | 
				
			||||||
 | 
					      return false;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    Pet pet = (Pet) o;
 | 
				
			||||||
 | 
					    return Objects.equals(this.id, pet.id) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.category, pet.category) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.name, pet.name) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.photoUrls, pet.photoUrls) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.tags, pet.tags) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.status, pet.status);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public int hashCode() {
 | 
				
			||||||
 | 
					    return Objects.hash(id, category, name, photoUrls, tags, status);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public String toString() {
 | 
				
			||||||
 | 
					    StringBuilder sb = new StringBuilder();
 | 
				
			||||||
 | 
					    sb.append("class Pet {\n");
 | 
				
			||||||
 | 
					    sb.append("    id: ").append(toIndentedString(id)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    category: ").append(toIndentedString(category)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    name: ").append(toIndentedString(name)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    photoUrls: ").append(toIndentedString(photoUrls)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    tags: ").append(toIndentedString(tags)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    status: ").append(toIndentedString(status)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("}");
 | 
				
			||||||
 | 
					    return sb.toString();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Convert the given object to string with each line indented by 4 spaces
 | 
				
			||||||
 | 
					   * (except the first line).
 | 
				
			||||||
 | 
					   */
 | 
				
			||||||
 | 
					  private String toIndentedString(Object o) {
 | 
				
			||||||
 | 
					    if (o == null) {
 | 
				
			||||||
 | 
					      return "null";
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return o.toString().replace("\n", "\n    ");
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,108 @@
 | 
				
			|||||||
 | 
					package org.openapitools.model;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.net.URI;
 | 
				
			||||||
 | 
					import java.util.Objects;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonProperty;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonCreator;
 | 
				
			||||||
 | 
					import org.openapitools.jackson.nullable.JsonNullable;
 | 
				
			||||||
 | 
					import java.time.OffsetDateTime;
 | 
				
			||||||
 | 
					import javax.validation.Valid;
 | 
				
			||||||
 | 
					import javax.validation.constraints.*;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.util.*;
 | 
				
			||||||
 | 
					import javax.annotation.Generated;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * A tag for a pet
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Schema(name = "Tag", description = "A tag for a pet")
 | 
				
			||||||
 | 
					@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
 | 
				
			||||||
 | 
					public class Tag {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Long id;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private String name;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Tag id(Long id) {
 | 
				
			||||||
 | 
					    this.id = id;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get id
 | 
				
			||||||
 | 
					   * @return id
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("id")
 | 
				
			||||||
 | 
					  public Long getId() {
 | 
				
			||||||
 | 
					    return id;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setId(Long id) {
 | 
				
			||||||
 | 
					    this.id = id;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public Tag name(String name) {
 | 
				
			||||||
 | 
					    this.name = name;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get name
 | 
				
			||||||
 | 
					   * @return name
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "name", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("name")
 | 
				
			||||||
 | 
					  public String getName() {
 | 
				
			||||||
 | 
					    return name;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setName(String name) {
 | 
				
			||||||
 | 
					    this.name = name;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public boolean equals(Object o) {
 | 
				
			||||||
 | 
					    if (this == o) {
 | 
				
			||||||
 | 
					      return true;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    if (o == null || getClass() != o.getClass()) {
 | 
				
			||||||
 | 
					      return false;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    Tag tag = (Tag) o;
 | 
				
			||||||
 | 
					    return Objects.equals(this.id, tag.id) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.name, tag.name);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public int hashCode() {
 | 
				
			||||||
 | 
					    return Objects.hash(id, name);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public String toString() {
 | 
				
			||||||
 | 
					    StringBuilder sb = new StringBuilder();
 | 
				
			||||||
 | 
					    sb.append("class Tag {\n");
 | 
				
			||||||
 | 
					    sb.append("    id: ").append(toIndentedString(id)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    name: ").append(toIndentedString(name)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("}");
 | 
				
			||||||
 | 
					    return sb.toString();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Convert the given object to string with each line indented by 4 spaces
 | 
				
			||||||
 | 
					   * (except the first line).
 | 
				
			||||||
 | 
					   */
 | 
				
			||||||
 | 
					  private String toIndentedString(Object o) {
 | 
				
			||||||
 | 
					    if (o == null) {
 | 
				
			||||||
 | 
					      return "null";
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return o.toString().replace("\n", "\n    ");
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -0,0 +1,252 @@
 | 
				
			|||||||
 | 
					package org.openapitools.model;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.net.URI;
 | 
				
			||||||
 | 
					import java.util.Objects;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonProperty;
 | 
				
			||||||
 | 
					import com.fasterxml.jackson.annotation.JsonCreator;
 | 
				
			||||||
 | 
					import org.openapitools.jackson.nullable.JsonNullable;
 | 
				
			||||||
 | 
					import java.time.OffsetDateTime;
 | 
				
			||||||
 | 
					import javax.validation.Valid;
 | 
				
			||||||
 | 
					import javax.validation.constraints.*;
 | 
				
			||||||
 | 
					import io.swagger.v3.oas.annotations.media.Schema;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.util.*;
 | 
				
			||||||
 | 
					import javax.annotation.Generated;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * A User who is purchasing from the pet store
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Schema(name = "User", description = "A User who is purchasing from the pet store")
 | 
				
			||||||
 | 
					@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
 | 
				
			||||||
 | 
					public class User {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Long id;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private String username;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private String firstName;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private String lastName;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private String email;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private String password;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private String phone;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  private Integer userStatus;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public User id(Long id) {
 | 
				
			||||||
 | 
					    this.id = id;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get id
 | 
				
			||||||
 | 
					   * @return id
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("id")
 | 
				
			||||||
 | 
					  public Long getId() {
 | 
				
			||||||
 | 
					    return id;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setId(Long id) {
 | 
				
			||||||
 | 
					    this.id = id;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public User username(String username) {
 | 
				
			||||||
 | 
					    this.username = username;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get username
 | 
				
			||||||
 | 
					   * @return username
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "username", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("username")
 | 
				
			||||||
 | 
					  public String getUsername() {
 | 
				
			||||||
 | 
					    return username;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setUsername(String username) {
 | 
				
			||||||
 | 
					    this.username = username;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public User firstName(String firstName) {
 | 
				
			||||||
 | 
					    this.firstName = firstName;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get firstName
 | 
				
			||||||
 | 
					   * @return firstName
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "firstName", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("firstName")
 | 
				
			||||||
 | 
					  public String getFirstName() {
 | 
				
			||||||
 | 
					    return firstName;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setFirstName(String firstName) {
 | 
				
			||||||
 | 
					    this.firstName = firstName;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public User lastName(String lastName) {
 | 
				
			||||||
 | 
					    this.lastName = lastName;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get lastName
 | 
				
			||||||
 | 
					   * @return lastName
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "lastName", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("lastName")
 | 
				
			||||||
 | 
					  public String getLastName() {
 | 
				
			||||||
 | 
					    return lastName;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setLastName(String lastName) {
 | 
				
			||||||
 | 
					    this.lastName = lastName;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public User email(String email) {
 | 
				
			||||||
 | 
					    this.email = email;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get email
 | 
				
			||||||
 | 
					   * @return email
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "email", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("email")
 | 
				
			||||||
 | 
					  public String getEmail() {
 | 
				
			||||||
 | 
					    return email;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setEmail(String email) {
 | 
				
			||||||
 | 
					    this.email = email;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public User password(String password) {
 | 
				
			||||||
 | 
					    this.password = password;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get password
 | 
				
			||||||
 | 
					   * @return password
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "password", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("password")
 | 
				
			||||||
 | 
					  public String getPassword() {
 | 
				
			||||||
 | 
					    return password;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setPassword(String password) {
 | 
				
			||||||
 | 
					    this.password = password;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public User phone(String phone) {
 | 
				
			||||||
 | 
					    this.phone = phone;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Get phone
 | 
				
			||||||
 | 
					   * @return phone
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "phone", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("phone")
 | 
				
			||||||
 | 
					  public String getPhone() {
 | 
				
			||||||
 | 
					    return phone;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setPhone(String phone) {
 | 
				
			||||||
 | 
					    this.phone = phone;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public User userStatus(Integer userStatus) {
 | 
				
			||||||
 | 
					    this.userStatus = userStatus;
 | 
				
			||||||
 | 
					    return this;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * User Status
 | 
				
			||||||
 | 
					   * @return userStatus
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  @Schema(name = "userStatus", description = "User Status", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
 | 
					  @JsonProperty("userStatus")
 | 
				
			||||||
 | 
					  public Integer getUserStatus() {
 | 
				
			||||||
 | 
					    return userStatus;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public void setUserStatus(Integer userStatus) {
 | 
				
			||||||
 | 
					    this.userStatus = userStatus;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public boolean equals(Object o) {
 | 
				
			||||||
 | 
					    if (this == o) {
 | 
				
			||||||
 | 
					      return true;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    if (o == null || getClass() != o.getClass()) {
 | 
				
			||||||
 | 
					      return false;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    User user = (User) o;
 | 
				
			||||||
 | 
					    return Objects.equals(this.id, user.id) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.username, user.username) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.firstName, user.firstName) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.lastName, user.lastName) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.email, user.email) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.password, user.password) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.phone, user.phone) &&
 | 
				
			||||||
 | 
					        Objects.equals(this.userStatus, user.userStatus);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public int hashCode() {
 | 
				
			||||||
 | 
					    return Objects.hash(id, username, firstName, lastName, email, password, phone, userStatus);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Override
 | 
				
			||||||
 | 
					  public String toString() {
 | 
				
			||||||
 | 
					    StringBuilder sb = new StringBuilder();
 | 
				
			||||||
 | 
					    sb.append("class User {\n");
 | 
				
			||||||
 | 
					    sb.append("    id: ").append(toIndentedString(id)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    username: ").append(toIndentedString(username)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    firstName: ").append(toIndentedString(firstName)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    lastName: ").append(toIndentedString(lastName)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    email: ").append(toIndentedString(email)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    password: ").append(toIndentedString(password)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    phone: ").append(toIndentedString(phone)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("    userStatus: ").append(toIndentedString(userStatus)).append("\n");
 | 
				
			||||||
 | 
					    sb.append("}");
 | 
				
			||||||
 | 
					    return sb.toString();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * Convert the given object to string with each line indented by 4 spaces
 | 
				
			||||||
 | 
					   * (except the first line).
 | 
				
			||||||
 | 
					   */
 | 
				
			||||||
 | 
					  private String toIndentedString(Object o) {
 | 
				
			||||||
 | 
					    if (o == null) {
 | 
				
			||||||
 | 
					      return "null";
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    return o.toString().replace("\n", "\n    ");
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -128,7 +128,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = "application/json"
 | 
					        produces = "application/json"
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull @ApiParam(value = "Status values that need to be considered for filter", required = true, allowableValues = "available, pending, sold") @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @ApiParam(value = "Status values that need to be considered for filter", required = true, allowableValues = "available, pending, sold") @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -78,6 +78,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -216,14 +217,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -128,7 +128,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = "application/json"
 | 
					        produces = "application/json"
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull @ApiParam(value = "Status values that need to be considered for filter", required = true, allowableValues = "available, pending, sold") @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @ApiParam(value = "Status values that need to be considered for filter", required = true, allowableValues = "available, pending, sold") @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -78,6 +78,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -216,14 +217,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -77,6 +77,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -211,13 +212,19 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -79,6 +79,7 @@ public class PetDto {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public PetDto id(Long id) {
 | 
					  public PetDto id(Long id) {
 | 
				
			||||||
@ -201,13 +202,19 @@ public class PetDto {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -77,7 +77,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = "application/json"
 | 
					        produces = "application/json"
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull  @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull  @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -75,6 +75,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -208,13 +209,19 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -133,7 +133,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = "application/json"
 | 
					        produces = "application/json"
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull @Parameter(name = "status", description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @Parameter(name = "status", deprecated = true, description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -151,6 +151,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -77,6 +77,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -215,14 +216,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -134,7 +134,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = "application/json"
 | 
					        produces = "application/json"
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    CompletableFuture<ResponseEntity<List<Pet>>> findPetsByStatus(
 | 
					    CompletableFuture<ResponseEntity<List<Pet>>> findPetsByStatus(
 | 
				
			||||||
        @NotNull @Parameter(name = "status", description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @Parameter(name = "status", deprecated = true, description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -152,6 +152,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -77,6 +77,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -215,14 +216,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -151,6 +151,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -79,6 +79,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet id(Long id) {
 | 
					  public Pet id(Long id) {
 | 
				
			||||||
@ -206,14 +207,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -144,6 +144,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -133,7 +133,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = "application/json"
 | 
					        produces = "application/json"
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull @Parameter(name = "status", description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @Parameter(name = "status", deprecated = true, description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -151,6 +151,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -77,6 +77,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -215,14 +216,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -133,7 +133,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = "application/json"
 | 
					        produces = "application/json"
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull @Parameter(name = "status", description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @Parameter(name = "status", deprecated = true, description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    ) throws Exception;
 | 
					    ) throws Exception;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -151,6 +151,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -77,6 +77,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -215,14 +216,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -157,7 +157,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = "application/json"
 | 
					        produces = "application/json"
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull @Parameter(name = "status", description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @Parameter(name = "status", deprecated = true, description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    ) {
 | 
					    ) {
 | 
				
			||||||
        getRequest().ifPresent(request -> {
 | 
					        getRequest().ifPresent(request -> {
 | 
				
			||||||
            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
					            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
				
			||||||
@ -192,6 +192,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -77,6 +77,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -215,14 +216,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -157,7 +157,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = { "application/xml", "application/json" }
 | 
					        produces = { "application/xml", "application/json" }
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull @Parameter(name = "status", description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @Parameter(name = "status", deprecated = true, description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    ) {
 | 
					    ) {
 | 
				
			||||||
        getRequest().ifPresent(request -> {
 | 
					        getRequest().ifPresent(request -> {
 | 
				
			||||||
            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
					            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
				
			||||||
@ -192,6 +192,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -77,6 +77,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -215,14 +216,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -157,7 +157,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = { "application/xml", "application/json" }
 | 
					        produces = { "application/xml", "application/json" }
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull @Parameter(name = "status", description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @Parameter(name = "status", deprecated = true, description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    ) {
 | 
					    ) {
 | 
				
			||||||
        getRequest().ifPresent(request -> {
 | 
					        getRequest().ifPresent(request -> {
 | 
				
			||||||
            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
					            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
				
			||||||
@ -192,6 +192,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -77,6 +77,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -215,14 +216,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -156,6 +156,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -79,6 +79,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -218,14 +219,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -178,6 +178,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -79,6 +79,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -218,14 +219,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -101,7 +101,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = { "application/xml", "application/json" }
 | 
					        produces = { "application/xml", "application/json" }
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull  @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull  @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    ) {
 | 
					    ) {
 | 
				
			||||||
        getRequest().ifPresent(request -> {
 | 
					        getRequest().ifPresent(request -> {
 | 
				
			||||||
            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
					            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
				
			||||||
 | 
				
			|||||||
@ -75,6 +75,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -208,13 +209,19 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -158,7 +158,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = { "application/xml", "application/json" }
 | 
					        produces = { "application/xml", "application/json" }
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull @Parameter(name = "status", description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @Parameter(name = "status", deprecated = true, description = "Status values that need to be considered for filter", required = true, in = ParameterIn.QUERY) @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    ) {
 | 
					    ) {
 | 
				
			||||||
        getRequest().ifPresent(request -> {
 | 
					        getRequest().ifPresent(request -> {
 | 
				
			||||||
            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
					            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
				
			||||||
@ -193,6 +193,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -77,6 +77,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -215,14 +216,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -91,6 +91,7 @@ public class Pet {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @JacksonXmlProperty(localName = "status")
 | 
					  @JacksonXmlProperty(localName = "status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -229,14 +230,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -150,6 +150,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -79,6 +79,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -218,14 +219,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -79,6 +79,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -218,14 +219,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -80,6 +80,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -219,14 +220,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -80,6 +80,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -219,14 +220,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -135,7 +135,7 @@ public interface PetApi {
 | 
				
			|||||||
    )
 | 
					    )
 | 
				
			||||||
    @ResponseStatus(HttpStatus.OK)
 | 
					    @ResponseStatus(HttpStatus.OK)
 | 
				
			||||||
    default List<Pet> findPetsByStatus(
 | 
					    default List<Pet> findPetsByStatus(
 | 
				
			||||||
        @NotNull @ApiParam(value = "Status values that need to be considered for filter", required = true, allowableValues = "available, pending, sold") @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull @ApiParam(value = "Status values that need to be considered for filter", required = true, allowableValues = "available, pending, sold") @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    ) {
 | 
					    ) {
 | 
				
			||||||
        return getDelegate().findPetsByStatus(status);
 | 
					        return getDelegate().findPetsByStatus(status);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
@ -78,6 +78,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -216,14 +217,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -80,6 +80,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -219,14 +220,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -99,7 +99,7 @@ public interface PetApi {
 | 
				
			|||||||
        produces = { "application/xml", "application/json" }
 | 
					        produces = { "application/xml", "application/json" }
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
					    default ResponseEntity<List<Pet>> findPetsByStatus(
 | 
				
			||||||
        @NotNull  @Valid @RequestParam(value = "status", required = true) List<String> status
 | 
					        @NotNull  @Valid @RequestParam(value = "status", required = true) @Deprecated List<String> status
 | 
				
			||||||
    ) {
 | 
					    ) {
 | 
				
			||||||
        getRequest().ifPresent(request -> {
 | 
					        getRequest().ifPresent(request -> {
 | 
				
			||||||
            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
					            for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) {
 | 
				
			||||||
 | 
				
			|||||||
@ -75,6 +75,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -208,13 +209,19 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -80,6 +80,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -219,14 +220,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -80,6 +80,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -219,14 +220,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -80,6 +80,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -219,14 +220,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -80,6 +80,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -219,14 +220,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -184,6 +184,7 @@ public interface PetApi {
 | 
				
			|||||||
        operationId = "findPetsByTags",
 | 
					        operationId = "findPetsByTags",
 | 
				
			||||||
        summary = "Finds Pets by tags",
 | 
					        summary = "Finds Pets by tags",
 | 
				
			||||||
        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
					        description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
 | 
				
			||||||
 | 
					        deprecated = true,
 | 
				
			||||||
        tags = { "pet" },
 | 
					        tags = { "pet" },
 | 
				
			||||||
        responses = {
 | 
					        responses = {
 | 
				
			||||||
            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
					            @ApiResponse(responseCode = "200", description = "successful operation", content = {
 | 
				
			||||||
 | 
				
			|||||||
@ -79,6 +79,7 @@ public class Pet {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public Pet() {
 | 
					  public Pet() {
 | 
				
			||||||
@ -218,14 +219,20 @@ public class Pet {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
					  @Schema(name = "status", description = "pet status in the store", deprecated = true, requiredMode = Schema.RequiredMode.NOT_REQUIRED)
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -82,6 +82,7 @@ public class PetDto {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  private StatusEnum status;
 | 
					  private StatusEnum status;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  public PetDto() {
 | 
					  public PetDto() {
 | 
				
			||||||
@ -221,14 +222,20 @@ public class PetDto {
 | 
				
			|||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * pet status in the store
 | 
					   * pet status in the store
 | 
				
			||||||
   * @return status
 | 
					   * @return status
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
  */
 | 
					  */
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  @ApiModelProperty(value = "pet status in the store")
 | 
					  @ApiModelProperty(value = "pet status in the store")
 | 
				
			||||||
  @JsonProperty("status")
 | 
					  @JsonProperty("status")
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public StatusEnum getStatus() {
 | 
					  public StatusEnum getStatus() {
 | 
				
			||||||
    return status;
 | 
					    return status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /**
 | 
				
			||||||
 | 
					   * @deprecated
 | 
				
			||||||
 | 
					  */
 | 
				
			||||||
 | 
					  @Deprecated
 | 
				
			||||||
  public void setStatus(StatusEnum status) {
 | 
					  public void setStatus(StatusEnum status) {
 | 
				
			||||||
    this.status = status;
 | 
					    this.status = status;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user