diff --git a/samples/client/petstore/java/apache-httpclient/api/openapi.yaml b/samples/client/petstore/java/apache-httpclient/api/openapi.yaml index d02433c791c..4406a7347e0 100644 --- a/samples/client/petstore/java/apache-httpclient/api/openapi.yaml +++ b/samples/client/petstore/java/apache-httpclient/api/openapi.yaml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser 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 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml +++ b/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/PetApi.java index f9524104c9f..5903156bae0 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/PetApi.java @@ -83,7 +83,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/findByStatus?status={status}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) List findPetsByStatus(@Param("status") List status); @@ -96,7 +96,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/findByStatus?status={status}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse> findPetsByStatusWithHttpInfo(@Param("status") List status); @@ -118,7 +118,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/findByStatus?status={status}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) List findPetsByStatus(@QueryMap(encoded=true) FindPetsByStatusQueryParams queryParams); @@ -136,7 +136,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/findByStatus?status={status}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse> findPetsByStatusWithHttpInfo(@QueryMap(encoded=true) FindPetsByStatusQueryParams queryParams); @@ -162,7 +162,7 @@ public interface PetApi extends ApiClient.Api { @Deprecated @RequestLine("GET /pet/findByTags?tags={tags}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) Set findPetsByTags(@Param("tags") Set tags); @@ -177,7 +177,7 @@ public interface PetApi extends ApiClient.Api { @Deprecated @RequestLine("GET /pet/findByTags?tags={tags}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse> findPetsByTagsWithHttpInfo(@Param("tags") Set tags); @@ -201,7 +201,7 @@ public interface PetApi extends ApiClient.Api { @Deprecated @RequestLine("GET /pet/findByTags?tags={tags}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) Set findPetsByTags(@QueryMap(encoded=true) FindPetsByTagsQueryParams queryParams); @@ -221,7 +221,7 @@ public interface PetApi extends ApiClient.Api { @Deprecated @RequestLine("GET /pet/findByTags?tags={tags}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse> findPetsByTagsWithHttpInfo(@QueryMap(encoded=true) FindPetsByTagsQueryParams queryParams); @@ -245,7 +245,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/{petId}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) Pet getPetById(@Param("petId") Long petId); @@ -258,7 +258,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/{petId}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse getPetByIdWithHttpInfo(@Param("petId") Long petId); diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/StoreApi.java index e88030d0db4..b6c2b9c1f67 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/StoreApi.java @@ -74,7 +74,7 @@ public interface StoreApi extends ApiClient.Api { */ @RequestLine("GET /store/order/{orderId}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) Order getOrderById(@Param("orderId") Long orderId); @@ -87,7 +87,7 @@ public interface StoreApi extends ApiClient.Api { */ @RequestLine("GET /store/order/{orderId}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse getOrderByIdWithHttpInfo(@Param("orderId") Long orderId); @@ -102,7 +102,7 @@ public interface StoreApi extends ApiClient.Api { @RequestLine("POST /store/order") @Headers({ "Content-Type: */*", - "Accept: application/json", + "Accept: application/json,application/xml", }) Order placeOrder(Order body); @@ -116,7 +116,7 @@ public interface StoreApi extends ApiClient.Api { @RequestLine("POST /store/order") @Headers({ "Content-Type: */*", - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse placeOrderWithHttpInfo(Order body); diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java index 07a26016857..6098c23db15 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java @@ -131,7 +131,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/{username}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) User getUserByName(@Param("username") String username); @@ -144,7 +144,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/{username}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse getUserByNameWithHttpInfo(@Param("username") String username); @@ -159,7 +159,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/login?username={username}&password={password}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) String loginUser(@Param("username") String username, @Param("password") String password); @@ -173,7 +173,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/login?username={username}&password={password}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse loginUserWithHttpInfo(@Param("username") String username, @Param("password") String password); @@ -196,7 +196,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/login?username={username}&password={password}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) String loginUser(@QueryMap(encoded=true) LoginUserQueryParams queryParams); @@ -215,7 +215,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/login?username={username}&password={password}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse loginUserWithHttpInfo(@QueryMap(encoded=true) LoginUserQueryParams queryParams); diff --git a/samples/client/petstore/java/feign/api/openapi.yaml b/samples/client/petstore/java/feign/api/openapi.yaml index d02433c791c..4406a7347e0 100644 --- a/samples/client/petstore/java/feign/api/openapi.yaml +++ b/samples/client/petstore/java/feign/api/openapi.yaml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/PetApi.java index 9a6c3da5e77..b2da825ffda 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/PetApi.java @@ -83,7 +83,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/findByStatus?status={status}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) List findPetsByStatus(@Param("status") List status); @@ -96,7 +96,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/findByStatus?status={status}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse> findPetsByStatusWithHttpInfo(@Param("status") List status); @@ -118,7 +118,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/findByStatus?status={status}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) List findPetsByStatus(@QueryMap(encoded=true) FindPetsByStatusQueryParams queryParams); @@ -136,7 +136,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/findByStatus?status={status}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse> findPetsByStatusWithHttpInfo(@QueryMap(encoded=true) FindPetsByStatusQueryParams queryParams); @@ -162,7 +162,7 @@ public interface PetApi extends ApiClient.Api { @Deprecated @RequestLine("GET /pet/findByTags?tags={tags}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) Set findPetsByTags(@Param("tags") Set tags); @@ -177,7 +177,7 @@ public interface PetApi extends ApiClient.Api { @Deprecated @RequestLine("GET /pet/findByTags?tags={tags}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse> findPetsByTagsWithHttpInfo(@Param("tags") Set tags); @@ -201,7 +201,7 @@ public interface PetApi extends ApiClient.Api { @Deprecated @RequestLine("GET /pet/findByTags?tags={tags}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) Set findPetsByTags(@QueryMap(encoded=true) FindPetsByTagsQueryParams queryParams); @@ -221,7 +221,7 @@ public interface PetApi extends ApiClient.Api { @Deprecated @RequestLine("GET /pet/findByTags?tags={tags}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse> findPetsByTagsWithHttpInfo(@QueryMap(encoded=true) FindPetsByTagsQueryParams queryParams); @@ -245,7 +245,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/{petId}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) Pet getPetById(@Param("petId") Long petId); @@ -258,7 +258,7 @@ public interface PetApi extends ApiClient.Api { */ @RequestLine("GET /pet/{petId}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse getPetByIdWithHttpInfo(@Param("petId") Long petId); diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/StoreApi.java index 7a4bfd120f1..15d02d6d952 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/StoreApi.java @@ -74,7 +74,7 @@ public interface StoreApi extends ApiClient.Api { */ @RequestLine("GET /store/order/{orderId}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) Order getOrderById(@Param("orderId") Long orderId); @@ -87,7 +87,7 @@ public interface StoreApi extends ApiClient.Api { */ @RequestLine("GET /store/order/{orderId}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse getOrderByIdWithHttpInfo(@Param("orderId") Long orderId); @@ -102,7 +102,7 @@ public interface StoreApi extends ApiClient.Api { @RequestLine("POST /store/order") @Headers({ "Content-Type: application/json", - "Accept: application/json", + "Accept: application/json,application/xml", }) Order placeOrder(Order order); @@ -116,7 +116,7 @@ public interface StoreApi extends ApiClient.Api { @RequestLine("POST /store/order") @Headers({ "Content-Type: application/json", - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse placeOrderWithHttpInfo(Order order); diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java index b2a98b3df01..404290d569a 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java @@ -131,7 +131,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/{username}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) User getUserByName(@Param("username") String username); @@ -144,7 +144,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/{username}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse getUserByNameWithHttpInfo(@Param("username") String username); @@ -159,7 +159,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/login?username={username}&password={password}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) String loginUser(@Param("username") String username, @Param("password") String password); @@ -173,7 +173,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/login?username={username}&password={password}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse loginUserWithHttpInfo(@Param("username") String username, @Param("password") String password); @@ -196,7 +196,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/login?username={username}&password={password}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) String loginUser(@QueryMap(encoded=true) LoginUserQueryParams queryParams); @@ -215,7 +215,7 @@ public interface UserApi extends ApiClient.Api { */ @RequestLine("GET /user/login?username={username}&password={password}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse loginUserWithHttpInfo(@QueryMap(encoded=true) LoginUserQueryParams queryParams); 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 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/google-api-client/api/openapi.yaml +++ b/samples/client/petstore/java/google-api-client/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser 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 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/jersey2-java8/api/openapi.yaml b/samples/client/petstore/java/jersey2-java8/api/openapi.yaml index 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/jersey2-java8/api/openapi.yaml +++ b/samples/client/petstore/java/jersey2-java8/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/jersey3/api/openapi.yaml b/samples/client/petstore/java/jersey3/api/openapi.yaml index 814354567b0..8f79a7c4c5a 100644 --- a/samples/client/petstore/java/jersey3/api/openapi.yaml +++ b/samples/client/petstore/java/jersey3/api/openapi.yaml @@ -140,7 +140,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -182,7 +182,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -247,7 +247,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -360,7 +360,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -417,7 +417,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -516,7 +516,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/native-async/api/openapi.yaml b/samples/client/petstore/java/native-async/api/openapi.yaml index 07a440cfe9d..048456607eb 100644 --- a/samples/client/petstore/java/native-async/api/openapi.yaml +++ b/samples/client/petstore/java/native-async/api/openapi.yaml @@ -140,7 +140,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -182,7 +182,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -247,7 +247,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -360,7 +360,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -417,7 +417,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -516,7 +516,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/native-jakarta/api/openapi.yaml b/samples/client/petstore/java/native-jakarta/api/openapi.yaml index 6058c2b8c8d..1607a7fcd7d 100644 --- a/samples/client/petstore/java/native-jakarta/api/openapi.yaml +++ b/samples/client/petstore/java/native-jakarta/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -341,7 +341,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -398,7 +398,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/native/api/openapi.yaml b/samples/client/petstore/java/native/api/openapi.yaml index 07a440cfe9d..048456607eb 100644 --- a/samples/client/petstore/java/native/api/openapi.yaml +++ b/samples/client/petstore/java/native/api/openapi.yaml @@ -140,7 +140,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -182,7 +182,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -247,7 +247,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -360,7 +360,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -417,7 +417,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -516,7 +516,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/okhttp-gson-3.1/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-3.1/api/openapi.yaml index 542d67302af..6546aa0e403 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-3.1/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -340,7 +340,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -397,7 +397,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -511,7 +511,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -578,7 +578,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-awsv4signature/api/openapi.yaml index 6058c2b8c8d..1607a7fcd7d 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -341,7 +341,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -398,7 +398,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser 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 933d7332521..841142bed70 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 @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-group-parameter/api/openapi.yaml index 143c6a5c94c..70db220038f 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" operationId: updatePet @@ -76,7 +76,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -120,7 +120,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -160,7 +160,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-nullable-required/api/openapi.yaml index d03b14c6dae..59e9322aadf 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/api/openapi.yaml @@ -101,7 +101,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -141,7 +141,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -206,7 +206,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -319,7 +319,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -376,7 +376,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -490,7 +490,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -557,7 +557,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser 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 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-swagger1/api/openapi.yaml index 6058c2b8c8d..1607a7fcd7d 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-swagger1/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -341,7 +341,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -398,7 +398,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-swagger2/api/openapi.yaml index 6058c2b8c8d..1607a7fcd7d 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-swagger2/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -341,7 +341,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -398,7 +398,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/okhttp-gson/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson/api/openapi.yaml index f6a9c90eaaf..6479fd9a547 100644 --- a/samples/client/petstore/java/okhttp-gson/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson/api/openapi.yaml @@ -137,7 +137,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -178,7 +178,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -243,7 +243,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -356,7 +356,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -413,7 +413,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -575,7 +575,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser 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 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml +++ b/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/PetApi.java index 2bebdbf853c..e703a9ec309 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/PetApi.java @@ -273,7 +273,7 @@ public class PetApi { public FindPetsByStatusOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } @@ -348,7 +348,7 @@ public class PetApi { public FindPetsByTagsOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } @@ -421,7 +421,7 @@ public class PetApi { public GetPetByIdOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/StoreApi.java index 2894f03e56b..d34a720ff6a 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/StoreApi.java @@ -232,7 +232,7 @@ public class StoreApi { public GetOrderByIdOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } @@ -306,7 +306,7 @@ public class StoreApi { public PlaceOrderOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; reqSpec.setContentType("*/*"); - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/UserApi.java index ec286904556..2ad8b6a1da7 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/api/UserApi.java @@ -375,7 +375,7 @@ public class UserApi { public GetUserByNameOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } @@ -449,7 +449,7 @@ public class UserApi { public LoginUserOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } diff --git a/samples/client/petstore/java/rest-assured/api/openapi.yaml b/samples/client/petstore/java/rest-assured/api/openapi.yaml index 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/rest-assured/api/openapi.yaml +++ b/samples/client/petstore/java/rest-assured/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/PetApi.java index 8846a084ec0..3cc3d5e8f1d 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/PetApi.java @@ -274,7 +274,7 @@ public class PetApi { public FindPetsByStatusOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } @@ -349,7 +349,7 @@ public class PetApi { public FindPetsByTagsOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } @@ -422,7 +422,7 @@ public class PetApi { public GetPetByIdOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/StoreApi.java index e6281a0a34e..0c4c75f7503 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/StoreApi.java @@ -233,7 +233,7 @@ public class StoreApi { public GetOrderByIdOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } @@ -307,7 +307,7 @@ public class StoreApi { public PlaceOrderOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; reqSpec.setContentType("*/*"); - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/UserApi.java index dfd991dc96c..eab6d35bef0 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/api/UserApi.java @@ -376,7 +376,7 @@ public class UserApi { public GetUserByNameOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } @@ -450,7 +450,7 @@ public class UserApi { public LoginUserOper(RequestSpecBuilder reqSpec) { this.reqSpec = reqSpec; - reqSpec.setAccept("application/json"); + reqSpec.setAccept("application/json,application/xml"); this.respSpec = new ResponseSpecBuilder(); } diff --git a/samples/client/petstore/java/resteasy/api/openapi.yaml b/samples/client/petstore/java/resteasy/api/openapi.yaml index d02433c791c..4406a7347e0 100644 --- a/samples/client/petstore/java/resteasy/api/openapi.yaml +++ b/samples/client/petstore/java/resteasy/api/openapi.yaml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/resttemplate-jakarta/api/openapi.yaml b/samples/client/petstore/java/resttemplate-jakarta/api/openapi.yaml index 6058c2b8c8d..1607a7fcd7d 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-jakarta/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -341,7 +341,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -398,7 +398,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/resttemplate-swagger1/api/openapi.yaml b/samples/client/petstore/java/resttemplate-swagger1/api/openapi.yaml index 6058c2b8c8d..1607a7fcd7d 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-swagger1/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -341,7 +341,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -398,7 +398,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/resttemplate-swagger2/api/openapi.yaml b/samples/client/petstore/java/resttemplate-swagger2/api/openapi.yaml index 6058c2b8c8d..1607a7fcd7d 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-swagger2/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -341,7 +341,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -398,7 +398,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml b/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml index d02433c791c..4406a7347e0 100644 --- a/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/resttemplate/api/openapi.yaml b/samples/client/petstore/java/resttemplate/api/openapi.yaml index d02433c791c..4406a7347e0 100644 --- a/samples/client/petstore/java/resttemplate/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate/api/openapi.yaml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml b/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml index 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/retrofit2/api/openapi.yaml b/samples/client/petstore/java/retrofit2/api/openapi.yaml index 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/retrofit2/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml b/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml index 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml b/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml index 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser 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 933d7332521..841142bed70 100644 --- a/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml +++ b/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -172,7 +172,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: operationId: deletePet @@ -235,7 +235,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: operationId: updatePetWithForm parameters: @@ -344,7 +344,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -401,7 +401,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -510,7 +510,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: operationId: logoutUser @@ -572,7 +572,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/vertx/api/openapi.yaml b/samples/client/petstore/java/vertx/api/openapi.yaml index d02433c791c..4406a7347e0 100644 --- a/samples/client/petstore/java/vertx/api/openapi.yaml +++ b/samples/client/petstore/java/vertx/api/openapi.yaml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/webclient-jakarta/api/openapi.yaml b/samples/client/petstore/java/webclient-jakarta/api/openapi.yaml index d02433c791c..4406a7347e0 100644 --- a/samples/client/petstore/java/webclient-jakarta/api/openapi.yaml +++ b/samples/client/petstore/java/webclient-jakarta/api/openapi.yaml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/webclient-swagger2/api/openapi.yaml b/samples/client/petstore/java/webclient-swagger2/api/openapi.yaml index d02433c791c..4406a7347e0 100644 --- a/samples/client/petstore/java/webclient-swagger2/api/openapi.yaml +++ b/samples/client/petstore/java/webclient-swagger2/api/openapi.yaml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/java/webclient/api/openapi.yaml b/samples/client/petstore/java/webclient/api/openapi.yaml index d02433c791c..4406a7347e0 100644 --- a/samples/client/petstore/java/webclient/api/openapi.yaml +++ b/samples/client/petstore/java/webclient/api/openapi.yaml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/PetApi.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/PetApi.java index e622be71aaf..c18c56fd8f1 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/PetApi.java @@ -126,7 +126,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @@ -164,7 +164,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @@ -201,7 +201,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getPetById( diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/StoreApi.java index 6b4cf8fc536..dfcb0d92f67 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/StoreApi.java @@ -123,7 +123,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getOrderById( @@ -155,7 +155,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/UserApi.java index dde4c4fcb37..e9f1bda3228 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/UserApi.java @@ -185,7 +185,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getUserByName( @@ -218,7 +218,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity loginUser( diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/PetApi.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/PetApi.java index ae696a1a005..f93028052e1 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/PetApi.java @@ -56,7 +56,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.POST, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) @@ -127,7 +127,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @@ -165,7 +165,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @@ -200,7 +200,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getPetById( @@ -242,7 +242,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.PUT, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/StoreApi.java index 542a3fcf631..16b21de04cd 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/StoreApi.java @@ -111,7 +111,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getOrderById( @@ -141,7 +141,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/UserApi.java index 3907f07b511..da6b67bcc33 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/UserApi.java @@ -173,7 +173,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getUserByName( @@ -204,7 +204,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity loginUser( diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/PetController.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/PetController.java index f3f2de470bb..26b6cc457b8 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/PetController.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/PetController.java @@ -124,7 +124,7 @@ public interface PetController { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @@ -164,7 +164,7 @@ public interface PetController { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @@ -200,7 +200,7 @@ public interface PetController { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getPetById( diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/StoreController.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/StoreController.java index 0f1588b67a6..a3cb3f154cc 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/StoreController.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/StoreController.java @@ -111,7 +111,7 @@ public interface StoreController { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getOrderById( @@ -140,7 +140,7 @@ public interface StoreController { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity placeOrder( diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/UserController.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/UserController.java index c46fe189f13..0e55a1ad9aa 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/UserController.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/UserController.java @@ -155,7 +155,7 @@ public interface UserController { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getUserByName( @@ -185,7 +185,7 @@ public interface UserController { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity loginUser( diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java index ae696a1a005..f93028052e1 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java @@ -56,7 +56,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.POST, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) @@ -127,7 +127,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @@ -165,7 +165,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @@ -200,7 +200,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getPetById( @@ -242,7 +242,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.PUT, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java index 542a3fcf631..16b21de04cd 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java @@ -111,7 +111,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getOrderById( @@ -141,7 +141,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java index 3907f07b511..da6b67bcc33 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java @@ -173,7 +173,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getUserByName( @@ -204,7 +204,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity loginUser( diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/PetApi.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/PetApi.java index 22d76619d77..e6c76e3d70b 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/PetApi.java @@ -77,7 +77,7 @@ public interface PetApi { @HttpExchange( method = "GET", value = "/pet/findByStatus", - accept = "application/json" + accept = "application/json,application/xml" ) Mono>> findPetsByStatus( @RequestParam(value = "status", required = true) List status @@ -97,7 +97,7 @@ public interface PetApi { @HttpExchange( method = "GET", value = "/pet/findByTags", - accept = "application/json" + accept = "application/json,application/xml" ) Mono>> findPetsByTags( @RequestParam(value = "tags", required = true) Set tags @@ -116,7 +116,7 @@ public interface PetApi { @HttpExchange( method = "GET", value = "/pet/{petId}", - accept = "application/json" + accept = "application/json,application/xml" ) Mono> getPetById( @PathVariable("petId") Long petId diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/StoreApi.java index 57b79054f6e..2c842b85941 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/StoreApi.java @@ -71,7 +71,7 @@ public interface StoreApi { @HttpExchange( method = "GET", value = "/store/order/{order_id}", - accept = "application/json" + accept = "application/json,application/xml" ) Mono> getOrderById( @PathVariable("order_id") Long orderId @@ -89,7 +89,7 @@ public interface StoreApi { @HttpExchange( method = "POST", value = "/store/order", - accept = "application/json", + accept = "application/json,application/xml", contentType = "application/json" ) Mono> placeOrder( diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/UserApi.java index 0af6509b001..fb59d63d6c9 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/UserApi.java @@ -109,7 +109,7 @@ public interface UserApi { @HttpExchange( method = "GET", value = "/user/{username}", - accept = "application/json" + accept = "application/json,application/xml" ) Mono> getUserByName( @PathVariable("username") String username @@ -128,7 +128,7 @@ public interface UserApi { @HttpExchange( method = "GET", value = "/user/login", - accept = "application/json" + accept = "application/json,application/xml" ) Mono> loginUser( @RequestParam(value = "username", required = true) String username, diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/PetApi.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/PetApi.java index 335ca99dcb9..01841a62b5c 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/PetApi.java @@ -73,7 +73,7 @@ public interface PetApi { @HttpExchange( method = "GET", value = "/pet/findByStatus", - accept = "application/json" + accept = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @RequestParam(value = "status", required = true) List status @@ -93,7 +93,7 @@ public interface PetApi { @HttpExchange( method = "GET", value = "/pet/findByTags", - accept = "application/json" + accept = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @RequestParam(value = "tags", required = true) Set tags @@ -112,7 +112,7 @@ public interface PetApi { @HttpExchange( method = "GET", value = "/pet/{petId}", - accept = "application/json" + accept = "application/json,application/xml" ) ResponseEntity getPetById( @PathVariable("petId") Long petId diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/StoreApi.java index 57c21f1d059..5bf2b861e31 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/StoreApi.java @@ -67,7 +67,7 @@ public interface StoreApi { @HttpExchange( method = "GET", value = "/store/order/{order_id}", - accept = "application/json" + accept = "application/json,application/xml" ) ResponseEntity getOrderById( @PathVariable("order_id") Long orderId @@ -85,7 +85,7 @@ public interface StoreApi { @HttpExchange( method = "POST", value = "/store/order", - accept = "application/json", + accept = "application/json,application/xml", contentType = "application/json" ) ResponseEntity placeOrder( diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/UserApi.java index 82e6c45dae8..49572ab866c 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/UserApi.java @@ -105,7 +105,7 @@ public interface UserApi { @HttpExchange( method = "GET", value = "/user/{username}", - accept = "application/json" + accept = "application/json,application/xml" ) ResponseEntity getUserByName( @PathVariable("username") String username @@ -124,7 +124,7 @@ public interface UserApi { @HttpExchange( method = "GET", value = "/user/login", - accept = "application/json" + accept = "application/json,application/xml" ) ResponseEntity loginUser( @RequestParam(value = "username", required = true) String username, diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/api/openapi.yaml b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/api/openapi.yaml index 6058c2b8c8d..1607a7fcd7d 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/api/openapi.yaml +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -341,7 +341,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -398,7 +398,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/api/openapi.yaml b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/api/openapi.yaml index 6058c2b8c8d..1607a7fcd7d 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/api/openapi.yaml +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/api/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -341,7 +341,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -398,7 +398,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser 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 814354567b0..8f79a7c4c5a 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml +++ b/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml @@ -140,7 +140,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -182,7 +182,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -247,7 +247,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -360,7 +360,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -417,7 +417,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -516,7 +516,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/PetApi.java b/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/PetApi.java index 25a5a768215..e604dc02bea 100644 --- a/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/PetApi.java @@ -37,7 +37,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.POST, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) @@ -76,7 +76,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @@ -97,7 +97,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @@ -117,7 +117,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getPetById( @@ -140,7 +140,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.PUT, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/StoreApi.java b/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/StoreApi.java index e700d399ff1..8f82fdde5e1 100644 --- a/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/StoreApi.java @@ -73,7 +73,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getOrderById( @@ -92,7 +92,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/UserApi.java b/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/UserApi.java index fdd336454da..6d1fe1925a9 100644 --- a/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-3-with-optional/src/main/java/org/openapitools/api/UserApi.java @@ -110,7 +110,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getUserByName( @@ -130,7 +130,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity loginUser( diff --git a/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/PetApi.java b/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/PetApi.java index d2f955ce8bc..fe1dbdf3f37 100644 --- a/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/PetApi.java @@ -65,7 +65,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.POST, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) @@ -132,7 +132,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @@ -170,7 +170,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @@ -207,7 +207,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getPetById( @@ -249,7 +249,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.PUT, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/StoreApi.java b/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/StoreApi.java index 185c6fa0d69..6846d9c3f5e 100644 --- a/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/StoreApi.java @@ -123,7 +123,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getOrderById( @@ -155,7 +155,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/UserApi.java b/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/UserApi.java index 9f0be612ed4..26380b6c471 100644 --- a/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/api/UserApi.java @@ -185,7 +185,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getUserByName( @@ -218,7 +218,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity loginUser( diff --git a/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/PetApi.java b/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/PetApi.java index d92e5770217..5a883787eff 100644 --- a/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/PetApi.java @@ -66,7 +66,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.POST, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) @@ -133,7 +133,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) CompletableFuture>> findPetsByStatus( @@ -171,7 +171,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) CompletableFuture>> findPetsByTags( @@ -208,7 +208,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) CompletableFuture> getPetById( @@ -250,7 +250,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.PUT, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/StoreApi.java b/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/StoreApi.java index 6c05fe5f935..d4568368294 100644 --- a/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/StoreApi.java @@ -124,7 +124,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) CompletableFuture> getOrderById( @@ -156,7 +156,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/UserApi.java b/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/UserApi.java index d9d38f90e9a..e65f1a6a4e8 100644 --- a/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/api/UserApi.java @@ -186,7 +186,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) CompletableFuture> getUserByName( @@ -219,7 +219,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) CompletableFuture> loginUser( diff --git a/samples/openapi3/client/petstore/spring-cloud-http-basic/src/main/java/org/openapitools/api/PetApi.java b/samples/openapi3/client/petstore/spring-cloud-http-basic/src/main/java/org/openapitools/api/PetApi.java index ecdc7b0835d..5bb487668db 100644 --- a/samples/openapi3/client/petstore/spring-cloud-http-basic/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-http-basic/src/main/java/org/openapitools/api/PetApi.java @@ -64,7 +64,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.POST, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/PetApi.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/PetApi.java index 8ba591940e1..074bccb6378 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/PetApi.java @@ -132,7 +132,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @@ -170,7 +170,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @@ -207,7 +207,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getPetById( diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/StoreApi.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/StoreApi.java index e173f62079b..b48103859f7 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/StoreApi.java @@ -123,7 +123,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{order_id}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getOrderById( @@ -155,7 +155,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/UserApi.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/UserApi.java index e3a3f1ae76d..0eeea3b7d9c 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/api/UserApi.java @@ -173,7 +173,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getUserByName( @@ -206,7 +206,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity loginUser( diff --git a/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/PetApi.java b/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/PetApi.java index 5672c99ea9e..cec15704b2f 100644 --- a/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/PetApi.java @@ -124,7 +124,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @@ -163,7 +163,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @@ -201,7 +201,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getPetById( diff --git a/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/StoreApi.java b/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/StoreApi.java index 6aa2035c3f5..5a12a703ec3 100644 --- a/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/StoreApi.java @@ -123,7 +123,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getOrderById( @@ -153,7 +153,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity placeOrder( diff --git a/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/UserApi.java b/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/UserApi.java index 148761ba0a6..5f810e0899c 100644 --- a/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/api/UserApi.java @@ -164,7 +164,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getUserByName( @@ -195,7 +195,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity loginUser( diff --git a/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java b/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java index ee0b277d6f7..43b6678a4c4 100644 --- a/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java @@ -65,7 +65,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.POST, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) @@ -132,7 +132,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @@ -170,7 +170,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @@ -207,7 +207,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getPetById( @@ -249,7 +249,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.PUT, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java b/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java index 6b4cf8fc536..dfcb0d92f67 100644 --- a/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java @@ -123,7 +123,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getOrderById( @@ -155,7 +155,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java b/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java index d52615ffe54..b0264216ba8 100644 --- a/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java @@ -185,7 +185,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getUserByName( @@ -218,7 +218,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity loginUser( diff --git a/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/PetApi.java b/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/PetApi.java index 860eb02e844..7af17152063 100644 --- a/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/PetApi.java @@ -65,7 +65,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.POST, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) @@ -132,7 +132,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByStatus( @@ -170,7 +170,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity> findPetsByTags( @@ -207,7 +207,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getPetById( @@ -249,7 +249,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.PUT, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/StoreApi.java b/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/StoreApi.java index 18d2654f5d6..0766ab318d1 100644 --- a/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/StoreApi.java @@ -123,7 +123,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getOrderById( @@ -155,7 +155,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/UserApi.java b/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/UserApi.java index faca2b95000..77c12e18337 100644 --- a/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/api/UserApi.java @@ -185,7 +185,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity getUserByName( @@ -218,7 +218,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) ResponseEntity loginUser( diff --git a/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/PetApi.java b/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/PetApi.java index 5623b3b72f3..2f9796e5044 100644 --- a/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/PetApi.java @@ -69,7 +69,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.POST, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) @@ -156,7 +156,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByStatus", - produces = "application/json" + produces = "application/json,application/xml" ) default ResponseEntity> findPetsByStatus( @@ -211,7 +211,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/findByTags", - produces = "application/json" + produces = "application/json,application/xml" ) default ResponseEntity> findPetsByTags( @@ -265,7 +265,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.GET, value = "/pet/{petId}", - produces = "application/json" + produces = "application/json,application/xml" ) default ResponseEntity getPetById( @@ -324,7 +324,7 @@ public interface PetApi { @RequestMapping( method = RequestMethod.PUT, value = "/pet", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/StoreApi.java b/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/StoreApi.java index dbe8b98d982..4b6e38ad2b1 100644 --- a/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/StoreApi.java @@ -133,7 +133,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.GET, value = "/store/order/{orderId}", - produces = "application/json" + produces = "application/json,application/xml" ) default ResponseEntity getOrderById( @@ -182,7 +182,7 @@ public interface StoreApi { @RequestMapping( method = RequestMethod.POST, value = "/store/order", - produces = "application/json", + produces = "application/json,application/xml", consumes = "application/json" ) diff --git a/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/UserApi.java b/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/UserApi.java index 89190e827cc..044a6c79338 100644 --- a/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/api/UserApi.java @@ -201,7 +201,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/{username}", - produces = "application/json" + produces = "application/json,application/xml" ) default ResponseEntity getUserByName( @@ -251,7 +251,7 @@ public interface UserApi { @RequestMapping( method = RequestMethod.GET, value = "/user/login", - produces = "application/json" + produces = "application/json,application/xml" ) default ResponseEntity loginUser( 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 65092456cbd..cee3307f79a 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 @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet put: @@ -81,7 +81,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByStatus: @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -169,7 +169,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -238,7 +238,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -359,7 +359,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{orderId}: @@ -420,7 +420,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -542,7 +542,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -615,7 +615,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: diff --git a/samples/openapi3/server/petstore/springboot-3/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-3/src/main/resources/openapi.yaml index 65092456cbd..cee3307f79a 100644 --- a/samples/openapi3/server/petstore/springboot-3/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-3/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet put: @@ -81,7 +81,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByStatus: @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -169,7 +169,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -238,7 +238,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -359,7 +359,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{orderId}: @@ -420,7 +420,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -542,7 +542,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -615,7 +615,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 adb3ff3f602..04d2ce4b15b 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 @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 adb3ff3f602..04d2ce4b15b 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 @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 65092456cbd..cee3307f79a 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 @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet put: @@ -81,7 +81,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByStatus: @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -169,7 +169,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -238,7 +238,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -359,7 +359,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{orderId}: @@ -420,7 +420,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -542,7 +542,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -615,7 +615,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 65092456cbd..cee3307f79a 100644 --- a/samples/openapi3/server/petstore/springboot/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet put: @@ -81,7 +81,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByStatus: @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -169,7 +169,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -238,7 +238,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -359,7 +359,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{orderId}: @@ -420,7 +420,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -542,7 +542,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -615,7 +615,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: diff --git a/samples/server/petstore/java-helidon-server/mp/src/main/resources/META-INF/openapi.yml b/samples/server/petstore/java-helidon-server/mp/src/main/resources/META-INF/openapi.yml index a2995b48840..27ee0c195b9 100644 --- a/samples/server/petstore/java-helidon-server/mp/src/main/resources/META-INF/openapi.yml +++ b/samples/server/petstore/java-helidon-server/mp/src/main/resources/META-INF/openapi.yml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/server/petstore/java-helidon-server/se/src/main/resources/META-INF/openapi.yml b/samples/server/petstore/java-helidon-server/se/src/main/resources/META-INF/openapi.yml index a2995b48840..27ee0c195b9 100644 --- a/samples/server/petstore/java-helidon-server/se/src/main/resources/META-INF/openapi.yml +++ b/samples/server/petstore/java-helidon-server/se/src/main/resources/META-INF/openapi.yml @@ -158,7 +158,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -203,7 +203,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -271,7 +271,7 @@ paths: tags: - pet x-webclient-blocking: true - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -387,7 +387,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{order_id}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -444,7 +444,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -543,7 +543,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -606,7 +606,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser 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 8b12859e647..cb902885e96 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 @@ -151,7 +151,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -205,7 +205,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -283,7 +283,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "operationId" : "updatePetWithForm", @@ -431,7 +431,7 @@ "tags" : [ "store" ], "x-codegen-request-body-name" : "body", "x-content-type" : "*/*", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{orderId}" : { @@ -503,7 +503,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -653,7 +653,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -735,7 +735,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", 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 8b12859e647..cb902885e96 100644 --- a/samples/server/petstore/java-play-framework-async/public/openapi.json +++ b/samples/server/petstore/java-play-framework-async/public/openapi.json @@ -151,7 +151,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -205,7 +205,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -283,7 +283,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "operationId" : "updatePetWithForm", @@ -431,7 +431,7 @@ "tags" : [ "store" ], "x-codegen-request-body-name" : "body", "x-content-type" : "*/*", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{orderId}" : { @@ -503,7 +503,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -653,7 +653,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -735,7 +735,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", 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 8b12859e647..cb902885e96 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 @@ -151,7 +151,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -205,7 +205,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -283,7 +283,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "operationId" : "updatePetWithForm", @@ -431,7 +431,7 @@ "tags" : [ "store" ], "x-codegen-request-body-name" : "body", "x-content-type" : "*/*", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{orderId}" : { @@ -503,7 +503,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -653,7 +653,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -735,7 +735,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", 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 ece66be6e44..3202e3f8c0e 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 @@ -148,7 +148,7 @@ }, "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } } }, 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 605ee873533..723c583bc66 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 @@ -159,7 +159,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -216,7 +216,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -298,7 +298,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "operationId" : "updatePetWithForm", @@ -446,7 +446,7 @@ "tags" : [ "store" ], "x-codegen-request-body-name" : "body", "x-content-type" : "*/*", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{order_id}" : { @@ -518,7 +518,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -668,7 +668,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -750,7 +750,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", 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 8b12859e647..cb902885e96 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 @@ -151,7 +151,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -205,7 +205,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -283,7 +283,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "operationId" : "updatePetWithForm", @@ -431,7 +431,7 @@ "tags" : [ "store" ], "x-codegen-request-body-name" : "body", "x-content-type" : "*/*", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{orderId}" : { @@ -503,7 +503,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -653,7 +653,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -735,7 +735,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", 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 8b12859e647..cb902885e96 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 @@ -151,7 +151,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -205,7 +205,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -283,7 +283,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "operationId" : "updatePetWithForm", @@ -431,7 +431,7 @@ "tags" : [ "store" ], "x-codegen-request-body-name" : "body", "x-content-type" : "*/*", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{orderId}" : { @@ -503,7 +503,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -653,7 +653,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -735,7 +735,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", 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 8b12859e647..cb902885e96 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 @@ -151,7 +151,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -205,7 +205,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -283,7 +283,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "operationId" : "updatePetWithForm", @@ -431,7 +431,7 @@ "tags" : [ "store" ], "x-codegen-request-body-name" : "body", "x-content-type" : "*/*", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{orderId}" : { @@ -503,7 +503,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -653,7 +653,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -735,7 +735,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", 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 8b12859e647..cb902885e96 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 @@ -151,7 +151,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -205,7 +205,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -283,7 +283,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "operationId" : "updatePetWithForm", @@ -431,7 +431,7 @@ "tags" : [ "store" ], "x-codegen-request-body-name" : "body", "x-content-type" : "*/*", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{orderId}" : { @@ -503,7 +503,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -653,7 +653,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -735,7 +735,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", 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 8b12859e647..cb902885e96 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 @@ -151,7 +151,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -205,7 +205,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -283,7 +283,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "operationId" : "updatePetWithForm", @@ -431,7 +431,7 @@ "tags" : [ "store" ], "x-codegen-request-body-name" : "body", "x-content-type" : "*/*", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{orderId}" : { @@ -503,7 +503,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -653,7 +653,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -735,7 +735,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", diff --git a/samples/server/petstore/java-play-framework/public/openapi.json b/samples/server/petstore/java-play-framework/public/openapi.json index 8b12859e647..cb902885e96 100644 --- a/samples/server/petstore/java-play-framework/public/openapi.json +++ b/samples/server/petstore/java-play-framework/public/openapi.json @@ -151,7 +151,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -205,7 +205,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -283,7 +283,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "operationId" : "updatePetWithForm", @@ -431,7 +431,7 @@ "tags" : [ "store" ], "x-codegen-request-body-name" : "body", "x-content-type" : "*/*", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{orderId}" : { @@ -503,7 +503,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -653,7 +653,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -735,7 +735,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", 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 04da14326f8..51dd2e5f9ee 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 @@ -60,7 +60,7 @@ "summary" : "Add a new pet to the store", "tags" : [ "pet" ], "x-content-type" : "application/json", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "", @@ -104,7 +104,7 @@ "summary" : "Update an existing pet", "tags" : [ "pet" ], "x-content-type" : "application/json", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByStatus" : { @@ -159,7 +159,7 @@ } ], "summary" : "Finds Pets by status", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/findByTags" : { @@ -212,7 +212,7 @@ } ], "summary" : "Finds Pets by tags", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/pet/{petId}" : { @@ -295,7 +295,7 @@ } ], "summary" : "Find pet by ID", "tags" : [ "pet" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "post" : { "description" : "", @@ -447,7 +447,7 @@ "summary" : "Place an order for a pet", "tags" : [ "store" ], "x-content-type" : "application/json", - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/store/order/{orderId}" : { @@ -519,7 +519,7 @@ }, "summary" : "Find purchase order by ID", "tags" : [ "store" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user" : { @@ -670,7 +670,7 @@ }, "summary" : "Logs user into the system", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" } }, "/user/logout" : { @@ -759,7 +759,7 @@ }, "summary" : "Get user by user name", "tags" : [ "user" ], - "x-accepts" : "application/json" + "x-accepts" : "application/json,application/xml" }, "put" : { "description" : "This can only be done by the logged in user.", 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 23317e7c304..e7133d04a9d 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 @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: "" externalDocs: @@ -79,7 +79,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByStatus: get: description: Multiple status values can be provided with comma separated strings @@ -123,7 +123,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/findByTags: get: deprecated: true @@ -163,7 +163,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" /pet/{petId}: delete: description: "" @@ -228,7 +228,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" post: description: "" operationId: updatePetWithForm @@ -341,7 +341,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" /store/order/{orderId}: delete: description: For valid response try integer IDs with value < 1000. Anything @@ -398,7 +398,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" /user: post: description: This can only be done by the logged in user. @@ -512,7 +512,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" /user/logout: get: description: "" @@ -579,7 +579,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" put: description: This can only be done by the logged in user. operationId: updateUser diff --git a/samples/server/petstore/jaxrs-spec-interface-response/src/main/openapi/openapi.yaml b/samples/server/petstore/jaxrs-spec-interface-response/src/main/openapi/openapi.yaml index c448d48c3de..d49efeb91a2 100644 --- a/samples/server/petstore/jaxrs-spec-interface-response/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec-interface-response/src/main/openapi/openapi.yaml @@ -131,7 +131,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -178,7 +178,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -245,7 +245,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -362,7 +362,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -423,7 +423,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -540,7 +540,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -608,7 +608,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 c448d48c3de..d49efeb91a2 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 @@ -131,7 +131,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -178,7 +178,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -245,7 +245,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -362,7 +362,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -423,7 +423,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -540,7 +540,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -608,7 +608,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: diff --git a/samples/server/petstore/jaxrs-spec-jakarta/src/main/openapi/openapi.yaml b/samples/server/petstore/jaxrs-spec-jakarta/src/main/openapi/openapi.yaml index c448d48c3de..d49efeb91a2 100644 --- a/samples/server/petstore/jaxrs-spec-jakarta/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec-jakarta/src/main/openapi/openapi.yaml @@ -131,7 +131,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -178,7 +178,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -245,7 +245,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -362,7 +362,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -423,7 +423,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -540,7 +540,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -608,7 +608,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: diff --git a/samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/src/main/resources/META-INF/openapi.yaml b/samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/src/main/resources/META-INF/openapi.yaml index c448d48c3de..d49efeb91a2 100644 --- a/samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/src/main/resources/META-INF/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/src/main/resources/META-INF/openapi.yaml @@ -131,7 +131,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -178,7 +178,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -245,7 +245,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -362,7 +362,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -423,7 +423,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -540,7 +540,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -608,7 +608,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 c448d48c3de..d49efeb91a2 100644 --- a/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml @@ -131,7 +131,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -178,7 +178,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -245,7 +245,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -362,7 +362,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -423,7 +423,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -540,7 +540,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -608,7 +608,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 adb3ff3f602..04d2ce4b15b 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 @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 adb3ff3f602..04d2ce4b15b 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-beanvalidation/src/main/resources/openapi.yaml @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 adb3ff3f602..04d2ce4b15b 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 @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: diff --git a/samples/server/petstore/springboot-delegate-no-response-entity/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-delegate-no-response-entity/src/main/resources/openapi.yaml index 65092456cbd..cee3307f79a 100644 --- a/samples/server/petstore/springboot-delegate-no-response-entity/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-delegate-no-response-entity/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet put: @@ -81,7 +81,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByStatus: @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -169,7 +169,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -238,7 +238,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -359,7 +359,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{orderId}: @@ -420,7 +420,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -542,7 +542,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -615,7 +615,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 adb3ff3f602..04d2ce4b15b 100644 --- a/samples/server/petstore/springboot-delegate/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-delegate/src/main/resources/openapi.yaml @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: diff --git a/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/resources/openapi.yaml index 65092456cbd..cee3307f79a 100644 --- a/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/resources/openapi.yaml @@ -46,7 +46,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet put: @@ -81,7 +81,7 @@ paths: tags: - pet x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByStatus: @@ -127,7 +127,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -169,7 +169,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -238,7 +238,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -359,7 +359,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{orderId}: @@ -420,7 +420,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -542,7 +542,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -615,7 +615,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 adb3ff3f602..04d2ce4b15b 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/resources/openapi.yaml index adb3ff3f602..04d2ce4b15b 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/resources/openapi.yaml @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 adb3ff3f602..04d2ce4b15b 100644 --- a/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 c07f4f9b8a8..4a64aa95cde 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 @@ -132,7 +132,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/all: @@ -163,7 +163,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -208,7 +208,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -282,7 +282,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -403,7 +403,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -468,7 +468,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -593,7 +593,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -665,7 +665,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 c07f4f9b8a8..4a64aa95cde 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 @@ -132,7 +132,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/all: @@ -163,7 +163,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -208,7 +208,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -282,7 +282,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -403,7 +403,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -468,7 +468,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -593,7 +593,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -665,7 +665,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 c07f4f9b8a8..4a64aa95cde 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 @@ -132,7 +132,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/all: @@ -163,7 +163,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -208,7 +208,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -282,7 +282,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -403,7 +403,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -468,7 +468,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -593,7 +593,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -665,7 +665,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 c07f4f9b8a8..4a64aa95cde 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 @@ -132,7 +132,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/all: @@ -163,7 +163,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -208,7 +208,7 @@ paths: tags: - pet x-spring-paginated: true - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -282,7 +282,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -403,7 +403,7 @@ paths: - store x-codegen-request-body-name: body x-content-type: '*/*' - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -468,7 +468,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -593,7 +593,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -665,7 +665,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 adb3ff3f602..04d2ce4b15b 100644 --- a/samples/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: 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 adb3ff3f602..04d2ce4b15b 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-virtualan/src/main/resources/openapi.yaml @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: diff --git a/samples/server/petstore/springboot/src/main/resources/openapi.yaml b/samples/server/petstore/springboot/src/main/resources/openapi.yaml index 42dd7db5f53..bf8dcfb4c25 100644 --- a/samples/server/petstore/springboot/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot/src/main/resources/openapi.yaml @@ -108,7 +108,7 @@ paths: summary: Finds Pets by status tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/findByTags: @@ -154,7 +154,7 @@ paths: summary: Finds Pets by tags tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet /pet/{petId}: @@ -225,7 +225,7 @@ paths: summary: Find pet by ID tags: - pet - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: pet post: @@ -346,7 +346,7 @@ paths: tags: - store x-content-type: application/json - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /store/order/{order_id}: @@ -407,7 +407,7 @@ paths: summary: Find purchase order by ID tags: - store - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: store /user: @@ -514,7 +514,7 @@ paths: summary: Logs user into the system tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user /user/logout: @@ -583,7 +583,7 @@ paths: summary: Get user by user name tags: - user - x-accepts: application/json + x-accepts: "application/json,application/xml" x-tags: - tag: user put: