From 5d8b80a5cdda03abea042c43e8c937c0926d4367 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Fri, 18 Mar 2022 09:50:42 +0800 Subject: [PATCH] [Java] rename x-contentType to x-content-type (#11895) * rename x-contentType to x-content-type * undo changes --- docs/generators/groovy.md | 2 +- docs/generators/java-camel.md | 2 +- docs/generators/java-inflector.md | 2 +- docs/generators/java-micronaut-client.md | 2 +- docs/generators/java-micronaut-server.md | 2 +- docs/generators/java-msf4j.md | 2 +- docs/generators/java-pkmst.md | 2 +- docs/generators/java-play-framework.md | 2 +- docs/generators/java-undertow-server.md | 2 +- docs/generators/java-vertx-web.md | 2 +- docs/generators/java-vertx.md | 2 +- docs/generators/java.md | 2 +- docs/generators/jaxrs-cxf-cdi.md | 2 +- docs/generators/jaxrs-cxf-client.md | 2 +- docs/generators/jaxrs-cxf-extended.md | 2 +- docs/generators/jaxrs-cxf.md | 2 +- docs/generators/jaxrs-jersey.md | 2 +- docs/generators/jaxrs-resteasy-eap.md | 2 +- docs/generators/jaxrs-resteasy.md | 2 +- docs/generators/jaxrs-spec.md | 2 +- docs/generators/spring.md | 2 +- .../openapitools/codegen/VendorExtension.java | 2 +- .../languages/AbstractJavaCodegen.java | 2 +- .../Java/libraries/feign/api.mustache | 16 +++--- .../Java/libraries/rest-assured/api.mustache | 6 +-- .../main/resources/JavaSpring/api.mustache | 2 +- .../java-micronaut/client/api.mustache | 6 +-- .../test/controller_test.groovy.mustache | 6 +-- .../main/resources/java-pkmst/api.mustache | 2 +- .../okhttp-gson-streaming/api/openapi.yaml | 2 +- .../java/org/openapitools/api/FakeApi.java | 8 +-- .../java/org/openapitools/api/StoreApi.java | 2 +- .../java/org/openapitools/api/UserApi.java | 8 +-- .../java/apache-httpclient/api/openapi.yaml | 48 ++++++++--------- .../java/feign-no-nullable/api/openapi.yaml | 48 ++++++++--------- .../petstore/java/feign/api/openapi.yaml | 52 +++++++++---------- .../java/google-api-client/api/openapi.yaml | 48 ++++++++--------- .../petstore/java/jersey1/api/openapi.yaml | 48 ++++++++--------- .../api/openapi.yaml | 48 ++++++++--------- .../java/jersey2-java8/api/openapi.yaml | 48 ++++++++--------- .../java/native-async/api/openapi.yaml | 48 ++++++++--------- .../petstore/java/native/api/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi/openapi.yaml | 48 ++++++++--------- .../api/openapi.yaml | 48 ++++++++--------- .../java/okhttp-gson/api/openapi.yaml | 46 ++++++++-------- .../rest-assured-jackson/api/openapi.yaml | 48 ++++++++--------- .../java/rest-assured/api/openapi.yaml | 48 ++++++++--------- .../petstore/java/resteasy/api/openapi.yaml | 48 ++++++++--------- .../resttemplate-withXml/api/openapi.yaml | 48 ++++++++--------- .../java/resttemplate/api/openapi.yaml | 48 ++++++++--------- .../java/retrofit2-play26/api/openapi.yaml | 48 ++++++++--------- .../petstore/java/retrofit2/api/openapi.yaml | 48 ++++++++--------- .../java/retrofit2rx2/api/openapi.yaml | 48 ++++++++--------- .../java/retrofit2rx3/api/openapi.yaml | 48 ++++++++--------- .../java/vertx-no-nullable/api/openapi.yaml | 48 ++++++++--------- .../petstore/java/vertx/api/openapi.yaml | 48 ++++++++--------- .../petstore/java/webclient/api/openapi.yaml | 52 +++++++++---------- .../api/openapi.yaml | 2 +- .../java/jersey2-java8/api/openapi.yaml | 46 ++++++++-------- .../src/main/resources/openapi.yaml | 4 +- .../src/main/resources/openapi.yaml | 18 +++---- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 18 +++---- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 18 +++---- .../public/openapi.json | 18 +++---- .../public/openapi.json | 18 +++---- .../public/openapi.json | 18 +++---- .../public/openapi.json | 4 +- .../public/openapi.json | 48 ++++++++--------- .../public/openapi.json | 18 +++---- .../public/openapi.json | 18 +++---- .../public/openapi.json | 18 +++---- .../public/openapi.json | 18 +++---- .../public/openapi.json | 18 +++---- .../java-play-framework/public/openapi.json | 18 +++---- .../src/main/resources/config/openapi.json | 18 +++---- .../src/main/resources/openapi.yaml | 18 +++---- .../src/main/openapi/openapi.yaml | 48 ++++++++--------- .../jaxrs-spec/src/main/openapi/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- .../src/main/resources/openapi.yaml | 48 ++++++++--------- 96 files changed, 1289 insertions(+), 1289 deletions(-) diff --git a/docs/generators/groovy.md b/docs/generators/groovy.md index c6867aba9de..5601e929430 100644 --- a/docs/generators/groovy.md +++ b/docs/generators/groovy.md @@ -72,7 +72,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/java-camel.md b/docs/generators/java-camel.md index 343108669f5..4c767788b96 100644 --- a/docs/generators/java-camel.md +++ b/docs/generators/java-camel.md @@ -105,7 +105,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null |x-spring-paginated|Add org.springframework.data.domain.Pageable to controller method. Can be used to handle page & size query parameters|OPERATION|false diff --git a/docs/generators/java-inflector.md b/docs/generators/java-inflector.md index a5f10eb2521..f5e7de1fbe9 100644 --- a/docs/generators/java-inflector.md +++ b/docs/generators/java-inflector.md @@ -74,7 +74,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/java-micronaut-client.md b/docs/generators/java-micronaut-client.md index 5607d168262..ac62abd1709 100644 --- a/docs/generators/java-micronaut-client.md +++ b/docs/generators/java-micronaut-client.md @@ -83,7 +83,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/java-micronaut-server.md b/docs/generators/java-micronaut-server.md index 8a6033ce181..a146585b20c 100644 --- a/docs/generators/java-micronaut-server.md +++ b/docs/generators/java-micronaut-server.md @@ -85,7 +85,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/java-msf4j.md b/docs/generators/java-msf4j.md index e71fff6368d..e79e48e357a 100644 --- a/docs/generators/java-msf4j.md +++ b/docs/generators/java-msf4j.md @@ -80,7 +80,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/java-pkmst.md b/docs/generators/java-pkmst.md index 1d16a60ddb0..a00faea8198 100644 --- a/docs/generators/java-pkmst.md +++ b/docs/generators/java-pkmst.md @@ -81,7 +81,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/java-play-framework.md b/docs/generators/java-play-framework.md index 0eb7d884406..2b8e848307e 100644 --- a/docs/generators/java-play-framework.md +++ b/docs/generators/java-play-framework.md @@ -84,7 +84,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/java-undertow-server.md b/docs/generators/java-undertow-server.md index c78ba293a0b..7acdd544bfd 100644 --- a/docs/generators/java-undertow-server.md +++ b/docs/generators/java-undertow-server.md @@ -74,7 +74,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/java-vertx-web.md b/docs/generators/java-vertx-web.md index 0b44ea61b1f..1db231f7d8f 100644 --- a/docs/generators/java-vertx-web.md +++ b/docs/generators/java-vertx-web.md @@ -74,7 +74,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/java-vertx.md b/docs/generators/java-vertx.md index e5a2dfab7a6..82a9316778e 100644 --- a/docs/generators/java-vertx.md +++ b/docs/generators/java-vertx.md @@ -77,7 +77,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/java.md b/docs/generators/java.md index 5f12d50e4a1..5184e5f56f7 100644 --- a/docs/generators/java.md +++ b/docs/generators/java.md @@ -95,7 +95,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null |x-webclient-blocking|Specifies if method for specific operation should be blocking or non-blocking(ex: return `Mono/Flux` or `return T/List/Set` & execute `.block()` inside generated method)|OPERATION|false diff --git a/docs/generators/jaxrs-cxf-cdi.md b/docs/generators/jaxrs-cxf-cdi.md index c9e6a1b2114..037561df4e0 100644 --- a/docs/generators/jaxrs-cxf-cdi.md +++ b/docs/generators/jaxrs-cxf-cdi.md @@ -87,7 +87,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/jaxrs-cxf-client.md b/docs/generators/jaxrs-cxf-client.md index 0c7969bbfd4..5a88f8efda7 100644 --- a/docs/generators/jaxrs-cxf-client.md +++ b/docs/generators/jaxrs-cxf-client.md @@ -78,7 +78,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/jaxrs-cxf-extended.md b/docs/generators/jaxrs-cxf-extended.md index 2cc652d9a95..a8296329138 100644 --- a/docs/generators/jaxrs-cxf-extended.md +++ b/docs/generators/jaxrs-cxf-extended.md @@ -101,7 +101,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/jaxrs-cxf.md b/docs/generators/jaxrs-cxf.md index c228b959885..2e53fd1d121 100644 --- a/docs/generators/jaxrs-cxf.md +++ b/docs/generators/jaxrs-cxf.md @@ -96,7 +96,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/jaxrs-jersey.md b/docs/generators/jaxrs-jersey.md index 9ffffa11327..b557dda38af 100644 --- a/docs/generators/jaxrs-jersey.md +++ b/docs/generators/jaxrs-jersey.md @@ -81,7 +81,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/jaxrs-resteasy-eap.md b/docs/generators/jaxrs-resteasy-eap.md index b29c49a4a12..ba434fcf90a 100644 --- a/docs/generators/jaxrs-resteasy-eap.md +++ b/docs/generators/jaxrs-resteasy-eap.md @@ -81,7 +81,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/jaxrs-resteasy.md b/docs/generators/jaxrs-resteasy.md index c0336e08852..b7808f28eea 100644 --- a/docs/generators/jaxrs-resteasy.md +++ b/docs/generators/jaxrs-resteasy.md @@ -80,7 +80,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/jaxrs-spec.md b/docs/generators/jaxrs-spec.md index b9a32a99dcc..b5fec0a0e61 100644 --- a/docs/generators/jaxrs-spec.md +++ b/docs/generators/jaxrs-spec.md @@ -87,7 +87,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null diff --git a/docs/generators/spring.md b/docs/generators/spring.md index 6a3b8e9173d..5222fa8c529 100644 --- a/docs/generators/spring.md +++ b/docs/generators/spring.md @@ -98,7 +98,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |x-setter-extra-annotation|Custom annotation that can be specified over java setter for specific field|FIELD|When field is array & uniqueItems, then this extension is used to add `@JsonDeserialize(as = LinkedHashSet.class)` over setter, otherwise no value |x-tags|Specify multiple swagger tags for operation|OPERATION|null |x-accepts|Specify custom value for 'Accept' header for operation|OPERATION|null -|x-contentType|Specify custom value for 'Content-Type' header for operation|OPERATION|null +|x-content-type|Specify custom value for 'Content-Type' header for operation|OPERATION|null |x-class-extra-annotation|List of custom annotations to be added to model|MODEL|null |x-field-extra-annotation|List of custom annotations to be added to property|FIELD|null |x-spring-paginated|Add org.springframework.data.domain.Pageable to controller method. Can be used to handle page & size query parameters|OPERATION|false diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/VendorExtension.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/VendorExtension.java index a663d2af191..b662fe0006c 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/VendorExtension.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/VendorExtension.java @@ -12,7 +12,7 @@ public enum VendorExtension { X_WEBCLIENT_BLOCKING("x-webclient-blocking", ExtensionLevel.OPERATION, "Specifies if method for specific operation should be blocking or non-blocking(ex: return `Mono/Flux` or `return T/List/Set` & execute `.block()` inside generated method)", "false"), X_TAGS("x-tags", ExtensionLevel.OPERATION, "Specify multiple swagger tags for operation", null), X_ACCEPTS("x-accepts", ExtensionLevel.OPERATION, "Specify custom value for 'Accept' header for operation", null), - X_CONTENT_TYPE("x-contentType", ExtensionLevel.OPERATION, "Specify custom value for 'Content-Type' header for operation", null), + X_CONTENT_TYPE("x-content-type", ExtensionLevel.OPERATION, "Specify custom value for 'Content-Type' header for operation", null), X_CLASS_EXTRA_ANNOTATION("x-class-extra-annotation", ExtensionLevel.MODEL, "List of custom annotations to be added to model", null), X_FIELD_EXTRA_ANNOTATION("x-field-extra-annotation", ExtensionLevel.FIELD, "List of custom annotations to be added to property", null), ; diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java index fdc9caf0799..04ed3d1ff18 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java @@ -1393,7 +1393,7 @@ public abstract class AbstractJavaCodegen extends DefaultCodegen implements Code String defaultContentType = hasFormParameter(openAPI, operation) ? "application/x-www-form-urlencoded" : "application/json"; List consumes = new ArrayList<>(getConsumesInfo(openAPI, operation)); String contentType = consumes.isEmpty() ? defaultContentType : consumes.get(0); - operation.addExtension("x-contentType", contentType); + operation.addExtension("x-content-type", contentType); } String accepts = getAccept(openAPI, operation); operation.addExtension("x-accepts", accepts); diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/feign/api.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/feign/api.mustache index c494070002d..ba0121e0247 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/feign/api.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/feign/api.mustache @@ -44,8 +44,8 @@ public interface {{classname}} extends ApiClient.Api { {{/isDeprecated}} @RequestLine("{{httpMethod}} {{{path}}}{{#hasQueryParams}}?{{/hasQueryParams}}{{#queryParams}}{{baseName}}={{=<% %>=}}{<%paramName%>}<%={{ }}=%>{{^-last}}&{{/-last}}{{/queryParams}}") @Headers({ -{{#vendorExtensions.x-contentType}} "Content-Type: {{vendorExtensions.x-contentType}}", -{{/vendorExtensions.x-contentType}} "Accept: {{vendorExtensions.x-accepts}}",{{#headerParams}} +{{#vendorExtensions.x-content-type}} "Content-Type: {{vendorExtensions.x-content-type}}", +{{/vendorExtensions.x-content-type}} "Accept: {{vendorExtensions.x-accepts}}",{{#headerParams}} "{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}}, {{/-last}}{{/headerParams}} }) @@ -74,8 +74,8 @@ public interface {{classname}} extends ApiClient.Api { {{/isDeprecated}} @RequestLine("{{httpMethod}} {{{path}}}{{#hasQueryParams}}?{{/hasQueryParams}}{{#queryParams}}{{baseName}}={{=<% %>=}}{<%paramName%>}<%={{ }}=%>{{^-last}}&{{/-last}}{{/queryParams}}") @Headers({ -{{#vendorExtensions.x-contentType}} "Content-Type: {{vendorExtensions.x-contentType}}", -{{/vendorExtensions.x-contentType}} "Accept: {{vendorExtensions.x-accepts}}",{{#headerParams}} +{{#vendorExtensions.x-content-type}} "Content-Type: {{vendorExtensions.x-content-type}}", +{{/vendorExtensions.x-content-type}} "Accept: {{vendorExtensions.x-accepts}}",{{#headerParams}} "{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}}, {{/-last}}{{/headerParams}} }) @@ -119,8 +119,8 @@ public interface {{classname}} extends ApiClient.Api { {{/isDeprecated}} @RequestLine("{{httpMethod}} {{{path}}}?{{#queryParams}}{{baseName}}={{=<% %>=}}{<%paramName%>}<%={{ }}=%>{{^-last}}&{{/-last}}{{/queryParams}}") @Headers({ -{{#vendorExtensions.x-contentType}} "Content-Type: {{vendorExtensions.x-contentType}}", -{{/vendorExtensions.x-contentType}} "Accept: {{vendorExtensions.x-accepts}}",{{#headerParams}} +{{#vendorExtensions.x-content-type}} "Content-Type: {{vendorExtensions.x-content-type}}", +{{/vendorExtensions.x-content-type}} "Accept: {{vendorExtensions.x-accepts}}",{{#headerParams}} "{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}}, {{/-last}}{{/headerParams}} }) @@ -159,8 +159,8 @@ public interface {{classname}} extends ApiClient.Api { {{/isDeprecated}} @RequestLine("{{httpMethod}} {{{path}}}?{{#queryParams}}{{baseName}}={{=<% %>=}}{<%paramName%>}<%={{ }}=%>{{^-last}}&{{/-last}}{{/queryParams}}") @Headers({ - {{#vendorExtensions.x-contentType}} "Content-Type: {{vendorExtensions.x-contentType}}", - {{/vendorExtensions.x-contentType}} "Accept: {{vendorExtensions.x-accepts}}",{{#headerParams}} + {{#vendorExtensions.x-content-type}} "Content-Type: {{vendorExtensions.x-content-type}}", + {{/vendorExtensions.x-content-type}} "Accept: {{vendorExtensions.x-accepts}}",{{#headerParams}} "{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}}, {{/-last}}{{/headerParams}} }) diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/api.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/api.mustache index 8d460251119..137a54c8109 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/api.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/api.mustache @@ -127,9 +127,9 @@ public class {{classname}} { public {{operationIdCamelCase}}Oper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; {{#vendorExtensions}} - {{#x-contentType}} - reqSpec.setContentType("{{x-contentType}}"); - {{/x-contentType}} + {{#x-content-type}} + reqSpec.setContentType("{{x-content-type}}"); + {{/x-content-type}} {{#x-accepts}} reqSpec.setAccept("{{x-accepts}}"); {{/x-accepts}} diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/api.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/api.mustache index d0becab0428..bb55ef611bf 100644 --- a/modules/openapi-generator/src/main/resources/JavaSpring/api.mustache +++ b/modules/openapi-generator/src/main/resources/JavaSpring/api.mustache @@ -203,7 +203,7 @@ public interface {{classname}} { method = RequestMethod.{{httpMethod}}, value = "{{{path}}}"{{#singleContentTypes}}{{#hasProduces}}, produces = "{{{vendorExtensions.x-accepts}}}"{{/hasProduces}}{{#hasConsumes}}, - consumes = "{{{vendorExtensions.x-contentType}}}"{{/hasConsumes}}{{/singleContentTypes}}{{^singleContentTypes}}{{#hasProduces}}, + consumes = "{{{vendorExtensions.x-content-type}}}"{{/hasConsumes}}{{/singleContentTypes}}{{^singleContentTypes}}{{#hasProduces}}, produces = { {{#produces}}"{{{mediaType}}}"{{^-last}}, {{/-last}}{{/produces}} }{{/hasProduces}}{{#hasConsumes}}, consumes = { {{#consumes}}"{{{mediaType}}}"{{^-last}}, {{/-last}}{{/consumes}} }{{/hasConsumes}}{{/singleContentTypes}} ) diff --git a/modules/openapi-generator/src/main/resources/java-micronaut/client/api.mustache b/modules/openapi-generator/src/main/resources/java-micronaut/client/api.mustache index 871eb59dfe0..4884925ee56 100644 --- a/modules/openapi-generator/src/main/resources/java-micronaut/client/api.mustache +++ b/modules/openapi-generator/src/main/resources/java-micronaut/client/api.mustache @@ -52,9 +52,9 @@ public interface {{classname}} { {{/externalDocs}} */ @{{#lambda.pascalcase}}{{#lambda.lowercase}}{{httpMethod}}{{/lambda.lowercase}}{{/lambda.pascalcase}}(uri="{{{path}}}") - {{#vendorExtensions.x-contentType}} - @Produces(value={"{{vendorExtensions.x-contentType}}"}) - {{/vendorExtensions.x-contentType}} + {{#vendorExtensions.x-content-type}} + @Produces(value={"{{vendorExtensions.x-content-type}}"}) + {{/vendorExtensions.x-content-type}} @Consumes(value={"{{vendorExtensions.x-accepts}}"}) {{!auth methods}} {{#configureAuth}} diff --git a/modules/openapi-generator/src/main/resources/java-micronaut/server/test/controller_test.groovy.mustache b/modules/openapi-generator/src/main/resources/java-micronaut/server/test/controller_test.groovy.mustache index 44c0730cb99..63768f40f5a 100644 --- a/modules/openapi-generator/src/main/resources/java-micronaut/server/test/controller_test.groovy.mustache +++ b/modules/openapi-generator/src/main/resources/java-micronaut/server/test/controller_test.groovy.mustache @@ -136,9 +136,9 @@ class {{classname}}Spec extends Specification { {{!Create the request with body and uri}} MutableHttpRequest request = HttpRequest.{{httpMethod}}{{#vendorExtensions.methodAllowsBody}}{{#bodyParam}}(uri, body){{/bodyParam}}{{#isMultipart}}{{^formParams}}(uri, body){{/formParams}}{{/isMultipart}}{{#formParams.0}}(uri, form){{/formParams.0}}{{^bodyParam}}{{^isMultipart}}{{^formParams}}(uri, null){{/formParams}}{{/isMultipart}}{{/bodyParam}}{{/vendorExtensions.methodAllowsBody}}{{^vendorExtensions.methodAllowsBody}}(uri){{/vendorExtensions.methodAllowsBody}} {{!Fill in all the request parameters}} - {{#vendorExtensions.x-contentType}} - .contentType('{{vendorExtensions.x-contentType}}') - {{/vendorExtensions.x-contentType}} + {{#vendorExtensions.x-content-type}} + .contentType('{{vendorExtensions.x-content-type}}') + {{/vendorExtensions.x-content-type}} {{#vendorExtensions.x-accepts}} .accept('{{vendorExtensions.x-accepts}}') {{/vendorExtensions.x-accepts}} diff --git a/modules/openapi-generator/src/main/resources/java-pkmst/api.mustache b/modules/openapi-generator/src/main/resources/java-pkmst/api.mustache index c899abe7b98..97a2c15f0ca 100644 --- a/modules/openapi-generator/src/main/resources/java-pkmst/api.mustache +++ b/modules/openapi-generator/src/main/resources/java-pkmst/api.mustache @@ -59,7 +59,7 @@ public interface {{classname}} { method = RequestMethod.{{httpMethod}}, value = "{{{path}}}"{{#singleContentTypes}}, produces = "{{{vendorExtensions.x-accepts}}}", - consumes = "{{{vendorExtensions.x-contentType}}}"{{/singleContentTypes}}{{^singleContentTypes}}{{#hasProduces}}, + consumes = "{{{vendorExtensions.x-content-type}}}"{{/singleContentTypes}}{{^singleContentTypes}}{{#hasProduces}}, produces = { {{#produces}}"{{{mediaType}}}"{{^-last}}, {{/-last}}{{/produces}} }{{/hasProduces}}{{#hasConsumes}}, consumes = { {{#consumes}}"{{{mediaType}}}"{{^-last}}, {{/-last}}{{/consumes}} }{{/hasConsumes}}{{/singleContentTypes}} ) diff --git a/samples/client/others/java/okhttp-gson-streaming/api/openapi.yaml b/samples/client/others/java/okhttp-gson-streaming/api/openapi.yaml index 540e8f4e6db..0fd31f4db56 100644 --- a/samples/client/others/java/okhttp-gson-streaming/api/openapi.yaml +++ b/samples/client/others/java/okhttp-gson-streaming/api/openapi.yaml @@ -23,7 +23,7 @@ paths: tags: - ping x-streaming: true - x-contentType: application/json + x-content-type: application/json x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java index 0b162ed8822..d2de1f5d0e6 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java @@ -57,7 +57,7 @@ public interface FakeApi { * @return Boolean */ @Post(uri="/fake/outer/boolean") - @Produces(value={"application/json"}) + @Produces(value={"*/*"}) @Consumes(value={"*/*"}) Mono fakeOuterBooleanSerialize( @Body @Nullable Boolean _body @@ -69,7 +69,7 @@ public interface FakeApi { * @return OuterComposite */ @Post(uri="/fake/outer/composite") - @Produces(value={"application/json"}) + @Produces(value={"*/*"}) @Consumes(value={"*/*"}) Mono fakeOuterCompositeSerialize( @Body @Nullable @Valid OuterComposite _body @@ -81,7 +81,7 @@ public interface FakeApi { * @return BigDecimal */ @Post(uri="/fake/outer/number") - @Produces(value={"application/json"}) + @Produces(value={"*/*"}) @Consumes(value={"*/*"}) Mono fakeOuterNumberSerialize( @Body @Nullable BigDecimal _body @@ -93,7 +93,7 @@ public interface FakeApi { * @return String */ @Post(uri="/fake/outer/string") - @Produces(value={"application/json"}) + @Produces(value={"*/*"}) @Consumes(value={"*/*"}) Mono fakeOuterStringSerialize( @Body @Nullable String _body diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/StoreApi.java index 36ccca35533..48b5ca5681f 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/StoreApi.java @@ -69,7 +69,7 @@ public interface StoreApi { * @return Order */ @Post(uri="/store/order") - @Produces(value={"application/json"}) + @Produces(value={"*/*"}) @Consumes(value={"application/json"}) Mono placeOrder( @Body @NotNull @Valid Order _body diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/UserApi.java index 63b090792c4..64d347f66a1 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/UserApi.java @@ -38,7 +38,7 @@ public interface UserApi { * @param _body Created user object (required) */ @Post(uri="/user") - @Produces(value={"application/json"}) + @Produces(value={"*/*"}) @Consumes(value={"application/json"}) Mono createUser( @Body @NotNull @Valid User _body @@ -49,7 +49,7 @@ public interface UserApi { * @param _body List of user object (required) */ @Post(uri="/user/createWithArray") - @Produces(value={"application/json"}) + @Produces(value={"*/*"}) @Consumes(value={"application/json"}) Mono createUsersWithArrayInput( @Body @NotNull List _body @@ -60,7 +60,7 @@ public interface UserApi { * @param _body List of user object (required) */ @Post(uri="/user/createWithList") - @Produces(value={"application/json"}) + @Produces(value={"*/*"}) @Consumes(value={"application/json"}) Mono createUsersWithListInput( @Body @NotNull List _body @@ -115,7 +115,7 @@ public interface UserApi { * @param _body Updated user object (required) */ @Put(uri="/user/{username}") - @Produces(value={"application/json"}) + @Produces(value={"*/*"}) @Consumes(value={"application/json"}) Mono updateUser( @PathVariable(name="username") @NotNull String username, diff --git a/samples/client/petstore/java/apache-httpclient/api/openapi.yaml b/samples/client/petstore/java/apache-httpclient/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/apache-httpclient/api/openapi.yaml +++ b/samples/client/petstore/java/apache-httpclient/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml b/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml +++ b/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/feign/api/openapi.yaml b/samples/client/petstore/java/feign/api/openapi.yaml index f5cc08ee0dc..9e4b59c52b9 100644 --- a/samples/client/petstore/java/feign/api/openapi.yaml +++ b/samples/client/petstore/java/feign/api/openapi.yaml @@ -69,7 +69,7 @@ paths: summary: Add a new pet to the store tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: description: "" @@ -93,7 +93,7 @@ paths: tags: - pet x-webclient-blocking: true - x-contentType: application/json + x-content-type: application/json x-accepts: application/json servers: - url: http://petstore.swagger.io/v2 @@ -295,7 +295,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -339,7 +339,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -387,7 +387,7 @@ paths: summary: Place an order for a pet tags: - store - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /store/order/{order_id}: delete: @@ -463,7 +463,7 @@ paths: summary: Create user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/createWithArray: post: @@ -477,7 +477,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/createWithList: post: @@ -491,7 +491,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/login: get: @@ -635,7 +635,7 @@ paths: summary: Updated user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake_classname_test: patch: @@ -655,7 +655,7 @@ paths: summary: To test class name in snake case tags: - fake_classname_tags 123#$%^ - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -836,7 +836,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -853,7 +853,7 @@ paths: summary: To test "client" model tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: | @@ -952,7 +952,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -973,7 +973,7 @@ paths: description: Output number tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/property/enum-int: post: @@ -995,7 +995,7 @@ paths: description: Output enum (int) tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/string: post: @@ -1016,7 +1016,7 @@ paths: description: Output string tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/boolean: post: @@ -1037,7 +1037,7 @@ paths: description: Output boolean tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/composite: post: @@ -1058,7 +1058,7 @@ paths: description: Output composite tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/jsonFormData: get: @@ -1086,7 +1086,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1107,7 +1107,7 @@ paths: summary: test inline additionalProperties tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1131,7 +1131,7 @@ paths: description: Success tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /another-fake/dummy: patch: @@ -1149,7 +1149,7 @@ paths: summary: To test special tags tags: - $another-fake? - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1167,7 +1167,7 @@ paths: description: Success tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-binary: put: @@ -1187,7 +1187,7 @@ paths: description: Success tags: - fake - x-contentType: image/png + x-content-type: image/png x-accepts: application/json /fake/test-query-parameters: put: @@ -1307,7 +1307,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /fake/health: get: @@ -1352,7 +1352,7 @@ paths: summary: test http signature authentication tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json components: requestBodies: diff --git a/samples/client/petstore/java/google-api-client/api/openapi.yaml b/samples/client/petstore/java/google-api-client/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/google-api-client/api/openapi.yaml +++ b/samples/client/petstore/java/google-api-client/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/jersey1/api/openapi.yaml b/samples/client/petstore/java/jersey1/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/jersey1/api/openapi.yaml +++ b/samples/client/petstore/java/jersey1/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml b/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/jersey2-java8/api/openapi.yaml b/samples/client/petstore/java/jersey2-java8/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/jersey2-java8/api/openapi.yaml +++ b/samples/client/petstore/java/jersey2-java8/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/native-async/api/openapi.yaml b/samples/client/petstore/java/native-async/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/native-async/api/openapi.yaml +++ b/samples/client/petstore/java/native-async/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/native/api/openapi.yaml b/samples/client/petstore/java/native/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/native/api/openapi.yaml +++ b/samples/client/petstore/java/native/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/okhttp-gson/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson/api/openapi.yaml index 80e1a7404d4..ef23f1f8a86 100644 --- a/samples/client/petstore/java/okhttp-gson/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson/api/openapi.yaml @@ -68,7 +68,7 @@ paths: summary: Add a new pet to the store tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: description: "" @@ -90,7 +90,7 @@ paths: summary: Update an existing pet tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json servers: - url: http://petstore.swagger.io/v2 @@ -284,7 +284,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -328,7 +328,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -376,7 +376,7 @@ paths: summary: Place an order for a pet tags: - store - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /store/order/{order_id}: delete: @@ -452,7 +452,7 @@ paths: summary: Create user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/createWithArray: post: @@ -466,7 +466,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/createWithList: post: @@ -480,7 +480,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/login: get: @@ -624,7 +624,7 @@ paths: summary: Updated user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake_classname_test: patch: @@ -644,7 +644,7 @@ paths: summary: To test class name in snake case tags: - fake_classname_tags 123#$%^ - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -825,7 +825,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -842,7 +842,7 @@ paths: summary: To test "client" model tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: | @@ -943,7 +943,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -964,7 +964,7 @@ paths: description: Output number tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/string: post: @@ -985,7 +985,7 @@ paths: description: Output string tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/boolean: post: @@ -1006,7 +1006,7 @@ paths: description: Output boolean tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/composite: post: @@ -1027,7 +1027,7 @@ paths: description: Output composite tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/jsonFormData: get: @@ -1055,7 +1055,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1076,7 +1076,7 @@ paths: summary: test inline additionalProperties tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1100,7 +1100,7 @@ paths: description: Success tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /another-fake/dummy: patch: @@ -1118,7 +1118,7 @@ paths: summary: To test special tags tags: - $another-fake? - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1136,7 +1136,7 @@ paths: description: Success tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1238,7 +1238,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /fake/health: get: diff --git a/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml b/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml +++ b/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/rest-assured/api/openapi.yaml b/samples/client/petstore/java/rest-assured/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/rest-assured/api/openapi.yaml +++ b/samples/client/petstore/java/rest-assured/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/resteasy/api/openapi.yaml b/samples/client/petstore/java/resteasy/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/resteasy/api/openapi.yaml +++ b/samples/client/petstore/java/resteasy/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml b/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/resttemplate/api/openapi.yaml b/samples/client/petstore/java/resttemplate/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/resttemplate/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml b/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/retrofit2/api/openapi.yaml b/samples/client/petstore/java/retrofit2/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/retrofit2/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml b/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml b/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml b/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml +++ b/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/vertx/api/openapi.yaml b/samples/client/petstore/java/vertx/api/openapi.yaml index 9489c24fc63..9652c1b4a8c 100644 --- a/samples/client/petstore/java/vertx/api/openapi.yaml +++ b/samples/client/petstore/java/vertx/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: operationId: updatePet @@ -81,7 +81,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -268,7 +268,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -307,7 +307,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -356,7 +356,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /store/order/{order_id}: delete: @@ -434,7 +434,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithArray: post: @@ -456,7 +456,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/createWithList: post: @@ -478,7 +478,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /user/login: get: @@ -614,7 +614,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json /fake_classname_test: patch: @@ -640,7 +640,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -791,7 +791,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -814,7 +814,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: |- @@ -915,7 +915,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -938,7 +938,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/string: post: @@ -961,7 +961,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/boolean: post: @@ -984,7 +984,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/outer/composite: post: @@ -1007,7 +1007,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' /fake/jsonFormData: get: @@ -1034,7 +1034,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1056,7 +1056,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1080,7 +1080,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/create_xml_item: post: @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json /another-fake/dummy: patch: @@ -1140,7 +1140,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1160,7 +1160,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1256,7 +1256,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json components: schemas: diff --git a/samples/client/petstore/java/webclient/api/openapi.yaml b/samples/client/petstore/java/webclient/api/openapi.yaml index f5cc08ee0dc..9e4b59c52b9 100644 --- a/samples/client/petstore/java/webclient/api/openapi.yaml +++ b/samples/client/petstore/java/webclient/api/openapi.yaml @@ -69,7 +69,7 @@ paths: summary: Add a new pet to the store tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: description: "" @@ -93,7 +93,7 @@ paths: tags: - pet x-webclient-blocking: true - x-contentType: application/json + x-content-type: application/json x-accepts: application/json servers: - url: http://petstore.swagger.io/v2 @@ -295,7 +295,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -339,7 +339,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -387,7 +387,7 @@ paths: summary: Place an order for a pet tags: - store - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /store/order/{order_id}: delete: @@ -463,7 +463,7 @@ paths: summary: Create user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/createWithArray: post: @@ -477,7 +477,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/createWithList: post: @@ -491,7 +491,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/login: get: @@ -635,7 +635,7 @@ paths: summary: Updated user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake_classname_test: patch: @@ -655,7 +655,7 @@ paths: summary: To test class name in snake case tags: - fake_classname_tags 123#$%^ - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -836,7 +836,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -853,7 +853,7 @@ paths: summary: To test "client" model tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: | @@ -952,7 +952,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -973,7 +973,7 @@ paths: description: Output number tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/property/enum-int: post: @@ -995,7 +995,7 @@ paths: description: Output enum (int) tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/string: post: @@ -1016,7 +1016,7 @@ paths: description: Output string tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/boolean: post: @@ -1037,7 +1037,7 @@ paths: description: Output boolean tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/composite: post: @@ -1058,7 +1058,7 @@ paths: description: Output composite tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/jsonFormData: get: @@ -1086,7 +1086,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1107,7 +1107,7 @@ paths: summary: test inline additionalProperties tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1131,7 +1131,7 @@ paths: description: Success tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /another-fake/dummy: patch: @@ -1149,7 +1149,7 @@ paths: summary: To test special tags tags: - $another-fake? - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1167,7 +1167,7 @@ paths: description: Success tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-binary: put: @@ -1187,7 +1187,7 @@ paths: description: Success tags: - fake - x-contentType: image/png + x-content-type: image/png x-accepts: application/json /fake/test-query-parameters: put: @@ -1307,7 +1307,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /fake/health: get: @@ -1352,7 +1352,7 @@ paths: summary: test http signature authentication tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json components: requestBodies: diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/api/openapi.yaml b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/api/openapi.yaml index babf79856de..a74ced44042 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/api/openapi.yaml +++ b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/api/openapi.yaml @@ -20,7 +20,7 @@ paths: schema: $ref: '#/components/schemas/MySchemaName._-Characters' description: the response - x-contentType: application/json + x-content-type: application/json x-accepts: application/json components: schemas: diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml b/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml index 3511da6146d..6e508514df8 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml +++ b/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml @@ -68,7 +68,7 @@ paths: summary: Add a new pet to the store tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: description: "" @@ -90,7 +90,7 @@ paths: summary: Update an existing pet tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json servers: - url: http://petstore.swagger.io/v2 @@ -284,7 +284,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -328,7 +328,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -376,7 +376,7 @@ paths: summary: Place an order for a pet tags: - store - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /store/order/{order_id}: delete: @@ -452,7 +452,7 @@ paths: summary: Create user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/createWithArray: post: @@ -466,7 +466,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/createWithList: post: @@ -480,7 +480,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/login: get: @@ -624,7 +624,7 @@ paths: summary: Updated user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake_classname_test: patch: @@ -644,7 +644,7 @@ paths: summary: To test class name in snake case tags: - fake_classname_tags 123#$%^ - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake: delete: @@ -825,7 +825,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json patch: description: To test "client" model @@ -842,7 +842,7 @@ paths: summary: To test "client" model tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json post: description: | @@ -943,7 +943,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/outer/number: post: @@ -964,7 +964,7 @@ paths: description: Output number tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/string: post: @@ -985,7 +985,7 @@ paths: description: Output string tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/boolean: post: @@ -1006,7 +1006,7 @@ paths: description: Output boolean tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/outer/composite: post: @@ -1027,7 +1027,7 @@ paths: description: Output composite tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: '*/*' /fake/jsonFormData: get: @@ -1055,7 +1055,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /fake/inline-additionalProperties: post: @@ -1076,7 +1076,7 @@ paths: summary: test inline additionalProperties tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-query-params: put: @@ -1100,7 +1100,7 @@ paths: description: Success tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /another-fake/dummy: patch: @@ -1118,7 +1118,7 @@ paths: summary: To test special tags tags: - $another-fake? - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/body-with-file-schema: put: @@ -1136,7 +1136,7 @@ paths: description: Success tags: - fake - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /fake/test-query-parameters: put: @@ -1238,7 +1238,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /fake/health: get: diff --git a/samples/openapi3/server/petstore/spring-boot-oneof/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/spring-boot-oneof/src/main/resources/openapi.yaml index 1786fc2efd0..462a9cb829c 100644 --- a/samples/openapi3/server/petstore/spring-boot-oneof/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/spring-boot-oneof/src/main/resources/openapi.yaml @@ -42,7 +42,7 @@ paths: summary: Create a Foo tags: - Foo - x-contentType: application/json;charset=utf-8 + x-content-type: application/json;charset=utf-8 x-accepts: application/json x-tags: - tag: Foo @@ -65,7 +65,7 @@ paths: summary: Create a Bar tags: - Bar - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: Bar diff --git a/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/resources/openapi.yaml index 68ee366c83d..1438a89f5cc 100644 --- a/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/resources/openapi.yaml @@ -45,7 +45,7 @@ paths: summary: Add a new pet to the store tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -77,7 +77,7 @@ paths: summary: Update an existing pet tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -274,7 +274,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -320,7 +320,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -372,7 +372,7 @@ paths: summary: Place an order for a pet tags: - store - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: store @@ -456,7 +456,7 @@ paths: summary: Create user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user @@ -474,7 +474,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user @@ -492,7 +492,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user @@ -661,7 +661,7 @@ paths: summary: Updated user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user diff --git a/samples/openapi3/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/openapi3/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-delegate/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/openapi3/server/petstore/springboot-reactive/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-reactive/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/openapi3/server/petstore/springboot-reactive/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-reactive/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/openapi3/server/petstore/springboot-source/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-source/src/main/resources/openapi.yaml index 68ee366c83d..1438a89f5cc 100644 --- a/samples/openapi3/server/petstore/springboot-source/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-source/src/main/resources/openapi.yaml @@ -45,7 +45,7 @@ paths: summary: Add a new pet to the store tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -77,7 +77,7 @@ paths: summary: Update an existing pet tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -274,7 +274,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -320,7 +320,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -372,7 +372,7 @@ paths: summary: Place an order for a pet tags: - store - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: store @@ -456,7 +456,7 @@ paths: summary: Create user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user @@ -474,7 +474,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user @@ -492,7 +492,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user @@ -661,7 +661,7 @@ paths: summary: Updated user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user diff --git a/samples/openapi3/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/openapi3/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/openapi3/server/petstore/springboot/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot/src/main/resources/openapi.yaml index 68ee366c83d..1438a89f5cc 100644 --- a/samples/openapi3/server/petstore/springboot/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot/src/main/resources/openapi.yaml @@ -45,7 +45,7 @@ paths: summary: Add a new pet to the store tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -77,7 +77,7 @@ paths: summary: Update an existing pet tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -274,7 +274,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -320,7 +320,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -372,7 +372,7 @@ paths: summary: Place an order for a pet tags: - store - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: store @@ -456,7 +456,7 @@ paths: summary: Create user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user @@ -474,7 +474,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user @@ -492,7 +492,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user @@ -661,7 +661,7 @@ paths: summary: Updated user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: user diff --git a/samples/server/petstore/java-play-framework-api-package-override/public/openapi.json b/samples/server/petstore/java-play-framework-api-package-override/public/openapi.json index a3bd1d08e49..70d76adacd9 100644 --- a/samples/server/petstore/java-play-framework-api-package-override/public/openapi.json +++ b/samples/server/petstore/java-play-framework-api-package-override/public/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -326,7 +326,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -379,7 +379,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -449,7 +449,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -549,7 +549,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -579,7 +579,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -609,7 +609,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -792,7 +792,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-play-framework-async/public/openapi.json b/samples/server/petstore/java-play-framework-async/public/openapi.json index a3bd1d08e49..70d76adacd9 100644 --- a/samples/server/petstore/java-play-framework-async/public/openapi.json +++ b/samples/server/petstore/java-play-framework-async/public/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -326,7 +326,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -379,7 +379,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -449,7 +449,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -549,7 +549,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -579,7 +579,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -609,7 +609,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -792,7 +792,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-play-framework-controller-only/public/openapi.json b/samples/server/petstore/java-play-framework-controller-only/public/openapi.json index a3bd1d08e49..70d76adacd9 100644 --- a/samples/server/petstore/java-play-framework-controller-only/public/openapi.json +++ b/samples/server/petstore/java-play-framework-controller-only/public/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -326,7 +326,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -379,7 +379,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -449,7 +449,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -549,7 +549,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -579,7 +579,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -609,7 +609,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -792,7 +792,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-play-framework-fake-endpoints-with-security/public/openapi.json b/samples/server/petstore/java-play-framework-fake-endpoints-with-security/public/openapi.json index aed3406f266..9657373ab3d 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints-with-security/public/openapi.json +++ b/samples/server/petstore/java-play-framework-fake-endpoints-with-security/public/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json b/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json index c419a58de0d..c25c28ce9bd 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json +++ b/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json @@ -58,7 +58,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -103,7 +103,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -341,7 +341,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -394,7 +394,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -464,7 +464,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -564,7 +564,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -594,7 +594,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -624,7 +624,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -807,7 +807,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -844,7 +844,7 @@ "summary" : "To test class name in snake case", "tags" : [ "fake_classname_tags 123#$%^" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -1016,7 +1016,7 @@ }, "summary" : "To test enum parameters", "tags" : [ "fake" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" }, "patch" : { @@ -1048,7 +1048,7 @@ "summary" : "To test \"client\" model", "tags" : [ "fake" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "post" : { @@ -1160,7 +1160,7 @@ } ], "summary" : "Fake endpoint for testing various parameters\n 假端點\n 偽のエンドポイント\n 가짜 엔드 포인트", "tags" : [ "fake" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -1193,7 +1193,7 @@ }, "tags" : [ "fake" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "*/*" } }, @@ -1226,7 +1226,7 @@ }, "tags" : [ "fake" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "*/*" } }, @@ -1259,7 +1259,7 @@ }, "tags" : [ "fake" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "*/*" } }, @@ -1292,7 +1292,7 @@ }, "tags" : [ "fake" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "*/*" } }, @@ -1327,7 +1327,7 @@ }, "summary" : "test json serialization of form data", "tags" : [ "fake" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -1357,7 +1357,7 @@ "summary" : "test inline additionalProperties", "tags" : [ "fake" ], "x-codegen-request-body-name" : "param", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -1390,7 +1390,7 @@ }, "tags" : [ "fake" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -1443,7 +1443,7 @@ "summary" : "creates an XmlItem", "tags" : [ "fake" ], "x-codegen-request-body-name" : "XmlItem", - "x-contentType" : "application/xml", + "x-content-type" : "application/xml", "x-accepts" : "application/json" } }, @@ -1477,7 +1477,7 @@ "summary" : "To test special tags", "tags" : [ "$another-fake?" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -1503,7 +1503,7 @@ }, "tags" : [ "fake" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -1630,7 +1630,7 @@ } ], "summary" : "uploads an image (required)", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-play-framework-no-bean-validation/public/openapi.json b/samples/server/petstore/java-play-framework-no-bean-validation/public/openapi.json index a3bd1d08e49..70d76adacd9 100644 --- a/samples/server/petstore/java-play-framework-no-bean-validation/public/openapi.json +++ b/samples/server/petstore/java-play-framework-no-bean-validation/public/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -326,7 +326,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -379,7 +379,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -449,7 +449,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -549,7 +549,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -579,7 +579,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -609,7 +609,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -792,7 +792,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-play-framework-no-exception-handling/public/openapi.json b/samples/server/petstore/java-play-framework-no-exception-handling/public/openapi.json index a3bd1d08e49..70d76adacd9 100644 --- a/samples/server/petstore/java-play-framework-no-exception-handling/public/openapi.json +++ b/samples/server/petstore/java-play-framework-no-exception-handling/public/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -326,7 +326,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -379,7 +379,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -449,7 +449,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -549,7 +549,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -579,7 +579,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -609,7 +609,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -792,7 +792,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-play-framework-no-interface/public/openapi.json b/samples/server/petstore/java-play-framework-no-interface/public/openapi.json index a3bd1d08e49..70d76adacd9 100644 --- a/samples/server/petstore/java-play-framework-no-interface/public/openapi.json +++ b/samples/server/petstore/java-play-framework-no-interface/public/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -326,7 +326,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -379,7 +379,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -449,7 +449,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -549,7 +549,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -579,7 +579,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -609,7 +609,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -792,7 +792,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-play-framework-no-nullable/public/openapi.json b/samples/server/petstore/java-play-framework-no-nullable/public/openapi.json index a3bd1d08e49..70d76adacd9 100644 --- a/samples/server/petstore/java-play-framework-no-nullable/public/openapi.json +++ b/samples/server/petstore/java-play-framework-no-nullable/public/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -326,7 +326,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -379,7 +379,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -449,7 +449,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -549,7 +549,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -579,7 +579,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -609,7 +609,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -792,7 +792,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-play-framework-no-wrap-calls/public/openapi.json b/samples/server/petstore/java-play-framework-no-wrap-calls/public/openapi.json index a3bd1d08e49..70d76adacd9 100644 --- a/samples/server/petstore/java-play-framework-no-wrap-calls/public/openapi.json +++ b/samples/server/petstore/java-play-framework-no-wrap-calls/public/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -326,7 +326,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -379,7 +379,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -449,7 +449,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -549,7 +549,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -579,7 +579,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -609,7 +609,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -792,7 +792,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-play-framework/public/openapi.json b/samples/server/petstore/java-play-framework/public/openapi.json index a3bd1d08e49..70d76adacd9 100644 --- a/samples/server/petstore/java-play-framework/public/openapi.json +++ b/samples/server/petstore/java-play-framework/public/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -326,7 +326,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -379,7 +379,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -449,7 +449,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -549,7 +549,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -579,7 +579,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -609,7 +609,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -792,7 +792,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-undertow/src/main/resources/config/openapi.json b/samples/server/petstore/java-undertow/src/main/resources/config/openapi.json index a3bd1d08e49..70d76adacd9 100644 --- a/samples/server/petstore/java-undertow/src/main/resources/config/openapi.json +++ b/samples/server/petstore/java-undertow/src/main/resources/config/openapi.json @@ -54,7 +54,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" }, "put" : { @@ -95,7 +95,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "application/json", + "x-content-type" : "application/json", "x-accepts" : "application/json" } }, @@ -326,7 +326,7 @@ } ], "summary" : "Updates a pet in the store with form data", "tags" : [ "pet" ], - "x-contentType" : "application/x-www-form-urlencoded", + "x-content-type" : "application/x-www-form-urlencoded", "x-accepts" : "application/json" } }, @@ -379,7 +379,7 @@ } ], "summary" : "uploads an image", "tags" : [ "pet" ], - "x-contentType" : "multipart/form-data", + "x-content-type" : "multipart/form-data", "x-accepts" : "application/json" } }, @@ -449,7 +449,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -549,7 +549,7 @@ "summary" : "Create user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -579,7 +579,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -609,7 +609,7 @@ "summary" : "Creates list of users with given input array", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } }, @@ -792,7 +792,7 @@ "summary" : "Updated user", "tags" : [ "user" ], "x-codegen-request-body-name" : "body", - "x-contentType" : "*/*", + "x-content-type" : "*/*", "x-accepts" : "application/json" } } diff --git a/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml b/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml index 182e45c28c2..625a038dc38 100644 --- a/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml +++ b/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml @@ -45,7 +45,7 @@ paths: summary: Add a new pet to the store tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json put: description: "" @@ -75,7 +75,7 @@ paths: summary: Update an existing pet tags: - pet - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /pet/findByStatus: get: @@ -262,7 +262,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json /pet/{petId}/uploadImage: post: @@ -306,7 +306,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json /store/inventory: get: @@ -354,7 +354,7 @@ paths: summary: Place an order for a pet tags: - store - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /store/order/{orderId}: delete: @@ -432,7 +432,7 @@ paths: summary: Create user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/createWithArray: post: @@ -448,7 +448,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/createWithList: post: @@ -464,7 +464,7 @@ paths: summary: Creates list of users with given input array tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json /user/login: get: @@ -623,7 +623,7 @@ paths: summary: Updated user tags: - user - x-contentType: application/json + x-content-type: application/json x-accepts: application/json components: requestBodies: diff --git a/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml b/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml b/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-beanvalidation/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-beanvalidation/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-delegate-j8/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-delegate-j8/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-delegate/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-delegate/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/springboot-delegate/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-delegate/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/resources/openapi.yaml index cdceff13c4d..0f4ef163ed8 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -279,7 +279,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -320,7 +320,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -373,7 +373,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -457,7 +457,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -481,7 +481,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -505,7 +505,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -651,7 +651,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -679,7 +679,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -834,7 +834,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -859,7 +859,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -962,7 +962,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -987,7 +987,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1012,7 +1012,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1037,7 +1037,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1062,7 +1062,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1091,7 +1091,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1115,7 +1115,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1141,7 +1141,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1179,7 +1179,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1205,7 +1205,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1227,7 +1227,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1327,7 +1327,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/resources/openapi.yaml index cdceff13c4d..0f4ef163ed8 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -279,7 +279,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -320,7 +320,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -373,7 +373,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -457,7 +457,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -481,7 +481,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -505,7 +505,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -651,7 +651,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -679,7 +679,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -834,7 +834,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -859,7 +859,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -962,7 +962,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -987,7 +987,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1012,7 +1012,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1037,7 +1037,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1062,7 +1062,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1091,7 +1091,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1115,7 +1115,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1141,7 +1141,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1179,7 +1179,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1205,7 +1205,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1227,7 +1227,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1327,7 +1327,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/resources/openapi.yaml index cdceff13c4d..0f4ef163ed8 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -279,7 +279,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -320,7 +320,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -373,7 +373,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -457,7 +457,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -481,7 +481,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -505,7 +505,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -651,7 +651,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -679,7 +679,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -834,7 +834,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -859,7 +859,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -962,7 +962,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -987,7 +987,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1012,7 +1012,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1037,7 +1037,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1062,7 +1062,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1091,7 +1091,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1115,7 +1115,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1141,7 +1141,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1179,7 +1179,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1205,7 +1205,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1227,7 +1227,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1327,7 +1327,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-spring-pageable/src/main/resources/openapi.yaml index cdceff13c4d..0f4ef163ed8 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-spring-pageable/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -279,7 +279,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -320,7 +320,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -373,7 +373,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -457,7 +457,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -481,7 +481,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -505,7 +505,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -651,7 +651,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -679,7 +679,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -834,7 +834,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -859,7 +859,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -962,7 +962,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -987,7 +987,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1012,7 +1012,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1037,7 +1037,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1062,7 +1062,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1091,7 +1091,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1115,7 +1115,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1141,7 +1141,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1179,7 +1179,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1205,7 +1205,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1227,7 +1227,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1327,7 +1327,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot-virtualan/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-virtualan/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-virtualan/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet diff --git a/samples/server/petstore/springboot/src/main/resources/openapi.yaml b/samples/server/petstore/springboot/src/main/resources/openapi.yaml index d02806b2d38..d4ba592c4f2 100644 --- a/samples/server/petstore/springboot/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -83,7 +83,7 @@ paths: tags: - pet x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: pet @@ -280,7 +280,7 @@ paths: summary: Updates a pet in the store with form data tags: - pet - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: pet @@ -321,7 +321,7 @@ paths: summary: uploads an image tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet @@ -374,7 +374,7 @@ paths: tags: - store x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: store @@ -458,7 +458,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -482,7 +482,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -506,7 +506,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -652,7 +652,7 @@ paths: tags: - user x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: application/json x-tags: - tag: user @@ -680,7 +680,7 @@ paths: tags: - fake_classname_tags 123#$%^ x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake_classname_tags 123#$%^ @@ -835,7 +835,7 @@ paths: summary: To test enum parameters tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -860,7 +860,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -963,7 +963,7 @@ paths: 가짜 엔드 포인트 tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -988,7 +988,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1013,7 +1013,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1038,7 +1038,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1063,7 +1063,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: '*/*' + x-content-type: '*/*' x-accepts: '*/*' x-tags: - tag: fake @@ -1092,7 +1092,7 @@ paths: summary: test json serialization of form data tags: - fake - x-contentType: application/x-www-form-urlencoded + x-content-type: application/x-www-form-urlencoded x-accepts: application/json x-tags: - tag: fake @@ -1116,7 +1116,7 @@ paths: tags: - fake x-codegen-request-body-name: param - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1142,7 +1142,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1180,7 +1180,7 @@ paths: tags: - fake x-codegen-request-body-name: XmlItem - x-contentType: application/xml + x-content-type: application/xml x-accepts: application/json x-tags: - tag: fake @@ -1206,7 +1206,7 @@ paths: tags: - $another-fake? x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: $another-fake? @@ -1228,7 +1228,7 @@ paths: tags: - fake x-codegen-request-body-name: body - x-contentType: application/json + x-content-type: application/json x-accepts: application/json x-tags: - tag: fake @@ -1328,7 +1328,7 @@ paths: summary: uploads an image (required) tags: - pet - x-contentType: multipart/form-data + x-content-type: multipart/form-data x-accepts: application/json x-tags: - tag: pet