From 73afa870c657b9bb83e94dfba5ba77d5d06855a1 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Sun, 25 Feb 2024 10:04:22 -0800 Subject: [PATCH 01/18] Removes module-info --- samples/client/petstore/java/src/main/java/module-info.java | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 samples/client/petstore/java/src/main/java/module-info.java diff --git a/samples/client/petstore/java/src/main/java/module-info.java b/samples/client/petstore/java/src/main/java/module-info.java deleted file mode 100644 index 8ecf42d96a1..00000000000 --- a/samples/client/petstore/java/src/main/java/module-info.java +++ /dev/null @@ -1,5 +0,0 @@ -module org.openapijsonschematools.client { - requires java.net.http; - requires org.checkerframework.checker.qual; - requires com.google.gson; -} \ No newline at end of file From 41e17b3d0130d1e3327829e388a5f6fe284f9871 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Sun, 25 Feb 2024 12:24:12 -0800 Subject: [PATCH 02/18] Adds responses class with emprt deserialize implmentation --- .../petstore/java/.openapi-generator/FILES | 69 +++++++++++++++ .../client/components/responses.java | 21 +++++ .../anotherfakedummy/patch/Responses.java | 32 +++++++ .../commonparamsubdir/delete/Responses.java | 36 ++++++++ .../commonparamsubdir/get/Responses.java | 36 ++++++++ .../commonparamsubdir/post/Responses.java | 36 ++++++++ .../client/paths/fake/delete/Responses.java | 36 ++++++++ .../client/paths/fake/get/Responses.java | 47 ++++++++++ .../client/paths/fake/patch/Responses.java | 32 +++++++ .../client/paths/fake/post/Responses.java | 51 +++++++++++ .../get/Responses.java | 32 +++++++ .../fakebodywithfileschema/put/Responses.java | 36 ++++++++ .../put/Responses.java | 36 ++++++++ .../put/Responses.java | 36 ++++++++ .../fakeclassnametest/patch/Responses.java | 32 +++++++ .../fakedeletecoffeeid/delete/Responses.java | 51 +++++++++++ .../paths/fakehealth/get/Responses.java | 32 +++++++ .../post/Responses.java | 36 ++++++++ .../fakeinlinecomposition/post/Responses.java | 32 +++++++ .../paths/fakejsonformdata/get/Responses.java | 36 ++++++++ .../paths/fakejsonpatch/patch/Responses.java | 36 ++++++++ .../fakejsonwithcharset/post/Responses.java | 32 +++++++ .../post/Responses.java | 32 +++++++ .../get/Responses.java | 43 +++++++++ .../fakemultiplesecurities/get/Responses.java | 32 +++++++ .../paths/fakeobjinquery/get/Responses.java | 36 ++++++++ .../post/Responses.java | 32 +++++++ .../fakepemcontenttype/get/Responses.java | 32 +++++++ .../post/Responses.java | 32 +++++++ .../get/Responses.java | 32 +++++++ .../paths/fakeredirection/get/Responses.java | 51 +++++++++++ .../fakerefobjinquery/get/Responses.java | 36 ++++++++ .../fakerefsarraymodel/post/Responses.java | 32 +++++++ .../fakerefsarrayofenums/post/Responses.java | 32 +++++++ .../paths/fakerefsboolean/post/Responses.java | 32 +++++++ .../post/Responses.java | 32 +++++++ .../paths/fakerefsenum/post/Responses.java | 32 +++++++ .../paths/fakerefsmammal/post/Responses.java | 32 +++++++ .../paths/fakerefsnumber/post/Responses.java | 32 +++++++ .../post/Responses.java | 32 +++++++ .../paths/fakerefsstring/post/Responses.java | 32 +++++++ .../get/Responses.java | 36 ++++++++ .../faketestqueryparamters/put/Responses.java | 36 ++++++++ .../post/Responses.java | 32 +++++++ .../paths/fakeuploadfile/post/Responses.java | 32 +++++++ .../paths/fakeuploadfiles/post/Responses.java | 32 +++++++ .../fakewildcardresponses/get/Responses.java | 87 +++++++++++++++++++ .../client/paths/foo/get/Responses.java | 32 +++++++ .../client/paths/pet/post/Responses.java | 51 +++++++++++ .../client/paths/pet/put/Responses.java | 66 ++++++++++++++ .../paths/petfindbystatus/get/Responses.java | 51 +++++++++++ .../paths/petfindbytags/get/Responses.java | 51 +++++++++++ .../paths/petpetid/delete/Responses.java | 36 ++++++++ .../client/paths/petpetid/get/Responses.java | 62 +++++++++++++ .../client/paths/petpetid/post/Responses.java | 36 ++++++++ .../petpetiduploadimage/post/Responses.java | 36 ++++++++ .../client/paths/solidus/get/Responses.java | 36 ++++++++ .../paths/storeinventory/get/Responses.java | 36 ++++++++ .../paths/storeorder/post/Responses.java | 47 ++++++++++ .../storeorderorderid/delete/Responses.java | 51 +++++++++++ .../storeorderorderid/get/Responses.java | 62 +++++++++++++ .../client/paths/user/post/Responses.java | 36 ++++++++ .../usercreatewitharray/post/Responses.java | 36 ++++++++ .../usercreatewithlist/post/Responses.java | 36 ++++++++ .../client/paths/userlogin/get/Responses.java | 47 ++++++++++ .../paths/userlogout/get/Responses.java | 36 ++++++++ .../paths/userusername/delete/Responses.java | 51 +++++++++++ .../paths/userusername/get/Responses.java | 62 +++++++++++++ .../paths/userusername/put/Responses.java | 51 +++++++++++ .../response/ResponsesDeserializer.java | 8 ++ .../DefaultGeneratorRunner.java | 4 +- .../codegen/generators/DefaultGenerator.java | 17 ++-- .../generators/JavaClientGenerator.java | 23 ++++- .../generators/openapimodels/CodegenMap.java | 26 ++++++ .../openapimodels/CodegenOperation.java | 4 +- .../components/responses/Responses.hbs | 42 +++++++++ .../response/ResponsesDeserializer.hbs | 8 ++ 77 files changed, 2851 insertions(+), 13 deletions(-) create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java create mode 100644 src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenMap.java create mode 100644 src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs create mode 100644 src/main/resources/java/src/main/java/packagename/response/ResponsesDeserializer.hbs diff --git a/samples/client/petstore/java/.openapi-generator/FILES b/samples/client/petstore/java/.openapi-generator/FILES index a6fa353c510..047d81519b5 100644 --- a/samples/client/petstore/java/.openapi-generator/FILES +++ b/samples/client/petstore/java/.openapi-generator/FILES @@ -340,6 +340,7 @@ src/main/java/org/openapijsonschematools/client/components/requestbodies/client/ src/main/java/org/openapijsonschematools/client/components/requestbodies/pet/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/components/requestbodies/pet/content/applicationxml/ApplicationxmlSchema.java src/main/java/org/openapijsonschematools/client/components/requestbodies/userarray/content/applicationjson/ApplicationjsonSchema.java +src/main/java/org/openapijsonschematools/client/components/responses.java src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java src/main/java/org/openapijsonschematools/client/components/responses/RefSuccessDescriptionOnly.java src/main/java/org/openapijsonschematools/client/components/responses/RefSuccessfulXmlAndJsonArrayOfPet.java @@ -514,25 +515,30 @@ src/main/java/org/openapijsonschematools/client/mediatype/Encoding.java src/main/java/org/openapijsonschematools/client/mediatype/MediaType.java src/main/java/org/openapijsonschematools/client/parameter/ParameterStyle.java src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/HeaderParameters.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/PathParameters.java +src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/parameters/parameter1/Schema1.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/PathParameters.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/QueryParameters.java +src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/parameters/parameter0/PathParamSchema0.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/HeaderParameters.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/PathParameters.java +src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fake/delete/FakeDeleteSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/fake/delete/HeaderParameters.java src/main/java/org/openapijsonschematools/client/paths/fake/delete/QueryParameters.java +src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java src/main/java/org/openapijsonschematools/client/paths/fake/delete/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fake/delete/parameters/parameter1/Schema1.java src/main/java/org/openapijsonschematools/client/paths/fake/delete/parameters/parameter2/Schema2.java @@ -544,6 +550,7 @@ src/main/java/org/openapijsonschematools/client/paths/fake/delete/security/FakeD src/main/java/org/openapijsonschematools/client/paths/fake/get/HeaderParameters.java src/main/java/org/openapijsonschematools/client/paths/fake/get/QueryParameters.java src/main/java/org/openapijsonschematools/client/paths/fake/get/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fake/get/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fake/get/parameters/parameter1/Schema1.java src/main/java/org/openapijsonschematools/client/paths/fake/get/parameters/parameter2/Schema2.java @@ -555,47 +562,58 @@ src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code200 src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/code404response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fake/patch/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fake/post/FakePostSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/fake/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fake/post/requestbody/content/applicationxwwwformurlencoded/ApplicationxwwwformurlencodedSchema.java src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java src/main/java/org/openapijsonschematools/client/paths/fake/post/security/FakePostSecurityRequirementObject0.java src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/QueryParameters.java src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/QueryParameters.java +src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/parameters/parameter1/Schema1.java src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/parameters/parameter2/Schema2.java src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/FakeclassnametestPatchSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/security/FakeclassnametestPatchSecurityRequirementObject0.java src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/PathParameters.java +src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java +src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/QueryParameters.java src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/parameters/parameter1/Schema1.java src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/requestbody/content/applicationjson/ApplicationjsonSchema.java @@ -604,31 +622,38 @@ src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/code200response/content/multipartformdata/MultipartformdataSchema.java src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/requestbody/content/applicationxwwwformurlencoded/ApplicationxwwwformurlencodedSchema.java src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/requestbody/content/applicationjsonpatchjson/ApplicationjsonpatchjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/requestbody/content/applicationjsoncharsetutf8/Applicationjsoncharsetutf8Schema.java src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/code200response/content/applicationjsoncharsetutf8/Applicationjsoncharsetutf8Schema.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/requestbody/content/multipartformdata/MultipartformdataSchema.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java +src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/code202response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/FakemultiplesecuritiesGetSecurityInfo.java +src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/security/FakemultiplesecuritiesGetSecurityRequirementObject0.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/security/FakemultiplesecuritiesGetSecurityRequirementObject1.java src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/security/FakemultiplesecuritiesGetSecurityRequirementObject2.java src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/QueryParameters.java +src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/CookieParameters.java @@ -636,6 +661,7 @@ src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ab src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/PathParameters.java src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/QueryParameters.java src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/parameters/parameter1/Schema1.java src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/parameters/parameter10/Schema10.java @@ -659,64 +685,80 @@ src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ab src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/requestbody/content/applicationxpemfile/ApplicationxpemfileSchema.java src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/code200response/content/applicationxpemfile/ApplicationxpemfileSchema.java src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/FakepetiduploadimagewithrequiredfilePostSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/PathParameters.java src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/requestbody/content/multipartformdata/MultipartformdataSchema.java src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/security/FakepetiduploadimagewithrequiredfilePostSecurityRequirementObject0.java src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/QueryParameters.java +src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/parameters/parameter0/content/applicationjson/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/code200response/content/applicationjson/ApplicationjsonSchema.java +src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/QueryParameters.java +src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java +src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/QueryParameters.java +src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/parameters/parameter1/Schema1.java src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/parameters/parameter2/Schema2.java @@ -725,17 +767,21 @@ src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/parameters/parameter5/Schema5.java src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/requestbody/content/applicationoctetstream/ApplicationoctetstreamSchema.java src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/code200response/content/applicationoctetstream/ApplicationoctetstreamSchema.java src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/requestbody/content/multipartformdata/MultipartformdataSchema.java src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/requestbody/content/multipartformdata/MultipartformdataSchema.java src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java +src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java @@ -749,6 +795,7 @@ src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/ src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/code4xxresponse/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/code5xxresponse/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/foo/get/FooGetServerInfo.java +src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/codedefaultresponse/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/foo/get/servers/FooGetServer0.java @@ -756,6 +803,7 @@ src/main/java/org/openapijsonschematools/client/paths/foo/get/servers/FooGetServ src/main/java/org/openapijsonschematools/client/paths/foo/get/servers/server1/Variables.java src/main/java/org/openapijsonschematools/client/paths/pet/post/PetPostSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/pet/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java src/main/java/org/openapijsonschematools/client/paths/pet/post/security/PetPostSecurityRequirementObject0.java @@ -763,6 +811,7 @@ src/main/java/org/openapijsonschematools/client/paths/pet/post/security/PetPostS src/main/java/org/openapijsonschematools/client/paths/pet/post/security/PetPostSecurityRequirementObject2.java src/main/java/org/openapijsonschematools/client/paths/pet/put/PetPutSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/pet/put/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java @@ -771,6 +820,7 @@ src/main/java/org/openapijsonschematools/client/paths/pet/put/security/PetPutSec src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/PetfindbystatusServerInfo.java src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/PetfindbystatusGetSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/QueryParameters.java +src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java @@ -782,6 +832,7 @@ src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/servers/Pe src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/servers/server1/Variables.java src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/PetfindbytagsGetSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/QueryParameters.java +src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java @@ -790,6 +841,7 @@ src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/security src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/HeaderParameters.java src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/PathParameters.java src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/PetpetidDeleteSecurityInfo.java +src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/parameters/parameter1/Schema1.java src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java @@ -797,6 +849,7 @@ src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/security/P src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/security/PetpetidDeleteSecurityRequirementObject1.java src/main/java/org/openapijsonschematools/client/paths/petpetid/get/PathParameters.java src/main/java/org/openapijsonschematools/client/paths/petpetid/get/PetpetidGetSecurityInfo.java +src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/petpetid/get/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java @@ -807,6 +860,7 @@ src/main/java/org/openapijsonschematools/client/paths/petpetid/get/security/Petp src/main/java/org/openapijsonschematools/client/paths/petpetid/post/PathParameters.java src/main/java/org/openapijsonschematools/client/paths/petpetid/post/PetpetidPostSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/petpetid/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/petpetid/post/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/petpetid/post/requestbody/content/applicationxwwwformurlencoded/ApplicationxwwwformurlencodedSchema.java src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java @@ -815,25 +869,31 @@ src/main/java/org/openapijsonschematools/client/paths/petpetid/post/security/Pet src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/PathParameters.java src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/PetpetiduploadimagePostSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/requestbody/content/multipartformdata/MultipartformdataSchema.java src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/security/PetpetiduploadimagePostSecurityRequirementObject0.java +src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/solidus/get/responses/Code200Response.java +src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/StoreinventoryGetSecurityInfo.java src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/security/StoreinventoryGetSecurityRequirementObject0.java src/main/java/org/openapijsonschematools/client/paths/storeorder/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/storeorder/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/code200response/content/applicationxml/ApplicationxmlSchema.java src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/PathParameters.java +src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/PathParameters.java +src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java @@ -841,13 +901,17 @@ src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/resp src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/code200response/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/code200response/content/applicationxml/ApplicationxmlSchema.java src/main/java/org/openapijsonschematools/client/paths/user/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/user/post/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java src/main/java/org/openapijsonschematools/client/paths/userlogin/get/QueryParameters.java +src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/userlogin/get/parameters/parameter0/Schema0.java src/main/java/org/openapijsonschematools/client/paths/userlogin/get/parameters/parameter1/Schema1.java src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java @@ -857,11 +921,14 @@ src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/co src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/code200response/content/applicationxml/ApplicationxmlSchema.java src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/code200response/headers/xexpiresafter/XExpiresAfterSchema.java src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/code200response/headers/xratelimit/content/applicationjson/XRateLimitSchema.java +src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/userlogout/get/responses/CodedefaultResponse.java src/main/java/org/openapijsonschematools/client/paths/userusername/delete/PathParameters.java +src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java src/main/java/org/openapijsonschematools/client/paths/userusername/get/PathParameters.java +src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java @@ -869,6 +936,7 @@ src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/code200response/content/applicationxml/ApplicationxmlSchema.java src/main/java/org/openapijsonschematools/client/paths/userusername/put/PathParameters.java src/main/java/org/openapijsonschematools/client/paths/userusername/put/RequestBody.java +src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java src/main/java/org/openapijsonschematools/client/paths/userusername/put/requestbody/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java @@ -878,6 +946,7 @@ src/main/java/org/openapijsonschematools/client/requestbody/SerializedRequestBod src/main/java/org/openapijsonschematools/client/response/ApiResponse.java src/main/java/org/openapijsonschematools/client/response/DeserializedApiResponse.java src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java +src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java src/main/java/org/openapijsonschematools/client/schemas/AnyTypeJsonSchema.java src/main/java/org/openapijsonschematools/client/schemas/BooleanJsonSchema.java src/main/java/org/openapijsonschematools/client/schemas/DateJsonSchema.java diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java new file mode 100644 index 00000000000..33637dc170f --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java @@ -0,0 +1,21 @@ +package org.openapijsonschematools.client.; + +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class { + public sealed interface SealedEndpointResponse permits {} + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below 1 + + public static class 1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java new file mode 100644 index 00000000000..5062015566b --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.anotherfakedummy.patch; + +import org.openapijsonschematools.client.paths.anotherfakedummy.patch.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java new file mode 100644 index 00000000000..0b7a407d98c --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.commonparamsubdir.delete; + +import org.openapijsonschematools.client.paths.commonparamsubdir.delete.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java new file mode 100644 index 00000000000..525ee79e074 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.commonparamsubdir.get; + +import org.openapijsonschematools.client.paths.commonparamsubdir.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java new file mode 100644 index 00000000000..9df20e9e52b --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.commonparamsubdir.post; + +import org.openapijsonschematools.client.paths.commonparamsubdir.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java new file mode 100644 index 00000000000..c9739ff4504 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.fake.delete; + +import org.openapijsonschematools.client.paths.fake.delete.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java new file mode 100644 index 00000000000..4309f5ba0ec --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java @@ -0,0 +1,47 @@ +package org.openapijsonschematools.client.paths.fake.get; + +import org.openapijsonschematools.client.paths.fake.get.responses.Code200Response; +import org.openapijsonschematools.client.paths.fake.get.responses.Code404Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode404Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode404Response( + HttpResponse response, + Code404Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java new file mode 100644 index 00000000000..a8dc0012649 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fake.patch; + +import org.openapijsonschematools.client.paths.fake.patch.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java new file mode 100644 index 00000000000..d7d1780f31e --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java @@ -0,0 +1,51 @@ +package org.openapijsonschematools.client.paths.fake.post; + +import org.openapijsonschematools.client.paths.fake.post.responses.Code200Response; +import org.openapijsonschematools.client.paths.fake.post.responses.Code404Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode404Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode404Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java new file mode 100644 index 00000000000..58f4dc5c92c --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakeadditionalpropertieswitharrayofenums.get; + +import org.openapijsonschematools.client.paths.fakeadditionalpropertieswitharrayofenums.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java new file mode 100644 index 00000000000..1e9992f237f --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.fakebodywithfileschema.put; + +import org.openapijsonschematools.client.paths.fakebodywithfileschema.put.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java new file mode 100644 index 00000000000..e9cbf7f3eb6 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.fakebodywithqueryparams.put; + +import org.openapijsonschematools.client.paths.fakebodywithqueryparams.put.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java new file mode 100644 index 00000000000..bf35ede5b7a --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.fakecasesensitiveparams.put; + +import org.openapijsonschematools.client.paths.fakecasesensitiveparams.put.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java new file mode 100644 index 00000000000..cfbec13075d --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakeclassnametest.patch; + +import org.openapijsonschematools.client.paths.fakeclassnametest.patch.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java new file mode 100644 index 00000000000..e0981133ade --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java @@ -0,0 +1,51 @@ +package org.openapijsonschematools.client.paths.fakedeletecoffeeid.delete; + +import org.openapijsonschematools.client.paths.fakedeletecoffeeid.delete.responses.Code200Response; +import org.openapijsonschematools.client.paths.fakedeletecoffeeid.delete.responses.CodedefaultResponse; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCodedefaultResponse {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCodedefaultResponse( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java new file mode 100644 index 00000000000..42b71558393 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakehealth.get; + +import org.openapijsonschematools.client.paths.fakehealth.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java new file mode 100644 index 00000000000..c20073458cf --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.fakeinlineadditionalproperties.post; + +import org.openapijsonschematools.client.paths.fakeinlineadditionalproperties.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java new file mode 100644 index 00000000000..50173c064e0 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakeinlinecomposition.post; + +import org.openapijsonschematools.client.paths.fakeinlinecomposition.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java new file mode 100644 index 00000000000..9515e05205a --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.fakejsonformdata.get; + +import org.openapijsonschematools.client.paths.fakejsonformdata.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java new file mode 100644 index 00000000000..a6ce8ee2508 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.fakejsonpatch.patch; + +import org.openapijsonschematools.client.paths.fakejsonpatch.patch.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java new file mode 100644 index 00000000000..3b3e264ed2e --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakejsonwithcharset.post; + +import org.openapijsonschematools.client.paths.fakejsonwithcharset.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java new file mode 100644 index 00000000000..2b22c45c260 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakemultiplerequestbodycontenttypes.post; + +import org.openapijsonschematools.client.paths.fakemultiplerequestbodycontenttypes.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java new file mode 100644 index 00000000000..e67c4a1e08a --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java @@ -0,0 +1,43 @@ +package org.openapijsonschematools.client.paths.fakemultipleresponsebodies.get; + +import org.openapijsonschematools.client.paths.fakemultipleresponsebodies.get.responses.Code200Response; +import org.openapijsonschematools.client.paths.fakemultipleresponsebodies.get.responses.Code202Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode202Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode202Response( + HttpResponse response, + Code202Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java new file mode 100644 index 00000000000..1b89ccf097f --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakemultiplesecurities.get; + +import org.openapijsonschematools.client.paths.fakemultiplesecurities.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java new file mode 100644 index 00000000000..4183f1f4852 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.fakeobjinquery.get; + +import org.openapijsonschematools.client.paths.fakeobjinquery.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java new file mode 100644 index 00000000000..8b331753e44 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakeparametercollisions1ababselfab.post; + +import org.openapijsonschematools.client.paths.fakeparametercollisions1ababselfab.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java new file mode 100644 index 00000000000..37c51d42220 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakepemcontenttype.get; + +import org.openapijsonschematools.client.paths.fakepemcontenttype.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java new file mode 100644 index 00000000000..56386c5ee21 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakepetiduploadimagewithrequiredfile.post; + +import org.openapijsonschematools.client.paths.fakepetiduploadimagewithrequiredfile.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java new file mode 100644 index 00000000000..096970904a2 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakequeryparamwithjsoncontenttype.get; + +import org.openapijsonschematools.client.paths.fakequeryparamwithjsoncontenttype.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java new file mode 100644 index 00000000000..9684b112c3b --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java @@ -0,0 +1,51 @@ +package org.openapijsonschematools.client.paths.fakeredirection.get; + +import org.openapijsonschematools.client.paths.fakeredirection.get.responses.Code303Response; +import org.openapijsonschematools.client.paths.fakeredirection.get.responses.Code3XXResponse; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode303Response, EndpointCode3XXResponse {} + + public record EndpointCode303Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode3XXResponse( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java new file mode 100644 index 00000000000..c5b6e744d7d --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.fakerefobjinquery.get; + +import org.openapijsonschematools.client.paths.fakerefobjinquery.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java new file mode 100644 index 00000000000..217ee961f47 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakerefsarraymodel.post; + +import org.openapijsonschematools.client.paths.fakerefsarraymodel.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java new file mode 100644 index 00000000000..c9a4bb79f8f --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakerefsarrayofenums.post; + +import org.openapijsonschematools.client.paths.fakerefsarrayofenums.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java new file mode 100644 index 00000000000..f89bc6e8d9c --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakerefsboolean.post; + +import org.openapijsonschematools.client.paths.fakerefsboolean.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java new file mode 100644 index 00000000000..ab01e91118d --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakerefscomposedoneofnumberwithvalidations.post; + +import org.openapijsonschematools.client.paths.fakerefscomposedoneofnumberwithvalidations.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java new file mode 100644 index 00000000000..a9f876d32dd --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakerefsenum.post; + +import org.openapijsonschematools.client.paths.fakerefsenum.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java new file mode 100644 index 00000000000..f96d8ef7371 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakerefsmammal.post; + +import org.openapijsonschematools.client.paths.fakerefsmammal.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java new file mode 100644 index 00000000000..4c7d46367f7 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakerefsnumber.post; + +import org.openapijsonschematools.client.paths.fakerefsnumber.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java new file mode 100644 index 00000000000..3c1c27c8830 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakerefsobjectmodelwithrefprops.post; + +import org.openapijsonschematools.client.paths.fakerefsobjectmodelwithrefprops.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java new file mode 100644 index 00000000000..7ea52396d6d --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakerefsstring.post; + +import org.openapijsonschematools.client.paths.fakerefsstring.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java new file mode 100644 index 00000000000..0e8ff164ee7 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.fakeresponsewithoutschema.get; + +import org.openapijsonschematools.client.paths.fakeresponsewithoutschema.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java new file mode 100644 index 00000000000..5bd6be7951f --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.faketestqueryparamters.put; + +import org.openapijsonschematools.client.paths.faketestqueryparamters.put.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java new file mode 100644 index 00000000000..904e3959bcb --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakeuploaddownloadfile.post; + +import org.openapijsonschematools.client.paths.fakeuploaddownloadfile.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java new file mode 100644 index 00000000000..a903302cd5c --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakeuploadfile.post; + +import org.openapijsonschematools.client.paths.fakeuploadfile.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java new file mode 100644 index 00000000000..72244871fba --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.fakeuploadfiles.post; + +import org.openapijsonschematools.client.paths.fakeuploadfiles.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java new file mode 100644 index 00000000000..f1507fbc148 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java @@ -0,0 +1,87 @@ +package org.openapijsonschematools.client.paths.fakewildcardresponses.get; + +import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.Code1XXResponse; +import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.Code200Response; +import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.Code2XXResponse; +import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.Code3XXResponse; +import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.Code4XXResponse; +import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.Code5XXResponse; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode1XXResponse, EndpointCode200Response, EndpointCode2XXResponse, EndpointCode3XXResponse, EndpointCode4XXResponse, EndpointCode5XXResponse {} + + public record EndpointCode1XXResponse( + HttpResponse response, + Code1XXResponse.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode2XXResponse( + HttpResponse response, + Code2XXResponse.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode3XXResponse( + HttpResponse response, + Code3XXResponse.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode4XXResponse( + HttpResponse response, + Code4XXResponse.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode5XXResponse( + HttpResponse response, + Code5XXResponse.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java new file mode 100644 index 00000000000..a1b2aa38bc9 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java @@ -0,0 +1,32 @@ +package org.openapijsonschematools.client.paths.foo.get; + +import org.openapijsonschematools.client.paths.foo.get.responses.CodedefaultResponse; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCodedefaultResponse {} + + public record EndpointCodedefaultResponse( + HttpResponse response, + CodedefaultResponse.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java new file mode 100644 index 00000000000..e61d4f308d7 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java @@ -0,0 +1,51 @@ +package org.openapijsonschematools.client.paths.pet.post; + +import org.openapijsonschematools.client.paths.pet.post.responses.Code200Response; +import org.openapijsonschematools.client.paths.pet.post.responses.Code405Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode405Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode405Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java new file mode 100644 index 00000000000..22fbdb9daf8 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java @@ -0,0 +1,66 @@ +package org.openapijsonschematools.client.paths.pet.put; + +import org.openapijsonschematools.client.paths.pet.put.responses.Code400Response; +import org.openapijsonschematools.client.paths.pet.put.responses.Code404Response; +import org.openapijsonschematools.client.paths.pet.put.responses.Code405Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode400Response, EndpointCode404Response, EndpointCode405Response {} + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode404Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode405Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java new file mode 100644 index 00000000000..a340f38a4b4 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java @@ -0,0 +1,51 @@ +package org.openapijsonschematools.client.paths.petfindbystatus.get; + +import org.openapijsonschematools.client.paths.petfindbystatus.get.responses.Code200Response; +import org.openapijsonschematools.client.paths.petfindbystatus.get.responses.Code400Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java new file mode 100644 index 00000000000..e137026fb52 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java @@ -0,0 +1,51 @@ +package org.openapijsonschematools.client.paths.petfindbytags.get; + +import org.openapijsonschematools.client.paths.petfindbytags.get.responses.Code200Response; +import org.openapijsonschematools.client.paths.petfindbytags.get.responses.Code400Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java new file mode 100644 index 00000000000..2453d4841e3 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.petpetid.delete; + +import org.openapijsonschematools.client.paths.petpetid.delete.responses.Code400Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode400Response {} + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java new file mode 100644 index 00000000000..2c5c1f5464a --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java @@ -0,0 +1,62 @@ +package org.openapijsonschematools.client.paths.petpetid.get; + +import org.openapijsonschematools.client.paths.petpetid.get.responses.Code200Response; +import org.openapijsonschematools.client.paths.petpetid.get.responses.Code400Response; +import org.openapijsonschematools.client.paths.petpetid.get.responses.Code404Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode404Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java new file mode 100644 index 00000000000..0454f3a06ea --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.petpetid.post; + +import org.openapijsonschematools.client.paths.petpetid.post.responses.Code405Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode405Response {} + + public record EndpointCode405Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java new file mode 100644 index 00000000000..d5c85baaea7 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.petpetiduploadimage.post; + +import org.openapijsonschematools.client.paths.petpetiduploadimage.post.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java new file mode 100644 index 00000000000..6333ad3b557 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.solidus.get; + +import org.openapijsonschematools.client.paths.solidus.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java new file mode 100644 index 00000000000..e48a2c4559e --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.storeinventory.get; + +import org.openapijsonschematools.client.paths.storeinventory.get.responses.Code200Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java new file mode 100644 index 00000000000..5ab9a6731d8 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java @@ -0,0 +1,47 @@ +package org.openapijsonschematools.client.paths.storeorder.post; + +import org.openapijsonschematools.client.paths.storeorder.post.responses.Code200Response; +import org.openapijsonschematools.client.paths.storeorder.post.responses.Code400Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java new file mode 100644 index 00000000000..648c0961f0d --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java @@ -0,0 +1,51 @@ +package org.openapijsonschematools.client.paths.storeorderorderid.delete; + +import org.openapijsonschematools.client.paths.storeorderorderid.delete.responses.Code400Response; +import org.openapijsonschematools.client.paths.storeorderorderid.delete.responses.Code404Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode400Response, EndpointCode404Response {} + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode404Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java new file mode 100644 index 00000000000..efe7225882a --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java @@ -0,0 +1,62 @@ +package org.openapijsonschematools.client.paths.storeorderorderid.get; + +import org.openapijsonschematools.client.paths.storeorderorderid.get.responses.Code200Response; +import org.openapijsonschematools.client.paths.storeorderorderid.get.responses.Code400Response; +import org.openapijsonschematools.client.paths.storeorderorderid.get.responses.Code404Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode404Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java new file mode 100644 index 00000000000..ededbcb5a14 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.user.post; + +import org.openapijsonschematools.client.paths.user.post.responses.CodedefaultResponse; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCodedefaultResponse {} + + public record EndpointCodedefaultResponse( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java new file mode 100644 index 00000000000..88349641405 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.usercreatewitharray.post; + +import org.openapijsonschematools.client.paths.usercreatewitharray.post.responses.CodedefaultResponse; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCodedefaultResponse {} + + public record EndpointCodedefaultResponse( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java new file mode 100644 index 00000000000..b8486cf6c99 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.usercreatewithlist.post; + +import org.openapijsonschematools.client.paths.usercreatewithlist.post.responses.CodedefaultResponse; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCodedefaultResponse {} + + public record EndpointCodedefaultResponse( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java new file mode 100644 index 00000000000..7c4f6c22e43 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java @@ -0,0 +1,47 @@ +package org.openapijsonschematools.client.paths.userlogin.get; + +import org.openapijsonschematools.client.paths.userlogin.get.responses.Code200Response; +import org.openapijsonschematools.client.paths.userlogin.get.responses.Code400Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java new file mode 100644 index 00000000000..56d1ee3e079 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java @@ -0,0 +1,36 @@ +package org.openapijsonschematools.client.paths.userlogout.get; + +import org.openapijsonschematools.client.paths.userlogout.get.responses.CodedefaultResponse; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCodedefaultResponse {} + + public record EndpointCodedefaultResponse( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java new file mode 100644 index 00000000000..e3010cb5eee --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java @@ -0,0 +1,51 @@ +package org.openapijsonschematools.client.paths.userusername.delete; + +import org.openapijsonschematools.client.paths.userusername.delete.responses.Code200Response; +import org.openapijsonschematools.client.paths.userusername.delete.responses.Code404Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode404Response {} + + public record EndpointCode200Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode404Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java new file mode 100644 index 00000000000..6dc56159ce0 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java @@ -0,0 +1,62 @@ +package org.openapijsonschematools.client.paths.userusername.get; + +import org.openapijsonschematools.client.paths.userusername.get.responses.Code200Response; +import org.openapijsonschematools.client.paths.userusername.get.responses.Code400Response; +import org.openapijsonschematools.client.paths.userusername.get.responses.Code404Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} + + public record EndpointCode200Response( + HttpResponse response, + Code200Response.SealedResponseBody body + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode404Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java new file mode 100644 index 00000000000..1a5c365518c --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java @@ -0,0 +1,51 @@ +package org.openapijsonschematools.client.paths.userusername.put; + +import org.openapijsonschematools.client.paths.userusername.put.responses.Code400Response; +import org.openapijsonschematools.client.paths.userusername.put.responses.Code404Response; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.ResponsesDeserializer; +import org.openapijsonschematools.client.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class Responses { + public sealed interface SealedEndpointResponse permits EndpointCode400Response, EndpointCode404Response {} + + public record EndpointCode400Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + public record EndpointCode404Response( + HttpResponse response + + ) implements SealedEndpointResponse, ApiResponse{ + @Override + public Void body() { + return null; + } + @Override + public Void headers() { + return null; + } + } + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below Responses1 + + public static class Responses1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java new file mode 100644 index 00000000000..20b56db17da --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java @@ -0,0 +1,8 @@ +package org.openapijsonschematools.client.response; + +import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import java.net.http.HttpResponse; + +public interface ResponsesDeserializer { + SealedResponseClass deserialize(HttpResponse response, SchemaConfiguration configuration); +} \ No newline at end of file diff --git a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java index b719b74661c..e4d5c9ce77a 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java +++ b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java @@ -516,7 +516,9 @@ private void generatePathItem(List files, CodegenKey pathKey, CodegenPathI if (operation.responses != null && !operation.responses.isEmpty()) { String responsesJsonPath = operationJsonPath + "/responses"; - generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, null, true); + Map responsesInfo = new HashMap<>(); + responsesInfo.put("responses", operation.responses); + generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, responsesInfo, true); for (Map.Entry responseEntry: operation.responses.entrySet()) { // paths.some_path.post.responses.response_200.__init__.py (file per response) // response is a package because responses have Headers which can be refed diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java b/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java index 66dd29cf4e0..2b8a233ab0a 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java @@ -54,6 +54,7 @@ import org.openapijsonschematools.codegen.generators.openapimodels.CodegenEncoding; import org.openapijsonschematools.codegen.generators.openapimodels.CodegenHeader; import org.openapijsonschematools.codegen.generators.openapimodels.CodegenKey; +import org.openapijsonschematools.codegen.generators.openapimodels.CodegenMap; import org.openapijsonschematools.codegen.generators.openapimodels.CodegenMediaType; import org.openapijsonschematools.codegen.generators.openapimodels.CodegenOauthFlow; import org.openapijsonschematools.codegen.generators.openapimodels.CodegenOauthFlows; @@ -2690,7 +2691,7 @@ public CodegenOperation fromOperation(Operation operation, String jsonPath, Link CodegenText description = getCodegenText(operation.getDescription()); Boolean deprecated = operation.getDeprecated(); - TreeMap responses = null; + CodegenMap responses = null; LinkedHashSet produces = null; CodegenResponse defaultResponse = null; TreeMap nonDefaultResponses = null; @@ -2701,7 +2702,8 @@ public CodegenOperation fromOperation(Operation operation, String jsonPath, Link LinkedHashSet nonErrorStatusCodes = null; LinkedHashSet nonErrorWildcardStatusCodes = null; if (operation.getResponses() != null && !operation.getResponses().isEmpty()) { - responses = new TreeMap<>(); + Map responsesMap = new TreeMap<>(); + String responsesJsonPath = jsonPath + "/responses"; for (Map.Entry operationGetResponsesEntry : operation.getResponses().entrySet()) { String key = operationGetResponsesEntry.getKey(); ApiResponse response = operationGetResponsesEntry.getValue(); @@ -2712,10 +2714,10 @@ public CodegenOperation fromOperation(Operation operation, String jsonPath, Link } produces.addAll(responseProduces); } - String usedSourceJsonPath = jsonPath + "/responses/" + key; + String usedSourceJsonPath = responsesJsonPath + "/" + key; CodegenResponse r = fromResponse(response, usedSourceJsonPath); - responses.put(key, r); + responsesMap.put(key, r); if ("default".equals(key)) { defaultResponse = r; continue; @@ -2764,7 +2766,7 @@ public CodegenOperation fromOperation(Operation operation, String jsonPath, Link } // sort them - responses = new TreeMap<>(responses); + responsesMap = new TreeMap<>(responsesMap); if (nonDefaultResponses != null) { nonDefaultResponses = new TreeMap<>(nonDefaultResponses); } @@ -2774,6 +2776,8 @@ public CodegenOperation fromOperation(Operation operation, String jsonPath, Link if (wildcardCodeResponses != null) { wildcardCodeResponses = new TreeMap<>(wildcardCodeResponses); } + CodegenKey responsesJsonPathPiece = getKey("responses", "misc", responsesJsonPath); + responses = new CodegenMap<>(responsesMap, responsesJsonPathPiece, getSubpackage(responsesJsonPath)); } List callbacks = null; @@ -3893,8 +3897,9 @@ private void updatePathsFilepath(String[] pathPieces) { } return; } else if (pathPieces[4].equals("responses")) { - if (pathPieces.length < 6) { + if (pathPieces.length == 5) { // #/paths/user_login/get/responses -> length 5 + pathPieces[4] = toResponseModuleName(pathPieces[4], jsonPath); return; } // #/paths/user_login/get/responses/200 -> 200 -> response_200 -> length 6 diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java b/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java index b8e8828f68a..81443feaff9 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java @@ -785,6 +785,10 @@ public void processOpts() { "src/main/java/packagename/response/ResponseDeserializer.hbs", packagePath() + File.separatorChar + "response", "ResponseDeserializer.java")); + supportingFiles.add(new SupportingFile( + "src/main/java/packagename/response/ResponsesDeserializer.hbs", + packagePath() + File.separatorChar + "response", + "ResponsesDeserializer.java")); supportingFiles.add(new SupportingFile( "src/test/java/packagename/response/ResponseDeserializerTest.hbs", testPackagePath() + File.separatorChar + "response", @@ -811,6 +815,12 @@ public void processOpts() { put("src/main/java/packagename/components/responses/Response.hbs", ".java"); }} ); + jsonPathTemplateFiles.put( + CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, + new HashMap<>() {{ + put("src/main/java/packagename/components/responses/Responses.hbs", ".java"); + }} + ); jsonPathDocTemplateFiles.put( CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSE, new HashMap<>() {{ @@ -925,11 +935,16 @@ public String toResponseModuleName(String componentName, String jsonPath) { } return toModuleFilename(componentName, jsonPath); } - if (pathPieces.length == 6) { - // #/paths/somePath/verb/responses/200 - return toModelName("Code"+componentName+"Response", null); + switch (pathPieces.length) { + case 5: + // #/paths/somePath/verb/responses + return "Responses"; + case 6: + // #/paths/somePath/verb/responses/200 + return toModelName("Code"+componentName+"Response", null); + default: + return toModuleFilename("code"+componentName+"response", null); } - return toModuleFilename("code"+componentName+"response", null); } @Override diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenMap.java b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenMap.java new file mode 100644 index 00000000000..5c09348b329 --- /dev/null +++ b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenMap.java @@ -0,0 +1,26 @@ +package org.openapijsonschematools.codegen.generators.openapimodels; + +import java.util.AbstractMap; +import java.util.List; +import java.util.Map; +import java.util.Set; + +/** + * A class to store inline operation definitions + */ +public class CodegenMap extends AbstractMap { + public final Map map; + public final CodegenKey jsonPathPiece; + public final String subpackage; + + public CodegenMap(Map map, CodegenKey jsonPathPiece, String subpackage) { + this.map = map; + this.jsonPathPiece = jsonPathPiece; + this.subpackage = subpackage; + } + + @Override + public Set> entrySet() { + return this.map.entrySet(); + } +} diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java index c5911b3bd2f..e0220a5c219 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java @@ -44,7 +44,7 @@ public class CodegenOperation { public final boolean hasOptionalParamOrBody; public final CodegenList security; public final Map tags; - public final TreeMap responses; + public final CodegenMap responses; public final TreeMap statusCodeResponses; public final TreeMap wildcardCodeResponses; public final TreeMap nonDefaultResponses; @@ -75,7 +75,7 @@ public CodegenOperation( boolean hasOptionalParamOrBody, CodegenList security, Map tags, - TreeMap responses, + CodegenMap responses, TreeMap statusCodeResponses, TreeMap wildcardCodeResponses, TreeMap nonDefaultResponses, diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs new file mode 100644 index 00000000000..cf16ab2ed8d --- /dev/null +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs @@ -0,0 +1,42 @@ +package {{packageName}}.{{responses.subpackage}}; + +{{#each responses}} +import {{{packageName}}}.{{subpackage}}.{{jsonPathPiece.pascalCase}}; +{{/each}} +import {{{packageName}}}.response.ApiResponse; +import {{{packageName}}}.response.ResponsesDeserializer; +import {{{packageName}}}.configurations.SchemaConfiguration; + +import java.net.http.HttpResponse; + +public class {{responses.jsonPathPiece.pascalCase}} { + public sealed interface SealedEndpointResponse permits {{#each responses}}Endpoint{{jsonPathPiece.pascalCase}}{{#unless @last}}, {{/unless}}{{/each}} {} + {{#each responses}} + + public record Endpoint{{jsonPathPiece.pascalCase}}( + HttpResponse response{{#if hasContentSchema}},{{/if}} + {{#if hasContentSchema}}{{jsonPathPiece.pascalCase}}.SealedResponseBody body{{/if}} + ) implements SealedEndpointResponse, ApiResponse<{{#if hasContentSchema}}{{jsonPathPiece.pascalCase}}.SealedResponseBody{{else}}Void{{/if}}, Void>{ + {{#unless hasContentSchema}} + @Override + public Void body() { + return null; + } + {{/unless}} + @Override + public Void headers() { + return null; + } + } + {{/each}} + + // seal the defined status codes into extended response classes + // seal the wildcard status codes into extended response classes + // pass them as map inputs into the below {{responses.jsonPathPiece.pascalCase}}1 + + public static class {{responses.jsonPathPiece.pascalCase}}1 implements ResponsesDeserializer { + + public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + } + } +} diff --git a/src/main/resources/java/src/main/java/packagename/response/ResponsesDeserializer.hbs b/src/main/resources/java/src/main/java/packagename/response/ResponsesDeserializer.hbs new file mode 100644 index 00000000000..7366d4f6953 --- /dev/null +++ b/src/main/resources/java/src/main/java/packagename/response/ResponsesDeserializer.hbs @@ -0,0 +1,8 @@ +package {{{packageName}}}.response; + +import {{{packageName}}}.configurations.SchemaConfiguration; +import java.net.http.HttpResponse; + +public interface ResponsesDeserializer { + SealedResponseClass deserialize(HttpResponse response, SchemaConfiguration configuration); +} \ No newline at end of file From 561aeef856a2de846f85bf7f05cf4baa912ab80b Mon Sep 17 00:00:00 2001 From: Justin Black Date: Sun, 25 Feb 2024 13:14:40 -0800 Subject: [PATCH 03/18] Adds sealed classes for status code and wildcard response deserializers --- .../client/components/responses.java | 10 ++--- .../anotherfakedummy/patch/Responses.java | 15 ++++---- .../commonparamsubdir/delete/Responses.java | 15 ++++---- .../commonparamsubdir/get/Responses.java | 15 ++++---- .../commonparamsubdir/post/Responses.java | 15 ++++---- .../client/paths/fake/delete/Responses.java | 15 ++++---- .../client/paths/fake/get/Responses.java | 19 ++++++---- .../client/paths/fake/patch/Responses.java | 15 ++++---- .../client/paths/fake/post/Responses.java | 19 ++++++---- .../get/Responses.java | 15 ++++---- .../fakebodywithfileschema/put/Responses.java | 15 ++++---- .../put/Responses.java | 15 ++++---- .../put/Responses.java | 15 ++++---- .../fakeclassnametest/patch/Responses.java | 15 ++++---- .../fakedeletecoffeeid/delete/Responses.java | 17 +++++---- .../paths/fakehealth/get/Responses.java | 15 ++++---- .../post/Responses.java | 15 ++++---- .../fakeinlinecomposition/post/Responses.java | 15 ++++---- .../paths/fakejsonformdata/get/Responses.java | 15 ++++---- .../paths/fakejsonpatch/patch/Responses.java | 15 ++++---- .../fakejsonwithcharset/post/Responses.java | 15 ++++---- .../post/Responses.java | 15 ++++---- .../get/Responses.java | 19 ++++++---- .../fakemultiplesecurities/get/Responses.java | 15 ++++---- .../paths/fakeobjinquery/get/Responses.java | 15 ++++---- .../post/Responses.java | 15 ++++---- .../fakepemcontenttype/get/Responses.java | 15 ++++---- .../post/Responses.java | 15 ++++---- .../get/Responses.java | 15 ++++---- .../paths/fakeredirection/get/Responses.java | 21 +++++++---- .../fakerefobjinquery/get/Responses.java | 15 ++++---- .../fakerefsarraymodel/post/Responses.java | 15 ++++---- .../fakerefsarrayofenums/post/Responses.java | 15 ++++---- .../paths/fakerefsboolean/post/Responses.java | 15 ++++---- .../post/Responses.java | 15 ++++---- .../paths/fakerefsenum/post/Responses.java | 15 ++++---- .../paths/fakerefsmammal/post/Responses.java | 15 ++++---- .../paths/fakerefsnumber/post/Responses.java | 15 ++++---- .../post/Responses.java | 15 ++++---- .../paths/fakerefsstring/post/Responses.java | 15 ++++---- .../get/Responses.java | 15 ++++---- .../faketestqueryparamters/put/Responses.java | 15 ++++---- .../post/Responses.java | 15 ++++---- .../paths/fakeuploadfile/post/Responses.java | 15 ++++---- .../paths/fakeuploadfiles/post/Responses.java | 15 ++++---- .../fakewildcardresponses/get/Responses.java | 37 +++++++++++++------ .../client/paths/foo/get/Responses.java | 12 ++---- .../client/paths/pet/post/Responses.java | 19 ++++++---- .../client/paths/pet/put/Responses.java | 23 +++++++----- .../paths/petfindbystatus/get/Responses.java | 19 ++++++---- .../paths/petfindbytags/get/Responses.java | 19 ++++++---- .../paths/petpetid/delete/Responses.java | 15 ++++---- .../client/paths/petpetid/get/Responses.java | 23 +++++++----- .../client/paths/petpetid/post/Responses.java | 15 ++++---- .../petpetiduploadimage/post/Responses.java | 15 ++++---- .../client/paths/solidus/get/Responses.java | 15 ++++---- .../paths/storeinventory/get/Responses.java | 15 ++++---- .../paths/storeorder/post/Responses.java | 19 ++++++---- .../storeorderorderid/delete/Responses.java | 19 ++++++---- .../storeorderorderid/get/Responses.java | 23 +++++++----- .../client/paths/user/post/Responses.java | 12 ++---- .../usercreatewitharray/post/Responses.java | 12 ++---- .../usercreatewithlist/post/Responses.java | 12 ++---- .../client/paths/userlogin/get/Responses.java | 19 ++++++---- .../paths/userlogout/get/Responses.java | 12 ++---- .../paths/userusername/delete/Responses.java | 19 ++++++---- .../paths/userusername/get/Responses.java | 23 +++++++----- .../paths/userusername/put/Responses.java | 19 ++++++---- .../DefaultGeneratorRunner.java | 2 + .../components/responses/Responses.hbs | 27 ++++++++++---- 70 files changed, 621 insertions(+), 514 deletions(-) diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java index 33637dc170f..cb6afafae60 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java @@ -7,15 +7,11 @@ import java.net.http.HttpResponse; public class { - public sealed interface SealedEndpointResponse permits {} + public sealed interface EndpointResponse permits {} - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below 1 + public static final class 1 implements ResponsesDeserializer { - public static class 1 implements ResponsesDeserializer { - - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java index 5062015566b..a6e5babb21a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java index 0b7a407d98c..39a1f8097f3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java index 525ee79e074..fba551af8d7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java index 9df20e9e52b..e2dfc1d743a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java index c9739ff4504..c852e1be733 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java index 4309f5ba0ec..410f444fbc3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode404Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -28,20 +28,23 @@ public Void headers() { public record EndpointCode404Response( HttpResponse response, Code404Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode404ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java index a8dc0012649..3d8f4aa98c9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java index d7d1780f31e..314dce108c1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode404Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -28,7 +28,7 @@ public Void headers() { public record EndpointCode404Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,13 +39,16 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode404ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java index 58f4dc5c92c..5c5318b5a33 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java index 1e9992f237f..8a91c71fd6d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java index e9cbf7f3eb6..fb06fa281fa 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java index bf35ede5b7a..2e5bcdcaaa0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java index cfbec13075d..e19c8d9c05b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java index e0981133ade..820297550e9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCodedefaultResponse {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCodedefaultResponse {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -28,7 +28,7 @@ public Void headers() { public record EndpointCodedefaultResponse( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,13 +39,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java index 42b71558393..d6c2e07be09 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java index c20073458cf..65ca76428bd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java index 50173c064e0..a397cbe087c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java index 9515e05205a..7a2454e9db9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java index a6ce8ee2508..1fe96b9df7c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java index 3b3e264ed2e..14f6b3201dd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java index 2b22c45c260..bd6d9f1dd01 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java index e67c4a1e08a..35833b897f3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode202Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode202Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -24,20 +24,23 @@ public Void headers() { public record EndpointCode202Response( HttpResponse response, Code202Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode202ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode202ResponseDeserializer extends Code202Response.Code202Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java index 1b89ccf097f..e145e3789b1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java index 4183f1f4852..614d05107ec 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java index 8b331753e44..bc0c9bb85f2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java index 37c51d42220..0b9a2b4774c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java index 56386c5ee21..d7252ad6333 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java index 096970904a2..118e16c0508 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java index 9684b112c3b..8a2b52bfb70 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode303Response, EndpointCode3XXResponse {} + public sealed interface EndpointResponse permits EndpointCode303Response, EndpointCode3XXResponse {} public record EndpointCode303Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -28,7 +28,7 @@ public Void headers() { public record EndpointCode3XXResponse( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,13 +39,18 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode303ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode303ResponseDeserializer extends Code303Response.Code303Response1 implements StatusCodeResponseDeserializer { + } + public sealed interface WildcardCodeResponseDeserializer permits WildcardCode3XXResponseDeserializer {} + + public static final class WildcardCode3XXResponseDeserializer extends Code3XXResponse.Code3XXResponse1 implements WildcardCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java index c5b6e744d7d..d55637f2552 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java index 217ee961f47..59e17c3a295 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java index c9a4bb79f8f..70c49a90fc8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java index f89bc6e8d9c..24f2b8606c1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java index ab01e91118d..68425f9f4a7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java index a9f876d32dd..90b0002d776 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java index f96d8ef7371..43b81367f0a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java index 4c7d46367f7..2190ac09816 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java index 3c1c27c8830..2790aa0ee66 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java index 7ea52396d6d..59e8f706dc2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java index 0e8ff164ee7..ee7253f485f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java index 5bd6be7951f..f9702a5c3fc 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java index 904e3959bcb..9f6e2e6edf9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java index a903302cd5c..dd90d335b7a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java index 72244871fba..e81923ad688 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java @@ -8,25 +8,26 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java index f1507fbc148..9b117e33cc4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java @@ -13,12 +13,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode1XXResponse, EndpointCode200Response, EndpointCode2XXResponse, EndpointCode3XXResponse, EndpointCode4XXResponse, EndpointCode5XXResponse {} + public sealed interface EndpointResponse permits EndpointCode1XXResponse, EndpointCode200Response, EndpointCode2XXResponse, EndpointCode3XXResponse, EndpointCode4XXResponse, EndpointCode5XXResponse {} public record EndpointCode1XXResponse( HttpResponse response, Code1XXResponse.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -28,7 +28,7 @@ public Void headers() { public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -38,7 +38,7 @@ public Void headers() { public record EndpointCode2XXResponse( HttpResponse response, Code2XXResponse.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -48,7 +48,7 @@ public Void headers() { public record EndpointCode3XXResponse( HttpResponse response, Code3XXResponse.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -58,7 +58,7 @@ public Void headers() { public record EndpointCode4XXResponse( HttpResponse response, Code4XXResponse.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -68,20 +68,33 @@ public Void headers() { public record EndpointCode5XXResponse( HttpResponse response, Code5XXResponse.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public sealed interface WildcardCodeResponseDeserializer permits WildcardCode1XXResponseDeserializer, WildcardCode2XXResponseDeserializer, WildcardCode3XXResponseDeserializer, WildcardCode4XXResponseDeserializer, WildcardCode5XXResponseDeserializer {} + + public static final class WildcardCode1XXResponseDeserializer extends Code1XXResponse.Code1XXResponse1 implements WildcardCodeResponseDeserializer { + } + public static final class WildcardCode2XXResponseDeserializer extends Code2XXResponse.Code2XXResponse1 implements WildcardCodeResponseDeserializer { + } + public static final class WildcardCode3XXResponseDeserializer extends Code3XXResponse.Code3XXResponse1 implements WildcardCodeResponseDeserializer { + } + public static final class WildcardCode4XXResponseDeserializer extends Code4XXResponse.Code4XXResponse1 implements WildcardCodeResponseDeserializer { + } + public static final class WildcardCode5XXResponseDeserializer extends Code5XXResponse.Code5XXResponse1 implements WildcardCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java index a1b2aa38bc9..4c414050307 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java @@ -8,25 +8,21 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCodedefaultResponse {} + public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} public record EndpointCodedefaultResponse( HttpResponse response, CodedefaultResponse.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public static final class Responses1 implements ResponsesDeserializer { - public static class Responses1 implements ResponsesDeserializer { - - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java index e61d4f308d7..3e85b0f46a5 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode405Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode405Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -28,7 +28,7 @@ public Void headers() { public record EndpointCode405Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,13 +39,16 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode405ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode405ResponseDeserializer extends Code405Response.Code405Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java index 22fbdb9daf8..a4a1fb36329 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java @@ -10,12 +10,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode400Response, EndpointCode404Response, EndpointCode405Response {} + public sealed interface EndpointResponse permits EndpointCode400Response, EndpointCode404Response, EndpointCode405Response {} public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -29,7 +29,7 @@ public Void headers() { public record EndpointCode404Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -43,7 +43,7 @@ public Void headers() { public record EndpointCode405Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -54,13 +54,18 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer, StatusCode405ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode405ResponseDeserializer extends Code405Response.Code405Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java index a340f38a4b4..9afbf6aea15 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -28,7 +28,7 @@ public Void headers() { public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,13 +39,16 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java index e137026fb52..63aece9e3ab 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -28,7 +28,7 @@ public Void headers() { public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,13 +39,16 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java index 2453d4841e3..a7ea705bd16 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode400Response {} + public sealed interface EndpointResponse permits EndpointCode400Response {} public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode400ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java index 2c5c1f5464a..34f8f08c089 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java @@ -10,12 +10,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -25,7 +25,7 @@ public Void headers() { public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,7 +39,7 @@ public Void headers() { public record EndpointCode404Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -50,13 +50,18 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java index 0454f3a06ea..c6e36b311d5 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode405Response {} + public sealed interface EndpointResponse permits EndpointCode405Response {} public record EndpointCode405Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode405ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode405ResponseDeserializer extends Code405Response.Code405Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java index d5c85baaea7..a8934aea7dc 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java index 6333ad3b557..cc979e5f3fe 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java index e48a2c4559e..519aa5ee571 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,14 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java index 5ab9a6731d8..9cf33d2c229 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -24,7 +24,7 @@ public Void headers() { public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -35,13 +35,16 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java index 648c0961f0d..35e9838b9c1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode400Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode400Response, EndpointCode404Response {} public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -28,7 +28,7 @@ public Void headers() { public record EndpointCode404Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,13 +39,16 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java index efe7225882a..8a6ae298124 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java @@ -10,12 +10,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -25,7 +25,7 @@ public Void headers() { public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,7 +39,7 @@ public Void headers() { public record EndpointCode404Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -50,13 +50,18 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java index ededbcb5a14..fbad3db89ad 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCodedefaultResponse {} + public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} public record EndpointCodedefaultResponse( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,9 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public static final class Responses1 implements ResponsesDeserializer { - public static class Responses1 implements ResponsesDeserializer { - - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java index 88349641405..16c7ef9224c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCodedefaultResponse {} + public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} public record EndpointCodedefaultResponse( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,9 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public static final class Responses1 implements ResponsesDeserializer { - public static class Responses1 implements ResponsesDeserializer { - - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java index b8486cf6c99..77a7e1eba6f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCodedefaultResponse {} + public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} public record EndpointCodedefaultResponse( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,9 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public static final class Responses1 implements ResponsesDeserializer { - public static class Responses1 implements ResponsesDeserializer { - - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java index 7c4f6c22e43..a8a9f1baf1f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -24,7 +24,7 @@ public Void headers() { public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -35,13 +35,16 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java index 56d1ee3e079..4645fe192e4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java @@ -8,12 +8,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCodedefaultResponse {} + public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} public record EndpointCodedefaultResponse( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -24,13 +24,9 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public static final class Responses1 implements ResponsesDeserializer { - public static class Responses1 implements ResponsesDeserializer { - - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java index e3010cb5eee..5b68f15322c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode404Response {} public record EndpointCode200Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -28,7 +28,7 @@ public Void headers() { public record EndpointCode404Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,13 +39,16 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode404ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java index 6dc56159ce0..9c1dff57521 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java @@ -10,12 +10,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} public record EndpointCode200Response( HttpResponse response, Code200Response.SealedResponseBody body - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -25,7 +25,7 @@ public Void headers() { public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,7 +39,7 @@ public Void headers() { public record EndpointCode404Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -50,13 +50,18 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java index 1a5c365518c..1d57cfec1b0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java @@ -9,12 +9,12 @@ import java.net.http.HttpResponse; public class Responses { - public sealed interface SealedEndpointResponse permits EndpointCode400Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode400Response, EndpointCode404Response {} public record EndpointCode400Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -28,7 +28,7 @@ public Void headers() { public record EndpointCode404Response( HttpResponse response - ) implements SealedEndpointResponse, ApiResponse{ + ) implements EndpointResponse, ApiResponse{ @Override public Void body() { return null; @@ -39,13 +39,16 @@ public Void headers() { } } - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below Responses1 + public sealed interface StatusCodeResponseDeserializer permits StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer {} - public static class Responses1 implements ResponsesDeserializer { + public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { + } + public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { + } + + public static final class Responses1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } diff --git a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java index e4d5c9ce77a..756a4434127 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java +++ b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java @@ -518,6 +518,8 @@ private void generatePathItem(List files, CodegenKey pathKey, CodegenPathI String responsesJsonPath = operationJsonPath + "/responses"; Map responsesInfo = new HashMap<>(); responsesInfo.put("responses", operation.responses); + responsesInfo.put("statusCodeResponses", operation.statusCodeResponses); + responsesInfo.put("wildcardCodeResponses", operation.wildcardCodeResponses); generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, responsesInfo, true); for (Map.Entry responseEntry: operation.responses.entrySet()) { // paths.some_path.post.responses.response_200.__init__.py (file per response) diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs index cf16ab2ed8d..e74f9dc919f 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs @@ -10,13 +10,13 @@ import {{{packageName}}}.configurations.SchemaConfiguration; import java.net.http.HttpResponse; public class {{responses.jsonPathPiece.pascalCase}} { - public sealed interface SealedEndpointResponse permits {{#each responses}}Endpoint{{jsonPathPiece.pascalCase}}{{#unless @last}}, {{/unless}}{{/each}} {} + public sealed interface EndpointResponse permits {{#each responses}}Endpoint{{jsonPathPiece.pascalCase}}{{#unless @last}}, {{/unless}}{{/each}} {} {{#each responses}} public record Endpoint{{jsonPathPiece.pascalCase}}( HttpResponse response{{#if hasContentSchema}},{{/if}} {{#if hasContentSchema}}{{jsonPathPiece.pascalCase}}.SealedResponseBody body{{/if}} - ) implements SealedEndpointResponse, ApiResponse<{{#if hasContentSchema}}{{jsonPathPiece.pascalCase}}.SealedResponseBody{{else}}Void{{/if}}, Void>{ + ) implements EndpointResponse, ApiResponse<{{#if hasContentSchema}}{{jsonPathPiece.pascalCase}}.SealedResponseBody{{else}}Void{{/if}}, Void>{ {{#unless hasContentSchema}} @Override public Void body() { @@ -29,14 +29,27 @@ public class {{responses.jsonPathPiece.pascalCase}} { } } {{/each}} + {{#if statusCodeResponses}} - // seal the defined status codes into extended response classes - // seal the wildcard status codes into extended response classes - // pass them as map inputs into the below {{responses.jsonPathPiece.pascalCase}}1 + public sealed interface StatusCodeResponseDeserializer permits {{#each statusCodeResponses}}Status{{jsonPathPiece.pascalCase}}Deserializer{{#unless @last}}, {{/unless}}{{/each}} {} - public static class {{responses.jsonPathPiece.pascalCase}}1 implements ResponsesDeserializer { + {{#each statusCodeResponses}} + public static final class Status{{jsonPathPiece.pascalCase}}Deserializer extends {{jsonPathPiece.pascalCase}}.{{jsonPathPiece.pascalCase}}1 implements StatusCodeResponseDeserializer { + } + {{/each}} + {{/if}} + {{#if wildcardCodeResponses}} + public sealed interface WildcardCodeResponseDeserializer permits {{#each wildcardCodeResponses}}Wildcard{{jsonPathPiece.pascalCase}}Deserializer{{#unless @last}}, {{/unless}}{{/each}} {} + + {{#each wildcardCodeResponses}} + public static final class Wildcard{{jsonPathPiece.pascalCase}}Deserializer extends {{jsonPathPiece.pascalCase}}.{{jsonPathPiece.pascalCase}}1 implements WildcardCodeResponseDeserializer { + } + {{/each}} + {{/if}} + + public static final class {{responses.jsonPathPiece.pascalCase}}1 implements ResponsesDeserializer { - public SealedEndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { } } } From ab37758caa2e5e9e7fadbc544656be75cb045871 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Sun, 25 Feb 2024 23:15:21 -0800 Subject: [PATCH 04/18] Adds partial deserialize implementation --- .../petstore/java/.openapi-generator/FILES | 1 - .../client/components/responses.java | 6 ++ .../anotherfakedummy/patch/Responses.java | 18 +++++ .../commonparamsubdir/delete/Responses.java | 18 +++++ .../commonparamsubdir/get/Responses.java | 18 +++++ .../commonparamsubdir/post/Responses.java | 18 +++++ .../client/paths/fake/delete/Responses.java | 18 +++++ .../client/paths/fake/get/Responses.java | 37 +++++++--- .../client/paths/fake/patch/Responses.java | 18 +++++ .../client/paths/fake/post/Responses.java | 41 +++++++---- .../get/Responses.java | 18 +++++ .../fakebodywithfileschema/put/Responses.java | 18 +++++ .../put/Responses.java | 18 +++++ .../put/Responses.java | 18 +++++ .../fakeclassnametest/patch/Responses.java | 18 +++++ .../fakedeletecoffeeid/delete/Responses.java | 18 +++++ .../paths/fakehealth/get/Responses.java | 18 +++++ .../post/Responses.java | 18 +++++ .../fakeinlinecomposition/post/Responses.java | 18 +++++ .../paths/fakejsonformdata/get/Responses.java | 18 +++++ .../paths/fakejsonpatch/patch/Responses.java | 18 +++++ .../fakejsonwithcharset/post/Responses.java | 18 +++++ .../post/Responses.java | 18 +++++ .../get/Responses.java | 25 +++++++ .../fakemultiplesecurities/get/Responses.java | 18 +++++ .../paths/fakeobjinquery/get/Responses.java | 18 +++++ .../post/Responses.java | 18 +++++ .../fakepemcontenttype/get/Responses.java | 18 +++++ .../post/Responses.java | 18 +++++ .../get/Responses.java | 18 +++++ .../paths/fakeredirection/get/Responses.java | 20 ++++- .../fakerefobjinquery/get/Responses.java | 18 +++++ .../fakerefsarraymodel/post/Responses.java | 18 +++++ .../fakerefsarrayofenums/post/Responses.java | 18 +++++ .../paths/fakerefsboolean/post/Responses.java | 18 +++++ .../post/Responses.java | 18 +++++ .../paths/fakerefsenum/post/Responses.java | 18 +++++ .../paths/fakerefsmammal/post/Responses.java | 18 +++++ .../paths/fakerefsnumber/post/Responses.java | 18 +++++ .../post/Responses.java | 18 +++++ .../paths/fakerefsstring/post/Responses.java | 18 +++++ .../get/Responses.java | 18 +++++ .../faketestqueryparamters/put/Responses.java | 18 +++++ .../post/Responses.java | 18 +++++ .../paths/fakeuploadfile/post/Responses.java | 18 +++++ .../paths/fakeuploadfiles/post/Responses.java | 18 +++++ .../fakewildcardresponses/get/Responses.java | 56 ++++++-------- .../client/paths/foo/get/Responses.java | 6 ++ .../client/paths/pet/post/Responses.java | 41 +++++++---- .../client/paths/pet/put/Responses.java | 73 ++++++++----------- .../paths/petfindbystatus/get/Responses.java | 41 +++++++---- .../paths/petfindbytags/get/Responses.java | 41 +++++++---- .../paths/petpetid/delete/Responses.java | 33 +++++---- .../client/paths/petpetid/get/Responses.java | 60 +++++++-------- .../client/paths/petpetid/post/Responses.java | 33 +++++---- .../petpetiduploadimage/post/Responses.java | 18 +++++ .../client/paths/solidus/get/Responses.java | 18 +++++ .../paths/storeinventory/get/Responses.java | 18 +++++ .../paths/storeorder/post/Responses.java | 41 +++++++---- .../storeorderorderid/delete/Responses.java | 54 +++++++------- .../storeorderorderid/get/Responses.java | 60 +++++++-------- .../client/paths/user/post/Responses.java | 6 ++ .../usercreatewitharray/post/Responses.java | 6 ++ .../usercreatewithlist/post/Responses.java | 6 ++ .../client/paths/userlogin/get/Responses.java | 41 +++++++---- .../paths/userlogout/get/Responses.java | 6 ++ .../paths/userusername/delete/Responses.java | 41 +++++++---- .../paths/userusername/get/Responses.java | 60 +++++++-------- .../paths/userusername/put/Responses.java | 54 +++++++------- .../DefaultGeneratorRunner.java | 5 +- .../codegen/generators/DefaultGenerator.java | 5 ++ .../codegen/generators/Generator.java | 2 + .../generators/JavaClientGenerator.java | 5 ++ .../openapimodels/CodegenOperation.java | 35 +++++++++ .../templating/HandlebarsEngineAdapter.java | 5 +- .../components/responses/Responses.hbs | 67 ++++++++++++++++- .../path/verb/_helper_operation_args.hbs | 2 +- .../_helper_operation_response_type_hint.hbs | 2 +- 78 files changed, 1410 insertions(+), 381 deletions(-) diff --git a/samples/client/petstore/java/.openapi-generator/FILES b/samples/client/petstore/java/.openapi-generator/FILES index 047d81519b5..9e2bc938dda 100644 --- a/samples/client/petstore/java/.openapi-generator/FILES +++ b/samples/client/petstore/java/.openapi-generator/FILES @@ -340,7 +340,6 @@ src/main/java/org/openapijsonschematools/client/components/requestbodies/client/ src/main/java/org/openapijsonschematools/client/components/requestbodies/pet/content/applicationjson/ApplicationjsonSchema.java src/main/java/org/openapijsonschematools/client/components/requestbodies/pet/content/applicationxml/ApplicationxmlSchema.java src/main/java/org/openapijsonschematools/client/components/requestbodies/userarray/content/applicationjson/ApplicationjsonSchema.java -src/main/java/org/openapijsonschematools/client/components/responses.java src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java src/main/java/org/openapijsonschematools/client/components/responses/RefSuccessDescriptionOnly.java src/main/java/org/openapijsonschematools/client/components/responses/RefSuccessfulXmlAndJsonArrayOfPet.java diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java index cb6afafae60..7dec88f3f60 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java @@ -3,15 +3,21 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class { public sealed interface EndpointResponse permits {} public static final class 1 implements ResponsesDeserializer { + public 1() { + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java index a6e5babb21a..21988765fde 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java index 39a1f8097f3..9b627df2d61 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java index fba551af8d7..052a6017317 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java index e2dfc1d743a..f7092049230 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java index c852e1be733..3eef6efc2b0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java index 410f444fbc3..4803bbb63b0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java @@ -5,11 +5,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response @@ -25,16 +28,6 @@ public Void headers() { } } - public record EndpointCode404Response( - HttpResponse response, - Code404Response.SealedResponseBody body - ) implements EndpointResponse, ApiResponse{ - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode404ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -43,8 +36,30 @@ public static final class StatusCode404ResponseDeserializer extends Code404Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("404", new StatusCode404ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode404Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java index 3d8f4aa98c9..4895b59cbaa 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java index 314dce108c1..2a4e958fc7d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java @@ -5,11 +5,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response @@ -25,20 +28,6 @@ public Void headers() { } } - public record EndpointCode404Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode404ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -47,8 +36,30 @@ public static final class StatusCode404ResponseDeserializer extends Code404Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("404", new StatusCode404ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode404Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java index 5c5318b5a33..6f63ab8108e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java index 8a91c71fd6d..6f4bec9539d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java index fb06fa281fa..ea8cc578228 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java index 2e5bcdcaaa0..d55f422f036 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java index e19c8d9c05b..4fab7288c52 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java index 820297550e9..d787c06abfe 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java @@ -5,8 +5,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCodedefaultResponse {} @@ -45,8 +48,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java index d6c2e07be09..3e63e14a066 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java index 65ca76428bd..d7114b7e9e6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java index a397cbe087c..2dc08bbe04a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java index 7a2454e9db9..7118d5bea2f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java index 1fe96b9df7c..3917cde0cdb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java index 14f6b3201dd..cf6c03f080e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java index bd6d9f1dd01..f5fc5d2e9a3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java index 35833b897f3..e7f169d9e59 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java @@ -5,8 +5,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode202Response {} @@ -39,8 +42,30 @@ public static final class StatusCode202ResponseDeserializer extends Code202Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("202", new StatusCode202ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode202ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode202Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java index e145e3789b1..2a3f1a3267b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java index 614d05107ec..3b6b3499a61 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java index bc0c9bb85f2..076c0c8c932 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java index 0b9a2b4774c..b502296e287 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java index d7252ad6333..9c6962b01a1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java index 118e16c0508..ac45f8b7665 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java index 8a2b52bfb70..ec662b5e586 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java @@ -5,13 +5,16 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode303Response, EndpointCode3XXResponse {} + public sealed interface EndpointResponse permits EndpointCode3XXResponse, EndpointCode303Response {} - public record EndpointCode303Response( + public record EndpointCode3XXResponse( HttpResponse response ) implements EndpointResponse, ApiResponse{ @@ -25,7 +28,7 @@ public Void headers() { } } - public record EndpointCode3XXResponse( + public record EndpointCode303Response( HttpResponse response ) implements EndpointResponse, ApiResponse{ @@ -49,8 +52,19 @@ public static final class WildcardCode3XXResponseDeserializer extends Code3XXRes } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + private final Map wildcardCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("303", new StatusCode303ResponseDeserializer()) + ); + this.wildcardCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("3", new WildcardCode3XXResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java index d55637f2552..0499427afb1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java index 59e17c3a295..b24cb358991 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java index 70c49a90fc8..b02ec13e716 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java index 24f2b8606c1..8c91b985c60 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java index 68425f9f4a7..6dd51e9f072 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java index 90b0002d776..e10aeae1292 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java index 43b81367f0a..9a848ffad2c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java index 2190ac09816..10e904ed0c3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java index 2790aa0ee66..f5b57bb837f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java index 59e8f706dc2..4a23be29775 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java index ee7253f485f..4b6fba154f0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java index f9702a5c3fc..ea1ba68cd72 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java index 9f6e2e6edf9..aecd1e0d3cd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java index dd90d335b7a..4aa84386e57 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java index e81923ad688..22b66721d1f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -26,8 +29,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java index 9b117e33cc4..3f36c33dc55 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java @@ -9,16 +9,19 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode1XXResponse, EndpointCode200Response, EndpointCode2XXResponse, EndpointCode3XXResponse, EndpointCode4XXResponse, EndpointCode5XXResponse {} + public sealed interface EndpointResponse permits EndpointCode2XXResponse, EndpointCode200Response, EndpointCode3XXResponse {} - public record EndpointCode1XXResponse( + public record EndpointCode2XXResponse( HttpResponse response, - Code1XXResponse.SealedResponseBody body - ) implements EndpointResponse, ApiResponse{ + Code2XXResponse.SealedResponseBody body + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; @@ -35,16 +38,6 @@ public Void headers() { } } - public record EndpointCode2XXResponse( - HttpResponse response, - Code2XXResponse.SealedResponseBody body - ) implements EndpointResponse, ApiResponse{ - @Override - public Void headers() { - return null; - } - } - public record EndpointCode3XXResponse( HttpResponse response, Code3XXResponse.SealedResponseBody body @@ -55,26 +48,6 @@ public Void headers() { } } - public record EndpointCode4XXResponse( - HttpResponse response, - Code4XXResponse.SealedResponseBody body - ) implements EndpointResponse, ApiResponse{ - @Override - public Void headers() { - return null; - } - } - - public record EndpointCode5XXResponse( - HttpResponse response, - Code5XXResponse.SealedResponseBody body - ) implements EndpointResponse, ApiResponse{ - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -93,8 +66,23 @@ public static final class WildcardCode5XXResponseDeserializer extends Code5XXRes } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + private final Map wildcardCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + this.wildcardCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("1", new WildcardCode1XXResponseDeserializer()), + new AbstractMap.SimpleEntry<>("2", new WildcardCode2XXResponseDeserializer()), + new AbstractMap.SimpleEntry<>("3", new WildcardCode3XXResponseDeserializer()), + new AbstractMap.SimpleEntry<>("4", new WildcardCode4XXResponseDeserializer()), + new AbstractMap.SimpleEntry<>("5", new WildcardCode5XXResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java index 4c414050307..f7df1f246d8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} @@ -21,8 +24,11 @@ public Void headers() { } public static final class Responses1 implements ResponsesDeserializer { + public Responses1() { + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java index 3e85b0f46a5..6983f151512 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java @@ -5,11 +5,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode405Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response @@ -25,20 +28,6 @@ public Void headers() { } } - public record EndpointCode405Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode405ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -47,8 +36,30 @@ public static final class StatusCode405ResponseDeserializer extends Code405Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("405", new StatusCode405ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode405ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode405Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java index a4a1fb36329..f6ccdde0991 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java @@ -6,53 +6,13 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode400Response, EndpointCode404Response, EndpointCode405Response {} - - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - - public record EndpointCode404Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - - public record EndpointCode405Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } public sealed interface StatusCodeResponseDeserializer permits StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer, StatusCode405ResponseDeserializer {} @@ -64,8 +24,35 @@ public static final class StatusCode405ResponseDeserializer extends Code405Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("404", new StatusCode404ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("405", new StatusCode405ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode400Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode404Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode405ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode405Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java index 9afbf6aea15..14a35705a28 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java @@ -5,11 +5,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response @@ -25,20 +28,6 @@ public Void headers() { } } - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -47,8 +36,30 @@ public static final class StatusCode400ResponseDeserializer extends Code400Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode400Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java index 63aece9e3ab..c5dc86073a8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java @@ -5,11 +5,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response @@ -25,20 +28,6 @@ public Void headers() { } } - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -47,8 +36,30 @@ public static final class StatusCode400ResponseDeserializer extends Code400Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode400Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java index a7ea705bd16..64721316e6a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java @@ -4,25 +4,13 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode400Response {} - - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } public sealed interface StatusCodeResponseDeserializer permits StatusCode400ResponseDeserializer {} @@ -30,8 +18,23 @@ public static final class StatusCode400ResponseDeserializer extends Code400Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode400ResponseDeserializer castDeserializer = (StatusCode400ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode400Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java index 34f8f08c089..c43e3e08ebf 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java @@ -6,11 +6,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, @@ -22,34 +25,6 @@ public Void headers() { } } - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - - public record EndpointCode404Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -60,8 +35,35 @@ public static final class StatusCode404ResponseDeserializer extends Code404Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("404", new StatusCode404ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode400Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode404Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java index c6e36b311d5..c99d6f4e216 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java @@ -4,25 +4,13 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode405Response {} - - public record EndpointCode405Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } public sealed interface StatusCodeResponseDeserializer permits StatusCode405ResponseDeserializer {} @@ -30,8 +18,23 @@ public static final class StatusCode405ResponseDeserializer extends Code405Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("405", new StatusCode405ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode405ResponseDeserializer castDeserializer = (StatusCode405ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode405Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java index a8934aea7dc..02c5969bff4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java index cc979e5f3fe..1d84fd15d46 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java index 519aa5ee571..cfbd62aadd1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} @@ -30,8 +33,23 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java index 9cf33d2c229..fe1b7ec788d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java @@ -5,11 +5,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, @@ -21,20 +24,6 @@ public Void headers() { } } - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -43,8 +32,30 @@ public static final class StatusCode400ResponseDeserializer extends Code400Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode400Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java index 35e9838b9c1..08831908dd5 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java @@ -5,39 +5,13 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode400Response, EndpointCode404Response {} - - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - - public record EndpointCode404Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } public sealed interface StatusCodeResponseDeserializer permits StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer {} @@ -47,8 +21,30 @@ public static final class StatusCode404ResponseDeserializer extends Code404Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("404", new StatusCode404ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode400Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode404Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java index 8a6ae298124..29646afa464 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java @@ -6,11 +6,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, @@ -22,34 +25,6 @@ public Void headers() { } } - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - - public record EndpointCode404Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -60,8 +35,35 @@ public static final class StatusCode404ResponseDeserializer extends Code404Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("404", new StatusCode404ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode400Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode404Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java index fbad3db89ad..cd0ec511222 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} @@ -25,8 +28,11 @@ public Void headers() { } public static final class Responses1 implements ResponsesDeserializer { + public Responses1() { + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java index 16c7ef9224c..ad3c96668ab 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} @@ -25,8 +28,11 @@ public Void headers() { } public static final class Responses1 implements ResponsesDeserializer { + public Responses1() { + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java index 77a7e1eba6f..864a08746df 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} @@ -25,8 +28,11 @@ public Void headers() { } public static final class Responses1 implements ResponsesDeserializer { + public Responses1() { + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java index a8a9f1baf1f..282fa8652c8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java @@ -5,11 +5,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, @@ -21,20 +24,6 @@ public Void headers() { } } - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -43,8 +32,30 @@ public static final class StatusCode400ResponseDeserializer extends Code400Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode400Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java index 4645fe192e4..efe351afcbb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java @@ -4,8 +4,11 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} @@ -25,8 +28,11 @@ public Void headers() { } public static final class Responses1 implements ResponsesDeserializer { + public Responses1() { + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java index 5b68f15322c..35d2032912e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java @@ -5,11 +5,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response @@ -25,20 +28,6 @@ public Void headers() { } } - public record EndpointCode404Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode404ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -47,8 +36,30 @@ public static final class StatusCode404ResponseDeserializer extends Code404Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("404", new StatusCode404ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode404Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java index 9c1dff57521..d0f4273d86e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java @@ -6,11 +6,14 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCode400Response, EndpointCode404Response {} + public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, @@ -22,34 +25,6 @@ public Void headers() { } } - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - - public record EndpointCode404Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - public sealed interface StatusCodeResponseDeserializer permits StatusCode200ResponseDeserializer, StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer {} public static final class StatusCode200ResponseDeserializer extends Code200Response.Code200Response1 implements StatusCodeResponseDeserializer { @@ -60,8 +35,35 @@ public static final class StatusCode404ResponseDeserializer extends Code404Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("404", new StatusCode404ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode200Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode400Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode404Response(response, deserializedResponse.body()); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java index 1d57cfec1b0..129ca917f2b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java @@ -5,39 +5,13 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode400Response, EndpointCode404Response {} - - public record EndpointCode400Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } - - public record EndpointCode404Response( - HttpResponse response - - ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } - @Override - public Void headers() { - return null; - } - } public sealed interface StatusCodeResponseDeserializer permits StatusCode400ResponseDeserializer, StatusCode404ResponseDeserializer {} @@ -47,8 +21,30 @@ public static final class StatusCode404ResponseDeserializer extends Code404Respo } public static final class Responses1 implements ResponsesDeserializer { + private final Map statusCodeToResponseDeserializer; + public Responses1() { + this.statusCodeToResponseDeserializer = Map.ofEntries( + new AbstractMap.SimpleEntry<>("400", new StatusCode400ResponseDeserializer()), + new AbstractMap.SimpleEntry<>("404", new StatusCode404ResponseDeserializer()) + ); + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode400Response(response, deserializedResponse.body()); + } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new EndpointCode404Response(response, deserializedResponse.body()); + } } } } diff --git a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java index 756a4434127..1162912c737 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java +++ b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java @@ -520,6 +520,7 @@ private void generatePathItem(List files, CodegenKey pathKey, CodegenPathI responsesInfo.put("responses", operation.responses); responsesInfo.put("statusCodeResponses", operation.statusCodeResponses); responsesInfo.put("wildcardCodeResponses", operation.wildcardCodeResponses); + responsesInfo.put("nonErrorResponses", operation.nonErrorResponses); generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, responsesInfo, true); for (Map.Entry responseEntry: operation.responses.entrySet()) { // paths.some_path.post.responses.response_200.__init__.py (file per response) @@ -677,7 +678,9 @@ private TreeMap generateResponses(List files) { } TreeMap responses = new TreeMap<>(); String responsesJsonPath = "#/components/responses"; - generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, null, true); + if (generator.generateComponentResponsesFile()) { + generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, null, true); + } for (Map.Entry responseEntry: specResponses.entrySet()) { String componentName = responseEntry.getKey(); ApiResponse apiResponse = responseEntry.getValue(); diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java b/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java index 2b8a233ab0a..23c4291133f 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java @@ -3309,6 +3309,11 @@ public boolean generateSeparateServerSchemas() { return false; } + @Override + public boolean generateComponentResponsesFile() { + return true; + } + @Override @SuppressWarnings("static-method") public HashMap fromSecurityRequirement(SecurityRequirement securityRequirement, String sourceJsonPath) { diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/Generator.java b/src/main/java/org/openapijsonschematools/codegen/generators/Generator.java index ee1b3b448b9..54cc863e5c8 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/Generator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/Generator.java @@ -302,4 +302,6 @@ public interface Generator { Function> getSchemasFn(); boolean generateSeparateServerSchemas(); + + boolean generateComponentResponsesFile(); } diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java b/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java index 81443feaff9..6f932342376 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java @@ -3037,4 +3037,9 @@ public CodegenSchema fromSchema(Schema p, String sourceJsonPath, String currentJ } return cp; } + + @Override + public boolean generateComponentResponsesFile() { + return false; + } } diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java index e0220a5c219..f0541e0f653 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java @@ -48,6 +48,7 @@ public class CodegenOperation { public final TreeMap statusCodeResponses; public final TreeMap wildcardCodeResponses; public final TreeMap nonDefaultResponses; + public final TreeMap nonErrorResponses; public final CodegenResponse defaultResponse; public final List callbacks; public final ExternalDocumentation externalDocs; @@ -119,9 +120,43 @@ public CodegenOperation( this.jsonPathPiece = jsonPathPiece; this.requestBodySchema = requestBodySchema; this.pathItemParameters = pathItemParameters; + TreeMap nonErrorResponsesMap = new TreeMap<>(); + if (statusCodeResponses != null) { + for (Map.Entry entry: statusCodeResponses.entrySet()) { + if (entry.getKey() >= 200 && entry.getKey() <= 399) { + nonErrorResponsesMap.put(entry.getKey().toString(), entry.getValue()); + } + } + } + if (wildcardCodeResponses != null) { + for (Map.Entry entry: wildcardCodeResponses.entrySet()) { + if (entry.getKey() == 2 || entry.getKey() == 3) { + nonErrorResponsesMap.put(entry.getKey().toString(), entry.getValue()); + } + } + } + if (defaultResponse != null) { + if (nonErrorResponsesMap.isEmpty()) { + /* default response should be non-error because + The Responses Object MUST contain at least one response code, and if only one response code + is provided it SHOULD be the response for a successful operation call. + */ + nonErrorResponsesMap.put("default", defaultResponse); + } else { + // the code does not know if this is an error response or non-error + // TODO add generation option that specifies it? + nonErrorResponsesMap.put("default", defaultResponse); + } + } + if (nonErrorResponsesMap.isEmpty()) { + nonErrorResponses = null; + } else { + nonErrorResponses = nonErrorResponsesMap; + } } // used by operation templates + @Deprecated public Map getNonErrorResponses() { HashMap nonErrorResponses = new HashMap<>(); if (statusCodeResponses != null) { diff --git a/src/main/java/org/openapijsonschematools/codegen/templating/HandlebarsEngineAdapter.java b/src/main/java/org/openapijsonschematools/codegen/templating/HandlebarsEngineAdapter.java index 12c072fe56d..e63c0d2dd0a 100644 --- a/src/main/java/org/openapijsonschematools/codegen/templating/HandlebarsEngineAdapter.java +++ b/src/main/java/org/openapijsonschematools/codegen/templating/HandlebarsEngineAdapter.java @@ -70,10 +70,9 @@ public TemplateSource sourceAt(String location) { Context context = Context .newBuilder(bundle) .resolver( - MapValueResolver.INSTANCE, // access map values - JavaBeanValueResolver.INSTANCE, MethodValueResolver.INSTANCE, // access to public methods - FieldValueResolver.INSTANCE // access to instance fields (private or public). + FieldValueResolver.INSTANCE, // access to instance fields (private or public). + MapValueResolver.INSTANCE // access map values ) .build(); diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs index e74f9dc919f..744d01b5590 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs @@ -6,12 +6,16 @@ import {{{packageName}}}.{{subpackage}}.{{jsonPathPiece.pascalCase}}; import {{{packageName}}}.response.ApiResponse; import {{{packageName}}}.response.ResponsesDeserializer; import {{{packageName}}}.configurations.SchemaConfiguration; +import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; +import java.util.Map; +import java.util.AbstractMap; public class {{responses.jsonPathPiece.pascalCase}} { - public sealed interface EndpointResponse permits {{#each responses}}Endpoint{{jsonPathPiece.pascalCase}}{{#unless @last}}, {{/unless}}{{/each}} {} - {{#each responses}} + {{#if nonErrorResponses}} + public sealed interface EndpointResponse permits {{#each nonErrorResponses}}Endpoint{{jsonPathPiece.pascalCase}}{{#unless @last}}, {{/unless}}{{/each}} {} + {{#each nonErrorResponses}} public record Endpoint{{jsonPathPiece.pascalCase}}( HttpResponse response{{#if hasContentSchema}},{{/if}} @@ -28,7 +32,8 @@ public class {{responses.jsonPathPiece.pascalCase}} { return null; } } - {{/each}} + {{/each}} + {{/if}} {{#if statusCodeResponses}} public sealed interface StatusCodeResponseDeserializer permits {{#each statusCodeResponses}}Status{{jsonPathPiece.pascalCase}}Deserializer{{#unless @last}}, {{/unless}}{{/each}} {} @@ -48,8 +53,64 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{/if}} public static final class {{responses.jsonPathPiece.pascalCase}}1 implements ResponsesDeserializer { + {{#if statusCodeResponses}} + private final Map statusCodeToResponseDeserializer; + {{/if}} + {{#if wildcardCodeResponses}} + private final Map wildcardCodeToResponseDeserializer; + {{/if}} + public {{responses.jsonPathPiece.pascalCase}}1() { + {{#if statusCodeResponses }} + this.statusCodeToResponseDeserializer = Map.ofEntries( + {{#each statusCodeResponses }} + new AbstractMap.SimpleEntry<>("{{@key}}", new Status{{jsonPathPiece.snakeCase}}Deserializer()){{#unless @last}},{{/unless}} + {{/each}} + ); + {{/if}} + {{#if wildcardCodeResponses }} + this.wildcardCodeToResponseDeserializer = Map.ofEntries( + {{#each wildcardCodeResponses }} + new AbstractMap.SimpleEntry<>("{{@key}}", new Wildcard{{jsonPathPiece.snakeCase}}Deserializer()){{#unless @last}},{{/unless}} + {{/each}} + ); + {{/if}} + } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + String statusCode = String.valueOf(response.statusCode()); +{{#and wildcardCodeResponses statusCodeResponses }} +{{else}} + {{#or wildcardCodeResponses statusCodeResponses}} + {{#if statusCodeResponses}} + @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + // todo throw ApiException and include the response in it + throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + } + {{#eq statusCodeResponses.size 1}} + {{#each statusCodeResponses}} + Status{{jsonPathPiece.snakeCase}}Deserializer castDeserializer = (Status{{jsonPathPiece.snakeCase}}Deserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new Endpoint{{jsonPathPiece.snakeCase}}(response, deserializedResponse.body()); + {{/each}} + {{else}} + {{#each statusCodeResponses}} + {{#if @first}} + if (deserializer instanceof Status{{jsonPathPiece.snakeCase}}Deserializer castDeserializer) { + {{else}} + } else if (deserializer instanceof Status{{jsonPathPiece.snakeCase}}Deserializer castDeserializer) { + {{/if}} + var deserializedResponse = castDeserializer.deserialize(response, configuration); + // todo switch on the status code and return the endpoint class instance + return new Endpoint{{jsonPathPiece.snakeCase}}(response, deserializedResponse.body()); + {{/each}} + } + {{/eq}} + {{else}} + {{/if}} + {{else}} + {{/or}} +{{/and}} } } } diff --git a/src/main/resources/python/paths/path/verb/_helper_operation_args.hbs b/src/main/resources/python/paths/path/verb/_helper_operation_args.hbs index f10407d34c3..0b9a2cb6ad2 100644 --- a/src/main/resources/python/paths/path/verb/_helper_operation_args.hbs +++ b/src/main/resources/python/paths/path/verb/_helper_operation_args.hbs @@ -50,7 +50,7 @@ ) -> api_response.ApiResponseWithoutDeserialization: ... {{/eq}} {{#eq skipDeserialization false}} -) -> {{#if getAllResponsesAreErrors}}api_response.ApiResponseWithoutDeserialization: ...{{else}}{{#gt getNonErrorResponses.size 1}}typing.Union[ +) -> {{#if getAllResponsesAreErrors}}api_response.ApiResponseWithoutDeserialization: ...{{else}}{{#gt nonErrorResponses.size 1}}typing.Union[ {{> paths/path/verb/_helper_operation_response_type_hint multiple=true }} ]{{else}}{{> paths/path/verb/_helper_operation_response_type_hint multiple=false }}{{/gt}}: ... {{/if}} diff --git a/src/main/resources/python/paths/path/verb/_helper_operation_response_type_hint.hbs b/src/main/resources/python/paths/path/verb/_helper_operation_response_type_hint.hbs index 154c2b9ec25..ce1511304ba 100644 --- a/src/main/resources/python/paths/path/verb/_helper_operation_response_type_hint.hbs +++ b/src/main/resources/python/paths/path/verb/_helper_operation_response_type_hint.hbs @@ -1,4 +1,4 @@ -{{#each getNonErrorResponses}} +{{#each nonErrorResponses}} {{jsonPathPiece.snakeCase}}.ApiResponse{{#if multiple}}, {{/if}} {{/each}} \ No newline at end of file From d1feedf3b69c41fedb8606a2c5b19871d90ea7d9 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Mon, 26 Feb 2024 09:26:04 -0800 Subject: [PATCH 05/18] Handles returning responses when there is no error --- .../client/paths/fake/get/Responses.java | 4 +--- .../client/paths/fake/post/Responses.java | 4 +--- .../get/Responses.java | 2 -- .../client/paths/pet/post/Responses.java | 4 +--- .../client/paths/pet/put/Responses.java | 9 +++----- .../paths/petfindbystatus/get/Responses.java | 4 +--- .../paths/petfindbytags/get/Responses.java | 4 +--- .../client/paths/petpetid/get/Responses.java | 7 ++----- .../paths/storeorder/post/Responses.java | 4 +--- .../storeorderorderid/delete/Responses.java | 6 ++---- .../storeorderorderid/get/Responses.java | 7 ++----- .../client/paths/userlogin/get/Responses.java | 4 +--- .../paths/userusername/delete/Responses.java | 4 +--- .../paths/userusername/get/Responses.java | 7 ++----- .../paths/userusername/put/Responses.java | 6 ++---- .../DefaultGeneratorRunner.java | 1 + .../codegen/generators/DefaultGenerator.java | 4 ++-- .../openapimodels/CodegenOperation.java | 4 ++-- .../components/responses/Responses.hbs | 21 ++++++++++++------- 19 files changed, 40 insertions(+), 66 deletions(-) diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java index 4803bbb63b0..52b13491ce1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java @@ -53,12 +53,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode404Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java index 2a4e958fc7d..f8c1bb76df5 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java @@ -53,12 +53,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode404Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java index e7f169d9e59..8f8b5c3984f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java @@ -59,11 +59,9 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode202ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode202Response(response, deserializedResponse.body()); } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java index 6983f151512..398e96bdc5e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java @@ -53,12 +53,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode405ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode405Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java index f6ccdde0991..090db7082ee 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java @@ -42,16 +42,13 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode400Response(response, deserializedResponse.body()); + // throw exception because this is an error } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode404Response(response, deserializedResponse.body()); + // throw exception because this is an error } else if (deserializer instanceof StatusCode405ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode405Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java index 14a35705a28..9f43f710064 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java @@ -53,12 +53,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode400Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java index c5dc86073a8..a770d78e2f7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java @@ -53,12 +53,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode400Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java index c43e3e08ebf..32360eb1023 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java @@ -53,16 +53,13 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode400Response(response, deserializedResponse.body()); + // throw exception because this is an error } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode404Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java index fe1b7ec788d..f66808bab37 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java @@ -49,12 +49,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode400Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java index 08831908dd5..214317d41af 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java @@ -38,12 +38,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode400Response(response, deserializedResponse.body()); + // throw exception because this is an error } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode404Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java index 29646afa464..44e84090da1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java @@ -53,16 +53,13 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode400Response(response, deserializedResponse.body()); + // throw exception because this is an error } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode404Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java index 282fa8652c8..851a7a75350 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java @@ -49,12 +49,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode400Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java index 35d2032912e..d88221394ea 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java @@ -53,12 +53,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode404Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java index d0f4273d86e..f8ff6dbd7fd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java @@ -53,16 +53,13 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode400Response(response, deserializedResponse.body()); + // throw exception because this is an error } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode404Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java index 129ca917f2b..1272107a1f8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java @@ -38,12 +38,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode400Response(response, deserializedResponse.body()); + // throw exception because this is an error } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new EndpointCode404Response(response, deserializedResponse.body()); + // throw exception because this is an error } } } diff --git a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java index 1162912c737..55b9d5ff781 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java +++ b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java @@ -521,6 +521,7 @@ private void generatePathItem(List files, CodegenKey pathKey, CodegenPathI responsesInfo.put("statusCodeResponses", operation.statusCodeResponses); responsesInfo.put("wildcardCodeResponses", operation.wildcardCodeResponses); responsesInfo.put("nonErrorResponses", operation.nonErrorResponses); + responsesInfo.put("nonErrorStatusCodes", operation.nonErrorStatusCodes); generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, responsesInfo, true); for (Map.Entry responseEntry: operation.responses.entrySet()) { // paths.some_path.post.responses.response_200.__init__.py (file per response) diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java b/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java index 23c4291133f..29169bd059c 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java @@ -2699,7 +2699,7 @@ public CodegenOperation fromOperation(Operation operation, String jsonPath, Link TreeMap statusCodeResponses = null; LinkedHashSet errorStatusCodes = null; LinkedHashSet errorWildcardStatusCodes = null; - LinkedHashSet nonErrorStatusCodes = null; + LinkedHashSet nonErrorStatusCodes = null; LinkedHashSet nonErrorWildcardStatusCodes = null; if (operation.getResponses() != null && !operation.getResponses().isEmpty()) { Map responsesMap = new TreeMap<>(); @@ -2761,7 +2761,7 @@ public CodegenOperation fromOperation(Operation operation, String jsonPath, Link if (nonErrorStatusCodes == null) { nonErrorStatusCodes = new LinkedHashSet<>(); } - nonErrorStatusCodes.add(key); + nonErrorStatusCodes.add(statusCode); } } diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java index f0541e0f653..8161818a9a7 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java @@ -23,7 +23,7 @@ public class CodegenOperation { public final Boolean deprecated; - public final LinkedHashSet nonErrorStatusCodes; // values like 201 + public final LinkedHashSet nonErrorStatusCodes; // values like 201 public final LinkedHashSet nonErrorWildcardStatusCodes; // values like 2 for @2XX public final LinkedHashSet errorStatusCodes; // values like 401 public final LinkedHashSet errorWildcardStatusCodes; // values like 4 for 4XX @@ -58,7 +58,7 @@ public class CodegenOperation { public CodegenOperation( Boolean deprecated, - LinkedHashSet nonErrorStatusCodes, + LinkedHashSet nonErrorStatusCodes, LinkedHashSet nonErrorWildcardStatusCodes, LinkedHashSet errorStatusCodes, LinkedHashSet errorWildcardStatusCodes, diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs index 744d01b5590..bfa8f5ac726 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs @@ -63,7 +63,7 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{#if statusCodeResponses }} this.statusCodeToResponseDeserializer = Map.ofEntries( {{#each statusCodeResponses }} - new AbstractMap.SimpleEntry<>("{{@key}}", new Status{{jsonPathPiece.snakeCase}}Deserializer()){{#unless @last}},{{/unless}} + new AbstractMap.SimpleEntry<>("{{@key}}", new Status{{jsonPathPiece.pascalCase}}Deserializer()){{#unless @last}},{{/unless}} {{/each}} ); {{/if}} @@ -89,20 +89,27 @@ public class {{responses.jsonPathPiece.pascalCase}} { } {{#eq statusCodeResponses.size 1}} {{#each statusCodeResponses}} - Status{{jsonPathPiece.snakeCase}}Deserializer castDeserializer = (Status{{jsonPathPiece.snakeCase}}Deserializer) deserializer; + Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer = (Status{{jsonPathPiece.pascalCase}}Deserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Endpoint{{jsonPathPiece.snakeCase}}(response, deserializedResponse.body()); + return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); {{/each}} {{else}} {{#each statusCodeResponses}} {{#if @first}} - if (deserializer instanceof Status{{jsonPathPiece.snakeCase}}Deserializer castDeserializer) { + if (deserializer instanceof Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { {{else}} - } else if (deserializer instanceof Status{{jsonPathPiece.snakeCase}}Deserializer castDeserializer) { + } else if (deserializer instanceof Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { {{/if}} var deserializedResponse = castDeserializer.deserialize(response, configuration); - // todo switch on the status code and return the endpoint class instance - return new Endpoint{{jsonPathPiece.snakeCase}}(response, deserializedResponse.body()); + {{#if nonErrorResponses}} + {{#contains nonErrorStatusCodes @key }} + return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); + {{else}} + // throw exception because this is an error + {{/contains}} + {{else}} + // throw exception because this is an error + {{/if}} {{/each}} } {{/eq}} From 69fc3cd12c938ded6d5fc12a2b6668fce9b535d4 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Mon, 26 Feb 2024 10:46:00 -0800 Subject: [PATCH 06/18] Adds typed response throwing --- .../petstore/java/.openapi-generator/FILES | 1 + .../responses/HeadersWithNoBody.java | 14 ++++++++++ .../responses/SuccessDescriptionOnly.java | 14 ++++++++++ .../SuccessInlineContentAndHeader.java | 14 ++++++++++ .../responses/SuccessWithJsonApiResponse.java | 14 ++++++++++ .../SuccessfulXmlAndJsonArrayOfPet.java | 14 ++++++++++ .../client/exceptions/ApiException.java | 14 ++++++++++ .../client/exceptions/BaseException.java | 3 ++ .../InvalidAdditionalPropertyException.java | 2 +- .../exceptions/InvalidTypeException.java | 2 +- .../exceptions/UnsetPropertyException.java | 2 +- .../exceptions/ValidationException.java | 2 +- .../anotherfakedummy/patch/Responses.java | 1 + .../patch/responses/Code200Response.java | 14 ++++++++++ .../commonparamsubdir/delete/Responses.java | 1 + .../commonparamsubdir/get/Responses.java | 1 + .../commonparamsubdir/post/Responses.java | 1 + .../client/paths/fake/delete/Responses.java | 1 + .../client/paths/fake/get/Responses.java | 7 ++++- .../fake/get/responses/Code404Response.java | 14 ++++++++++ .../client/paths/fake/patch/Responses.java | 1 + .../fake/patch/responses/Code200Response.java | 14 ++++++++++ .../client/paths/fake/post/Responses.java | 7 ++++- .../fake/post/responses/Code404Response.java | 14 ++++++++++ .../get/Responses.java | 1 + .../get/responses/Code200Response.java | 14 ++++++++++ .../fakebodywithfileschema/put/Responses.java | 1 + .../put/Responses.java | 1 + .../put/Responses.java | 1 + .../fakeclassnametest/patch/Responses.java | 1 + .../patch/responses/Code200Response.java | 14 ++++++++++ .../fakedeletecoffeeid/delete/Responses.java | 1 + .../delete/responses/CodedefaultResponse.java | 14 ++++++++++ .../paths/fakehealth/get/Responses.java | 1 + .../get/responses/Code200Response.java | 14 ++++++++++ .../post/Responses.java | 1 + .../fakeinlinecomposition/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../paths/fakejsonformdata/get/Responses.java | 1 + .../paths/fakejsonpatch/patch/Responses.java | 1 + .../fakejsonwithcharset/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../get/Responses.java | 1 + .../get/responses/Code200Response.java | 14 ++++++++++ .../get/responses/Code202Response.java | 14 ++++++++++ .../fakemultiplesecurities/get/Responses.java | 1 + .../get/responses/Code200Response.java | 14 ++++++++++ .../paths/fakeobjinquery/get/Responses.java | 1 + .../post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../fakepemcontenttype/get/Responses.java | 1 + .../get/responses/Code200Response.java | 14 ++++++++++ .../post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../get/Responses.java | 1 + .../get/responses/Code200Response.java | 14 ++++++++++ .../paths/fakeredirection/get/Responses.java | 1 + .../get/responses/Code303Response.java | 14 ++++++++++ .../get/responses/Code3XXResponse.java | 14 ++++++++++ .../fakerefobjinquery/get/Responses.java | 1 + .../fakerefsarraymodel/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../fakerefsarrayofenums/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../paths/fakerefsboolean/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../paths/fakerefsenum/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../paths/fakerefsmammal/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../paths/fakerefsnumber/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../paths/fakerefsstring/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../get/Responses.java | 1 + .../get/responses/Code200Response.java | 14 ++++++++++ .../faketestqueryparamters/put/Responses.java | 1 + .../post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../paths/fakeuploadfile/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../paths/fakeuploadfiles/post/Responses.java | 1 + .../post/responses/Code200Response.java | 14 ++++++++++ .../fakewildcardresponses/get/Responses.java | 1 + .../get/responses/Code1XXResponse.java | 14 ++++++++++ .../get/responses/Code200Response.java | 14 ++++++++++ .../get/responses/Code2XXResponse.java | 14 ++++++++++ .../get/responses/Code3XXResponse.java | 14 ++++++++++ .../get/responses/Code4XXResponse.java | 14 ++++++++++ .../get/responses/Code5XXResponse.java | 14 ++++++++++ .../client/paths/foo/get/Responses.java | 1 + .../get/responses/CodedefaultResponse.java | 14 ++++++++++ .../client/paths/pet/post/Responses.java | 7 ++++- .../pet/post/responses/Code405Response.java | 14 ++++++++++ .../client/paths/pet/put/Responses.java | 19 +++++++++++-- .../pet/put/responses/Code400Response.java | 14 ++++++++++ .../pet/put/responses/Code404Response.java | 14 ++++++++++ .../pet/put/responses/Code405Response.java | 14 ++++++++++ .../paths/petfindbystatus/get/Responses.java | 7 ++++- .../get/responses/Code400Response.java | 14 ++++++++++ .../paths/petfindbytags/get/Responses.java | 7 ++++- .../get/responses/Code400Response.java | 14 ++++++++++ .../paths/petpetid/delete/Responses.java | 1 + .../delete/responses/Code400Response.java | 14 ++++++++++ .../client/paths/petpetid/get/Responses.java | 13 +++++++-- .../get/responses/Code200Response.java | 14 ++++++++++ .../get/responses/Code400Response.java | 14 ++++++++++ .../get/responses/Code404Response.java | 14 ++++++++++ .../client/paths/petpetid/post/Responses.java | 1 + .../post/responses/Code405Response.java | 14 ++++++++++ .../petpetiduploadimage/post/Responses.java | 1 + .../client/paths/solidus/get/Responses.java | 1 + .../paths/storeinventory/get/Responses.java | 1 + .../paths/storeorder/post/Responses.java | 7 ++++- .../post/responses/Code200Response.java | 14 ++++++++++ .../post/responses/Code400Response.java | 14 ++++++++++ .../storeorderorderid/delete/Responses.java | 13 +++++++-- .../delete/responses/Code400Response.java | 14 ++++++++++ .../delete/responses/Code404Response.java | 14 ++++++++++ .../storeorderorderid/get/Responses.java | 13 +++++++-- .../get/responses/Code200Response.java | 14 ++++++++++ .../get/responses/Code400Response.java | 14 ++++++++++ .../get/responses/Code404Response.java | 14 ++++++++++ .../client/paths/user/post/Responses.java | 1 + .../post/responses/CodedefaultResponse.java | 14 ++++++++++ .../usercreatewitharray/post/Responses.java | 1 + .../post/responses/CodedefaultResponse.java | 14 ++++++++++ .../usercreatewithlist/post/Responses.java | 1 + .../post/responses/CodedefaultResponse.java | 14 ++++++++++ .../client/paths/userlogin/get/Responses.java | 7 ++++- .../get/responses/Code200Response.java | 14 ++++++++++ .../get/responses/Code400Response.java | 14 ++++++++++ .../paths/userlogout/get/Responses.java | 1 + .../paths/userusername/delete/Responses.java | 7 ++++- .../delete/responses/Code404Response.java | 14 ++++++++++ .../paths/userusername/get/Responses.java | 13 +++++++-- .../get/responses/Code200Response.java | 14 ++++++++++ .../get/responses/Code400Response.java | 14 ++++++++++ .../get/responses/Code404Response.java | 14 ++++++++++ .../paths/userusername/put/Responses.java | 13 +++++++-- .../put/responses/Code400Response.java | 14 ++++++++++ .../put/responses/Code404Response.java | 14 ++++++++++ .../generators/JavaClientGenerator.java | 1 + .../components/responses/Response.hbs | 28 +++++++++++++++++++ .../components/responses/Responses.hbs | 12 ++++++-- .../packagename/exceptions/ApiException.hbs | 14 ++++++++++ .../packagename/exceptions/BaseException.hbs | 3 ++ .../InvalidAdditionalPropertyException.hbs | 2 +- .../exceptions/InvalidTypeException.hbs | 2 +- .../exceptions/UnsetPropertyException.hbs | 2 +- .../exceptions/ValidationException.hbs | 2 +- 157 files changed, 1290 insertions(+), 31 deletions(-) create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java create mode 100644 src/main/resources/java/src/main/java/packagename/exceptions/ApiException.hbs diff --git a/samples/client/petstore/java/.openapi-generator/FILES b/samples/client/petstore/java/.openapi-generator/FILES index 9e2bc938dda..35e6bc18c42 100644 --- a/samples/client/petstore/java/.openapi-generator/FILES +++ b/samples/client/petstore/java/.openapi-generator/FILES @@ -505,6 +505,7 @@ src/main/java/org/openapijsonschematools/client/components/securityschemes/Petst src/main/java/org/openapijsonschematools/client/configurations/ApiConfiguration.java src/main/java/org/openapijsonschematools/client/configurations/JsonSchemaKeywordFlags.java src/main/java/org/openapijsonschematools/client/configurations/SchemaConfiguration.java +src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java index f6f9acdb1f5..a172b192615 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java index 6967e1461da..7cc31b2c50e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java index fa7b442f693..10cedb522bd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.components.responses.successinlinecontentandheader.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java index 08677e4d19e..4eabeb94464 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.components.responses.successwithjsonapiresponse.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java index 919db831be2..39caa9f3e71 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.components.responses.successfulxmlandjsonarrayofpet.content.applicationxml.ApplicationxmlSchema; import org.openapijsonschematools.client.components.responses.successfulxmlandjsonarrayofpet.content.applicationjson.ApplicationjsonSchema; @@ -67,4 +69,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java new file mode 100644 index 00000000000..f87103eafae --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java @@ -0,0 +1,14 @@ +package org.openapijsonschematools.client.exceptions; + +import java.net.http.HttpResponse; +import org.openapijsonschematools.client.response.ApiResponse; + +@SuppressWarnings("serial") +public class ApiException extends BaseException { + public HttpResponse response; + + public ValidationException(String s, HttpResponse response) { + super(s); + this.response = response; + } +} \ No newline at end of file diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java index 3d7b352080c..3bea6999da1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java @@ -2,4 +2,7 @@ @SuppressWarnings("serial") public class BaseException extends RuntimeException { + public BaseException(String s) { + super(s); + } } \ No newline at end of file diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java index 7f0805b1be8..424762f3cc9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class InvalidAdditionalPropertyException extends BaseException { public InvalidAdditionalPropertyException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java index 73fafa999af..02131fff34d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class InvalidTypeException extends BaseException { public InvalidTypeException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java index cb743b6a97c..f709a440cb3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class UnsetPropertyException extends BaseException { public UnsetPropertyException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java index 8c217a9f9dc..bd2e7089700 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class ValidationException extends BaseException { public ValidationException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java index 21988765fde..d6211c561ec 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java index b307c66fba1..d07bf1b2cb4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.anotherfakedummy.patch.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java index 9b627df2d61..a6c180f90c4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java index 052a6017317..805542ff0f1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java index f7092049230..10bd0badf99 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java index 3eef6efc2b0..1cb17932e4a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java index 52b13491ce1..5a0e61665d0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -56,7 +57,11 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code404Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java index c656c6b1fe0..6bcb038a6d2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fake.get.responses.code404response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java index 4895b59cbaa..53fcdacf6b8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java index 30c92bdccaa..4edf94168e8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fake.patch.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java index f8c1bb76df5..d1a32ecb2da 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -56,7 +57,11 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code404Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java index f6a0bbe8f31..56cc07556b4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java index 6f63ab8108e..2b93f1685bf 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java index d1d224a9573..5e56dc0a283 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeadditionalpropertieswitharrayofenums.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java index 6f4bec9539d..c07dded4e1d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java index ea8cc578228..e9386fcdb54 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java index d55f422f036..f5592becff8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java index 4fab7288c52..f5a82b537fd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java index a56b33fb4f7..c04044832e7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeclassnametest.patch.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java index d787c06abfe..329637be153 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java index 9e753636173..4487d78bb95 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java index 3e63e14a066..4358ad97518 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java index a504fe0a6ba..86ca8251bc2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakehealth.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java index d7114b7e9e6..3f7fa0f79b3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java index 2dc08bbe04a..a5bebb46548 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java index 7d4e5e617e9..754034d371f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeinlinecomposition.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; import org.openapijsonschematools.client.paths.fakeinlinecomposition.post.responses.code200response.content.multipartformdata.MultipartformdataSchema; @@ -67,4 +69,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java index 7118d5bea2f..2a319d640dc 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java index 3917cde0cdb..20c9cd712ec 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java index cf6c03f080e..78d27070615 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java index 37dcb4fe272..9f0bb6cfec7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakejsonwithcharset.post.responses.code200response.content.applicationjsoncharsetutf8.Applicationjsoncharsetutf8Schema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java index f5fc5d2e9a3..909a5a2b7cb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java index c5dce785061..d5955018f61 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakemultiplerequestbodycontenttypes.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java index 8f8b5c3984f..a0779a149af 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java index ef8dc875a8e..b03391b7240 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakemultipleresponsebodies.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java index baafae85a7b..96244855137 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakemultipleresponsebodies.get.responses.code202response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java index 2a3f1a3267b..d41c6790e8f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java index cb30e9398b4..86da4c0317e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakemultiplesecurities.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java index 3b6b3499a61..8d43ec9b1a9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java index 076c0c8c932..7f34499022c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java index d4528d09986..88558172e28 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeparametercollisions1ababselfab.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java index b502296e287..7ac2e55457d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java index e63e3c08bfe..0646a3b013d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakepemcontenttype.get.responses.code200response.content.applicationxpemfile.ApplicationxpemfileSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java index 9c6962b01a1..3f43fc880a0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java index 24e2ecf827b..97f08a49e9e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakepetiduploadimagewithrequiredfile.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java index ac45f8b7665..dd547249c0a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java index 3d6b23dbf11..3b5b95e4be2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakequeryparamwithjsoncontenttype.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java index ec662b5e586..f4288a8f50d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java index 7c32fb69139..97bb85fe39f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java index b6b5bfd0eaa..490904ac264 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java index 0499427afb1..c0470fa79eb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java index b24cb358991..e46298b4b62 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java index 87967b8848d..0a0f1e01a92 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsarraymodel.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java index b02ec13e716..68f07f74f37 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java index 9dd347dd3cb..8b165c197b3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsarrayofenums.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java index 8c91b985c60..1e537d0714c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java index dcf965a7bd8..c8cbae5cd17 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsboolean.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java index 6dd51e9f072..5eadcd7a4f7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java index 32c14d6f16c..c450bdeaec3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefscomposedoneofnumberwithvalidations.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java index e10aeae1292..853718a68ae 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java index e20627544e3..61604b3d284 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsenum.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java index 9a848ffad2c..2a94dab0165 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java index 68e8bc37f17..f8bcf610814 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsmammal.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java index 10e904ed0c3..adb02f1fe0c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java index 6a4a1829e56..18d1e4c05d1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsnumber.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java index f5b57bb837f..6925530114c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java index e2c6082a8ea..33ef96c51a9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsobjectmodelwithrefprops.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java index 4a23be29775..058d3be739d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java index 0ef09b42463..cd716d93465 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsstring.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java index 4b6fba154f0..906316458b1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java index c461d9035bf..ed09cd60914 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.AbstractMap; @@ -30,4 +32,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java index ea1ba68cd72..a99c3df2d57 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java index aecd1e0d3cd..aa4df271ab9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java index 63236fb8e64..b5510ffb610 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeuploaddownloadfile.post.responses.code200response.content.applicationoctetstream.ApplicationoctetstreamSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java index 4aa84386e57..239a1e836a6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java index eb4aeb00121..eab393fcd6a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeuploadfile.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java index 22b66721d1f..a71470fa7ce 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java index 8b5a4469414..062d852c94b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeuploadfiles.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java index 3f36c33dc55..19d7ab87cee 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java @@ -9,6 +9,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java index 1035450a564..3af3c751b1f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code1xxresponse.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java index 4776aca71e2..e32f2c2bd6b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java index 12796885fdb..afad8dc8d17 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code2xxresponse.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java index 420f21a011b..6304def34ac 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code3xxresponse.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java index 1d38967e4a8..1ee9c6b23ca 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code4xxresponse.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java index 645d93d6b86..037c5be992e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code5xxresponse.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java index f7df1f246d8..d3ee7ab9a97 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java index 4cb012e1f53..eaf488b0c5d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.foo.get.responses.codedefaultresponse.content.applicationjson.ApplicationjsonSchema; @@ -51,4 +53,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java index 398e96bdc5e..841f187f3d4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -56,7 +57,11 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode405ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code405Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java index 28b861d4339..cdc2be8b9a1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java index 090db7082ee..136c394cfa7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java @@ -6,6 +6,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -42,13 +43,25 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code404Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } else if (deserializer instanceof StatusCode405ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code405Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java index 43a665f0c19..98563b5934b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java index c98a92007c7..3e5439a6eee 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java index ea308bdc6b2..36a5b473176 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java index 9f43f710064..bd0a7ed1b48 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -56,7 +57,11 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java index 789af3ed96f..f529447b5a1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java index a770d78e2f7..6541c1a3593 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -56,7 +57,11 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java index e1e47e9b91e..2c4a73a1b1b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java index 64721316e6a..e7cc4e497df 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java index 2fcdf10dd22..c18e491e698 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java index 32360eb1023..82472c606fd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java @@ -6,6 +6,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -56,10 +57,18 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code404Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java index 41cbf8b5a5c..d61ffcc3b9d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.petpetid.get.responses.code200response.content.applicationxml.ApplicationxmlSchema; import org.openapijsonschematools.client.paths.petpetid.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -67,4 +69,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java index 5d2a50f0154..0fe0abfbe7b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java index 0797e7c8fa9..bff73081384 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java index c99d6f4e216..1293384c325 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java index e4d93dc02b9..13689d241fd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java index 02c5969bff4..28043cd5b07 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java index 1d84fd15d46..780e9978c45 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java index cfbd62aadd1..520cf7b955f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java index f66808bab37..de6ff2a7d61 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -52,7 +53,11 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java index 806ee8b6867..5ce2ad66f77 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.storeorder.post.responses.code200response.content.applicationxml.ApplicationxmlSchema; import org.openapijsonschematools.client.paths.storeorder.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -67,4 +69,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java index b018f2a8d55..76838c718c8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java index 214317d41af..c384b80212e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -38,10 +39,18 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code404Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java index 3b69947b889..47a01e68ec6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java index 6043fb706e6..f2984c7b4d3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java index 44e84090da1..510d5448267 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java @@ -6,6 +6,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -56,10 +57,18 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code404Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java index ddacd91e6b8..5ef09389767 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.storeorderorderid.get.responses.code200response.content.applicationxml.ApplicationxmlSchema; import org.openapijsonschematools.client.paths.storeorderorderid.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -67,4 +69,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java index a0d64766ab5..e7fadd1859f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java index 9a3b4607c8f..7f42a1f22ef 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java index cd0ec511222..703d81dd2b0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java index 2804bfc1dcb..fe93f3c4c30 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java index ad3c96668ab..59984121597 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java index 12a36ad0d11..b958b7e1500 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java index 864a08746df..f4521b6fe82 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java index 8764ab19081..4a65a8fc92d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java index 851a7a75350..1fd9765fe75 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -52,7 +53,11 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java index 34e312d269a..64f096d9a99 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.userlogin.get.responses.code200response.content.applicationxml.ApplicationxmlSchema; import org.openapijsonschematools.client.paths.userlogin.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -67,4 +69,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java index 80856aa6119..6941bef7f2b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java index efe351afcbb..92e582c3449 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java @@ -4,6 +4,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java index d88221394ea..3c5d016c681 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -56,7 +57,11 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code404Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java index cdca3621219..7e0c1d50942 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java index f8ff6dbd7fd..2fa8a7b629d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java @@ -6,6 +6,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -56,10 +57,18 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code404Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java index bae41243287..1b94119878e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.userusername.get.responses.code200response.content.applicationxml.ApplicationxmlSchema; import org.openapijsonschematools.client.paths.userusername.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -67,4 +69,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java index 1bba2220853..a5f0443554f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java index 511b4b8c0e4..45eb0de9e2f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java index 1272107a1f8..56e426fb443 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java @@ -5,6 +5,7 @@ import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -38,10 +39,18 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - // throw exception because this is an error + return new Code404Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java index 7997bf717b2..c6ac9ebae72 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java index b3ac1cfe936..6930a52c1fc 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java @@ -2,6 +2,8 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; +import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; @@ -27,4 +29,16 @@ protected Void getHeaders(HttpHeaders headers) { return null; } } + + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } } diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java b/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java index 6f932342376..3e9bcdf88cf 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java @@ -711,6 +711,7 @@ public void processOpts() { // exceptions List exceptionClasses = new ArrayList<>(); + exceptionClasses.add("ApiException"); exceptionClasses.add("BaseException"); exceptionClasses.add("InvalidAdditionalPropertyException"); exceptionClasses.add("InvalidTypeException"); diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs index c498a65b161..20dcd9be4b9 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs @@ -12,6 +12,8 @@ public class {{jsonPathPiece.pascalCase}} extends {{refInfo.refModule}} { {{else}} import {{packageName}}.configurations.SchemaConfiguration; import {{packageName}}.response.ResponseDeserializer; +import {{packageName}}.response.ApiResponse; +import {{packageName}}.exceptions.ApiException; {{#if hasContentSchema}} import {{packageName}}.mediatype.MediaType; {{else}} @@ -100,6 +102,32 @@ public class {{jsonPathPiece.pascalCase}} { return null; } } + + {{#if hasContentSchema}} + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } + {{else}} + @SuppressWarnings("serial") + public class ResponseApiException extends ApiException { + public HttpResponse response; + public ApiResponse apiResponse; + + public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + super(s, response); + this.response = response; + this.apiResponse = apiResponse; + } + } + {{/if}} } {{/if}} {{/with}} \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs index bfa8f5ac726..b7b5f57aa17 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs @@ -105,10 +105,18 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{#contains nonErrorStatusCodes @key }} return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); {{else}} - // throw exception because this is an error + return new {{jsonPathPiece.pascalCase}}.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); {{/contains}} {{else}} - // throw exception because this is an error + return new {{jsonPathPiece.pascalCase}}.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); {{/if}} {{/each}} } diff --git a/src/main/resources/java/src/main/java/packagename/exceptions/ApiException.hbs b/src/main/resources/java/src/main/java/packagename/exceptions/ApiException.hbs new file mode 100644 index 00000000000..5e28140537a --- /dev/null +++ b/src/main/resources/java/src/main/java/packagename/exceptions/ApiException.hbs @@ -0,0 +1,14 @@ +package {{{packageName}}}.exceptions; + +import java.net.http.HttpResponse; +import {{{packageName}}}.response.ApiResponse; + +@SuppressWarnings("serial") +public class ApiException extends BaseException { + public HttpResponse response; + + public ValidationException(String s, HttpResponse response) { + super(s); + this.response = response; + } +} \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/exceptions/BaseException.hbs b/src/main/resources/java/src/main/java/packagename/exceptions/BaseException.hbs index 5c79af60205..eb3da9339a5 100644 --- a/src/main/resources/java/src/main/java/packagename/exceptions/BaseException.hbs +++ b/src/main/resources/java/src/main/java/packagename/exceptions/BaseException.hbs @@ -2,4 +2,7 @@ package {{{packageName}}}.exceptions; @SuppressWarnings("serial") public class BaseException extends RuntimeException { + public BaseException(String s) { + super(s); + } } \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/exceptions/InvalidAdditionalPropertyException.hbs b/src/main/resources/java/src/main/java/packagename/exceptions/InvalidAdditionalPropertyException.hbs index b7948c64791..6567ff7ad8f 100644 --- a/src/main/resources/java/src/main/java/packagename/exceptions/InvalidAdditionalPropertyException.hbs +++ b/src/main/resources/java/src/main/java/packagename/exceptions/InvalidAdditionalPropertyException.hbs @@ -3,6 +3,6 @@ package {{{packageName}}}.exceptions; @SuppressWarnings("serial") public class InvalidAdditionalPropertyException extends BaseException { public InvalidAdditionalPropertyException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/exceptions/InvalidTypeException.hbs b/src/main/resources/java/src/main/java/packagename/exceptions/InvalidTypeException.hbs index e5e1455ffc0..1025411b4c4 100644 --- a/src/main/resources/java/src/main/java/packagename/exceptions/InvalidTypeException.hbs +++ b/src/main/resources/java/src/main/java/packagename/exceptions/InvalidTypeException.hbs @@ -3,6 +3,6 @@ package {{{packageName}}}.exceptions; @SuppressWarnings("serial") public class InvalidTypeException extends BaseException { public InvalidTypeException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/exceptions/UnsetPropertyException.hbs b/src/main/resources/java/src/main/java/packagename/exceptions/UnsetPropertyException.hbs index fd37bec8d71..16504af69fd 100644 --- a/src/main/resources/java/src/main/java/packagename/exceptions/UnsetPropertyException.hbs +++ b/src/main/resources/java/src/main/java/packagename/exceptions/UnsetPropertyException.hbs @@ -3,6 +3,6 @@ package {{{packageName}}}.exceptions; @SuppressWarnings("serial") public class UnsetPropertyException extends BaseException { public UnsetPropertyException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/exceptions/ValidationException.hbs b/src/main/resources/java/src/main/java/packagename/exceptions/ValidationException.hbs index 7a0e0a43af2..c0be4e3d42c 100644 --- a/src/main/resources/java/src/main/java/packagename/exceptions/ValidationException.hbs +++ b/src/main/resources/java/src/main/java/packagename/exceptions/ValidationException.hbs @@ -3,6 +3,6 @@ package {{{packageName}}}.exceptions; @SuppressWarnings("serial") public class ValidationException extends BaseException { public ValidationException(String s) { - super(); + super(s); } } \ No newline at end of file From 1602ccec7b1971dc09589576ecda1bef619d7782 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Mon, 26 Feb 2024 11:28:50 -0800 Subject: [PATCH 07/18] Adds handling of wildcard responses only --- .../SuccessInlineContentAndHeader.java | 2 - .../responses/SuccessWithJsonApiResponse.java | 2 - .../SuccessfulXmlAndJsonArrayOfPet.java | 2 - .../client/exceptions/ApiException.java | 3 +- .../anotherfakedummy/patch/Responses.java | 8 ++- .../patch/responses/Code200Response.java | 2 - .../commonparamsubdir/delete/Responses.java | 8 ++- .../commonparamsubdir/get/Responses.java | 8 ++- .../commonparamsubdir/post/Responses.java | 8 ++- .../client/paths/fake/delete/Responses.java | 8 ++- .../client/paths/fake/get/Responses.java | 10 ++-- .../fake/get/responses/Code404Response.java | 2 - .../client/paths/fake/patch/Responses.java | 8 ++- .../fake/patch/responses/Code200Response.java | 2 - .../client/paths/fake/post/Responses.java | 10 ++-- .../get/Responses.java | 8 ++- .../get/responses/Code200Response.java | 2 - .../fakebodywithfileschema/put/Responses.java | 8 ++- .../put/Responses.java | 8 ++- .../put/Responses.java | 8 ++- .../fakeclassnametest/patch/Responses.java | 8 ++- .../patch/responses/Code200Response.java | 2 - .../fakedeletecoffeeid/delete/Responses.java | 8 ++- .../paths/fakehealth/get/Responses.java | 8 ++- .../get/responses/Code200Response.java | 2 - .../post/Responses.java | 8 ++- .../fakeinlinecomposition/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../paths/fakejsonformdata/get/Responses.java | 8 ++- .../paths/fakejsonpatch/patch/Responses.java | 8 ++- .../fakejsonwithcharset/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../get/Responses.java | 8 ++- .../get/responses/Code200Response.java | 2 - .../get/responses/Code202Response.java | 2 - .../fakemultiplesecurities/get/Responses.java | 8 ++- .../get/responses/Code200Response.java | 2 - .../paths/fakeobjinquery/get/Responses.java | 8 ++- .../post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../fakepemcontenttype/get/Responses.java | 8 ++- .../get/responses/Code200Response.java | 2 - .../post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../get/Responses.java | 8 ++- .../get/responses/Code200Response.java | 2 - .../paths/fakeredirection/get/Responses.java | 2 +- .../fakerefobjinquery/get/Responses.java | 8 ++- .../fakerefsarraymodel/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../fakerefsarrayofenums/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../paths/fakerefsboolean/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../paths/fakerefsenum/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../paths/fakerefsmammal/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../paths/fakerefsnumber/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../paths/fakerefsstring/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../get/Responses.java | 8 ++- .../faketestqueryparamters/put/Responses.java | 8 ++- .../post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../paths/fakeuploadfile/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../paths/fakeuploadfiles/post/Responses.java | 8 ++- .../post/responses/Code200Response.java | 2 - .../fakewildcardresponses/get/Responses.java | 2 +- .../get/responses/Code1XXResponse.java | 2 - .../get/responses/Code200Response.java | 2 - .../get/responses/Code2XXResponse.java | 2 - .../get/responses/Code3XXResponse.java | 2 - .../get/responses/Code4XXResponse.java | 2 - .../get/responses/Code5XXResponse.java | 2 - .../client/paths/foo/get/Responses.java | 2 +- .../get/responses/CodedefaultResponse.java | 2 - .../client/paths/pet/post/Responses.java | 10 ++-- .../client/paths/pet/put/Responses.java | 8 ++- .../paths/petfindbystatus/get/Responses.java | 10 ++-- .../paths/petfindbytags/get/Responses.java | 10 ++-- .../paths/petpetid/delete/Responses.java | 8 ++- .../client/paths/petpetid/get/Responses.java | 12 ++-- .../get/responses/Code200Response.java | 2 - .../client/paths/petpetid/post/Responses.java | 8 ++- .../petpetiduploadimage/post/Responses.java | 8 ++- .../client/paths/solidus/get/Responses.java | 8 ++- .../paths/storeinventory/get/Responses.java | 8 ++- .../paths/storeorder/post/Responses.java | 10 ++-- .../post/responses/Code200Response.java | 2 - .../storeorderorderid/delete/Responses.java | 8 ++- .../storeorderorderid/get/Responses.java | 12 ++-- .../get/responses/Code200Response.java | 2 - .../client/paths/user/post/Responses.java | 2 +- .../usercreatewitharray/post/Responses.java | 2 +- .../usercreatewithlist/post/Responses.java | 2 +- .../client/paths/userlogin/get/Responses.java | 10 ++-- .../get/responses/Code200Response.java | 2 - .../paths/userlogout/get/Responses.java | 2 +- .../paths/userusername/delete/Responses.java | 10 ++-- .../paths/userusername/get/Responses.java | 12 ++-- .../get/responses/Code200Response.java | 2 - .../paths/userusername/put/Responses.java | 8 ++- .../DefaultGeneratorRunner.java | 2 + .../components/responses/Response.hbs | 2 - .../components/responses/Responses.hbs | 58 +++++++++++++++++-- .../packagename/exceptions/ApiException.hbs | 3 +- 115 files changed, 379 insertions(+), 297 deletions(-) diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java index 10cedb522bd..f340f614dcb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java index 4eabeb94464..e1df58fbcdd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java index 39caa9f3e71..05b4fe3e82c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java @@ -72,12 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java index f87103eafae..d308d4b90a1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java @@ -1,13 +1,12 @@ package org.openapijsonschematools.client.exceptions; import java.net.http.HttpResponse; -import org.openapijsonschematools.client.response.ApiResponse; @SuppressWarnings("serial") public class ApiException extends BaseException { public HttpResponse response; - public ValidationException(String s, HttpResponse response) { + public ApiException(String s, HttpResponse response) { super(s); this.response = response; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java index d6211c561ec..1613cf80ede 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.anotherfakedummy.patch; import org.openapijsonschematools.client.paths.anotherfakedummy.patch.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java index d07bf1b2cb4..bb25c6662e9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java index a6c180f90c4..e526fca6699 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.commonparamsubdir.delete; import org.openapijsonschematools.client.paths.commonparamsubdir.delete.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java index 805542ff0f1..b9a90dd039d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.commonparamsubdir.get; import org.openapijsonschematools.client.paths.commonparamsubdir.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java index 10bd0badf99..873c42b2d4f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.commonparamsubdir.post; import org.openapijsonschematools.client.paths.commonparamsubdir.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java index 1cb17932e4a..39af55b76b5 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fake.delete; import org.openapijsonschematools.client.paths.fake.delete.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java index 5a0e61665d0..029b00af4ba 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.fake.get.responses.Code200Response; import org.openapijsonschematools.client.paths.fake.get.responses.Code404Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -49,15 +49,17 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code404Response.ResponseApiException( + throw new Code404Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java index 6bcb038a6d2..046fa50c3df 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java index 53fcdacf6b8..1c1fd7269ee 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fake.patch; import org.openapijsonschematools.client.paths.fake.patch.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java index 4edf94168e8..4a0c24c2ee7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java index d1a32ecb2da..657568fceb2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.fake.post.responses.Code200Response; import org.openapijsonschematools.client.paths.fake.post.responses.Code404Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -49,15 +49,17 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code404Response.ResponseApiException( + throw new Code404Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java index 2b93f1685bf..61e3b7e95f0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakeadditionalpropertieswitharrayofenums.get; import org.openapijsonschematools.client.paths.fakeadditionalpropertieswitharrayofenums.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java index 5e56dc0a283..384d08ae41c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java index c07dded4e1d..980d6bf1c2a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakebodywithfileschema.put; import org.openapijsonschematools.client.paths.fakebodywithfileschema.put.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java index e9386fcdb54..7875abedea0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakebodywithqueryparams.put; import org.openapijsonschematools.client.paths.fakebodywithqueryparams.put.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java index f5592becff8..d5b7502fc07 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakecasesensitiveparams.put; import org.openapijsonschematools.client.paths.fakecasesensitiveparams.put.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java index f5a82b537fd..325d905500c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakeclassnametest.patch; import org.openapijsonschematools.client.paths.fakeclassnametest.patch.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java index c04044832e7..4a3e5b23460 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java index 329637be153..2f1c10a1557 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.fakedeletecoffeeid.delete.responses.Code200Response; import org.openapijsonschematools.client.paths.fakedeletecoffeeid.delete.responses.CodedefaultResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -60,8 +60,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java index 4358ad97518..4b4cb841b18 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakehealth.get; import org.openapijsonschematools.client.paths.fakehealth.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java index 86ca8251bc2..bfa73444d6f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java index 3f7fa0f79b3..c6713abadfa 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakeinlineadditionalproperties.post; import org.openapijsonschematools.client.paths.fakeinlineadditionalproperties.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java index a5bebb46548..ac4a0dd8967 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakeinlinecomposition.post; import org.openapijsonschematools.client.paths.fakeinlinecomposition.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java index 754034d371f..d0aafc94e7d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java @@ -72,12 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java index 2a319d640dc..c3204eba36e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakejsonformdata.get; import org.openapijsonschematools.client.paths.fakejsonformdata.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java index 20c9cd712ec..ebccf976862 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakejsonpatch.patch; import org.openapijsonschematools.client.paths.fakejsonpatch.patch.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java index 78d27070615..435240ffedf 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakejsonwithcharset.post; import org.openapijsonschematools.client.paths.fakejsonwithcharset.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java index 9f0bb6cfec7..7ab05678121 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java index 909a5a2b7cb..fd0a12e4069 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakemultiplerequestbodycontenttypes.post; import org.openapijsonschematools.client.paths.fakemultiplerequestbodycontenttypes.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java index d5955018f61..ab9d5f8bde0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java index a0779a149af..3cdb480fb53 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.fakemultipleresponsebodies.get.responses.Code200Response; import org.openapijsonschematools.client.paths.fakemultipleresponsebodies.get.responses.Code202Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -55,8 +55,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java index b03391b7240..a2e94f04e19 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java index 96244855137..87a688b8176 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java index d41c6790e8f..bfd41531408 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakemultiplesecurities.get; import org.openapijsonschematools.client.paths.fakemultiplesecurities.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java index 86da4c0317e..59674ec4ed8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java index 8d43ec9b1a9..a7b9e3a501c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakeobjinquery.get; import org.openapijsonschematools.client.paths.fakeobjinquery.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java index 7f34499022c..7ceef16ae9e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakeparametercollisions1ababselfab.post; import org.openapijsonschematools.client.paths.fakeparametercollisions1ababselfab.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java index 88558172e28..0375f20cacb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java index 7ac2e55457d..172646f7148 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakepemcontenttype.get; import org.openapijsonschematools.client.paths.fakepemcontenttype.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java index 0646a3b013d..4c1c0c54628 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java index 3f43fc880a0..8fafc1e87a0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakepetiduploadimagewithrequiredfile.post; import org.openapijsonschematools.client.paths.fakepetiduploadimagewithrequiredfile.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java index 97f08a49e9e..b1cd363d744 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java index dd547249c0a..79ec4183305 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakequeryparamwithjsoncontenttype.get; import org.openapijsonschematools.client.paths.fakequeryparamwithjsoncontenttype.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java index 3b5b95e4be2..b0d97c4c00a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java index f4288a8f50d..b132a89a861 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.fakeredirection.get.responses.Code303Response; import org.openapijsonschematools.client.paths.fakeredirection.get.responses.Code3XXResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java index c0470fa79eb..a98ddac9079 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakerefobjinquery.get; import org.openapijsonschematools.client.paths.fakerefobjinquery.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java index e46298b4b62..ee2237d018d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakerefsarraymodel.post; import org.openapijsonschematools.client.paths.fakerefsarraymodel.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java index 0a0f1e01a92..397101302ab 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java index 68f07f74f37..b7f5ef01792 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakerefsarrayofenums.post; import org.openapijsonschematools.client.paths.fakerefsarrayofenums.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java index 8b165c197b3..3bcc7dfa6c3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java index 1e537d0714c..94184749e2d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakerefsboolean.post; import org.openapijsonschematools.client.paths.fakerefsboolean.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java index c8cbae5cd17..a0945010510 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java index 5eadcd7a4f7..4637cf11992 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakerefscomposedoneofnumberwithvalidations.post; import org.openapijsonschematools.client.paths.fakerefscomposedoneofnumberwithvalidations.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java index c450bdeaec3..085c5dae58a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java index 853718a68ae..98abda9610f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakerefsenum.post; import org.openapijsonschematools.client.paths.fakerefsenum.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java index 61604b3d284..1dfe593a595 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java index 2a94dab0165..cdff4f39823 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakerefsmammal.post; import org.openapijsonschematools.client.paths.fakerefsmammal.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java index f8bcf610814..27d5bd82a2f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java index adb02f1fe0c..3b7df86d986 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakerefsnumber.post; import org.openapijsonschematools.client.paths.fakerefsnumber.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java index 18d1e4c05d1..aaf2ca9cc19 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java index 6925530114c..d9a6d818e8f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakerefsobjectmodelwithrefprops.post; import org.openapijsonschematools.client.paths.fakerefsobjectmodelwithrefprops.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java index 33ef96c51a9..baea0f65325 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java index 058d3be739d..3205f6be16d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakerefsstring.post; import org.openapijsonschematools.client.paths.fakerefsstring.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java index cd716d93465..0632298e668 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java index 906316458b1..3c68666ad12 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakeresponsewithoutschema.get; import org.openapijsonschematools.client.paths.fakeresponsewithoutschema.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java index a99c3df2d57..4af6e5625f2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.faketestqueryparamters.put; import org.openapijsonschematools.client.paths.faketestqueryparamters.put.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java index aa4df271ab9..dac8c68031e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakeuploaddownloadfile.post; import org.openapijsonschematools.client.paths.fakeuploaddownloadfile.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java index b5510ffb610..441437dc4ce 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java index 239a1e836a6..0b4e4c61b50 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakeuploadfile.post; import org.openapijsonschematools.client.paths.fakeuploadfile.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java index eab393fcd6a..1eaf3784c6a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java index a71470fa7ce..1c17016be1f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.fakeuploadfiles.post; import org.openapijsonschematools.client.paths.fakeuploadfiles.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -41,8 +41,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java index 062d852c94b..e7543d4ddc8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java index 19d7ab87cee..ea31f29e4bf 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java @@ -6,10 +6,10 @@ import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.Code3XXResponse; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.Code4XXResponse; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.Code5XXResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java index 3af3c751b1f..39fcf367128 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java index e32f2c2bd6b..37a4c69a9bc 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java index afad8dc8d17..2b6000eae49 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java index 6304def34ac..c51213d5a9c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java index 1ee9c6b23ca..91f138ecf2d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java index 037c5be992e..5827c914c66 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java index d3ee7ab9a97..e6492d20c97 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.foo.get; import org.openapijsonschematools.client.paths.foo.get.responses.CodedefaultResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java index eaf488b0c5d..e626a082cbe 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java @@ -56,12 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java index 841f187f3d4..1ab81989005 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.pet.post.responses.Code200Response; import org.openapijsonschematools.client.paths.pet.post.responses.Code405Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -49,15 +49,17 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode405ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code405Response.ResponseApiException( + throw new Code405Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java index 136c394cfa7..6b1e36745fc 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java @@ -3,10 +3,10 @@ import org.openapijsonschematools.client.paths.pet.put.responses.Code400Response; import org.openapijsonschematools.client.paths.pet.put.responses.Code404Response; import org.openapijsonschematools.client.paths.pet.put.responses.Code405Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -38,8 +38,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java index bd0a7ed1b48..6ac41d28d06 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.petfindbystatus.get.responses.Code200Response; import org.openapijsonschematools.client.paths.petfindbystatus.get.responses.Code400Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -49,15 +49,17 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code400Response.ResponseApiException( + throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java index 6541c1a3593..2190357d712 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.petfindbytags.get.responses.Code200Response; import org.openapijsonschematools.client.paths.petfindbytags.get.responses.Code400Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -49,15 +49,17 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code400Response.ResponseApiException( + throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java index e7cc4e497df..a6d574fd6db 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.petpetid.delete; import org.openapijsonschematools.client.paths.petpetid.delete.responses.Code400Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -30,8 +30,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode400ResponseDeserializer castDeserializer = (StatusCode400ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java index 82472c606fd..724cac025d3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java @@ -3,10 +3,10 @@ import org.openapijsonschematools.client.paths.petpetid.get.responses.Code200Response; import org.openapijsonschematools.client.paths.petpetid.get.responses.Code400Response; import org.openapijsonschematools.client.paths.petpetid.get.responses.Code404Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -49,22 +49,24 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code400Response.ResponseApiException( + throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse ); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code404Response.ResponseApiException( + throw new Code404Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java index d61ffcc3b9d..712735eeb88 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java @@ -72,12 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java index 1293384c325..5c7d8064c4f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.petpetid.post; import org.openapijsonschematools.client.paths.petpetid.post.responses.Code405Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -30,8 +30,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode405ResponseDeserializer castDeserializer = (StatusCode405ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java index 28043cd5b07..e21efe42298 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.petpetiduploadimage.post; import org.openapijsonschematools.client.paths.petpetiduploadimage.post.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java index 780e9978c45..8477764017e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.solidus.get; import org.openapijsonschematools.client.paths.solidus.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java index 520cf7b955f..1fd48bd4110 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.storeinventory.get; import org.openapijsonschematools.client.paths.storeinventory.get.responses.Code200Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,8 +45,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java index de6ff2a7d61..bb8de00a29c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.storeorder.post.responses.Code200Response; import org.openapijsonschematools.client.paths.storeorder.post.responses.Code400Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,15 +45,17 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code400Response.ResponseApiException( + throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java index 5ce2ad66f77..6f4707cbeb1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java @@ -72,12 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java index c384b80212e..997b3f32cb8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.storeorderorderid.delete.responses.Code400Response; import org.openapijsonschematools.client.paths.storeorderorderid.delete.responses.Code404Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -34,8 +34,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java index 510d5448267..08a4ba4fa02 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java @@ -3,10 +3,10 @@ import org.openapijsonschematools.client.paths.storeorderorderid.get.responses.Code200Response; import org.openapijsonschematools.client.paths.storeorderorderid.get.responses.Code400Response; import org.openapijsonschematools.client.paths.storeorderorderid.get.responses.Code404Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -49,22 +49,24 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code400Response.ResponseApiException( + throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse ); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code404Response.ResponseApiException( + throw new Code404Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java index 5ef09389767..759c32917b9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java @@ -72,12 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java index 703d81dd2b0..8352f8396ee 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.user.post; import org.openapijsonschematools.client.paths.user.post.responses.CodedefaultResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java index 59984121597..f841f0bace7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.usercreatewitharray.post; import org.openapijsonschematools.client.paths.usercreatewitharray.post.responses.CodedefaultResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java index f4521b6fe82..c02b3b5c468 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.usercreatewithlist.post; import org.openapijsonschematools.client.paths.usercreatewithlist.post.responses.CodedefaultResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java index 1fd9765fe75..a051d1d7ef1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.userlogin.get.responses.Code200Response; import org.openapijsonschematools.client.paths.userlogin.get.responses.Code400Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -45,15 +45,17 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code400Response.ResponseApiException( + throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java index 64f096d9a99..64750c789b7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java @@ -72,12 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java index 92e582c3449..2bedfb5760a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java @@ -1,10 +1,10 @@ package org.openapijsonschematools.client.paths.userlogout.get; import org.openapijsonschematools.client.paths.userlogout.get.responses.CodedefaultResponse; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java index 3c5d016c681..a9ffa852675 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.userusername.delete.responses.Code200Response; import org.openapijsonschematools.client.paths.userusername.delete.responses.Code404Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -49,15 +49,17 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code404Response.ResponseApiException( + throw new Code404Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java index 2fa8a7b629d..8493cff4207 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java @@ -3,10 +3,10 @@ import org.openapijsonschematools.client.paths.userusername.get.responses.Code200Response; import org.openapijsonschematools.client.paths.userusername.get.responses.Code400Response; import org.openapijsonschematools.client.paths.userusername.get.responses.Code404Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -49,22 +49,24 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code400Response.ResponseApiException( + throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse ); } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code404Response.ResponseApiException( + throw new Code404Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java index 1b94119878e..341a3d3cf22 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java @@ -72,12 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java index 56e426fb443..bb8ee137675 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java @@ -2,10 +2,10 @@ import org.openapijsonschematools.client.paths.userusername.put.responses.Code400Response; import org.openapijsonschematools.client.paths.userusername.put.responses.Code404Response; +import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.openapijsonschematools.client.exceptions.ApiException; import org.checkerframework.checker.nullness.qual.Nullable; import java.net.http.HttpResponse; @@ -34,8 +34,10 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu String statusCode = String.valueOf(response.statusCode()); @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); diff --git a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java index 55b9d5ff781..4fa2a65f981 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java +++ b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java @@ -522,6 +522,8 @@ private void generatePathItem(List files, CodegenKey pathKey, CodegenPathI responsesInfo.put("wildcardCodeResponses", operation.wildcardCodeResponses); responsesInfo.put("nonErrorResponses", operation.nonErrorResponses); responsesInfo.put("nonErrorStatusCodes", operation.nonErrorStatusCodes); + responsesInfo.put("nonErrorWildcardStatusCodes", operation.nonErrorWildcardStatusCodes); + responsesInfo.put("defaultResponse", operation.defaultResponse); generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, responsesInfo, true); for (Map.Entry responseEntry: operation.responses.entrySet()) { // paths.some_path.post.responses.response_200.__init__.py (file per response) diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs index 20dcd9be4b9..9e902d0408f 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs @@ -106,12 +106,10 @@ public class {{jsonPathPiece.pascalCase}} { {{#if hasContentSchema}} @SuppressWarnings("serial") public class ResponseApiException extends ApiException { - public HttpResponse response; public ApiResponse apiResponse; public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs index b7b5f57aa17..fe247ab8e49 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs @@ -3,6 +3,7 @@ package {{packageName}}.{{responses.subpackage}}; {{#each responses}} import {{{packageName}}}.{{subpackage}}.{{jsonPathPiece.pascalCase}}; {{/each}} +import {{{packageName}}}.exceptions.ApiException; import {{{packageName}}}.response.ApiResponse; import {{{packageName}}}.response.ResponsesDeserializer; import {{{packageName}}}.configurations.SchemaConfiguration; @@ -84,8 +85,10 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{#if statusCodeResponses}} @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); if (deserializer == null) { - // todo throw ApiException and include the response in it - throw new RuntimeException("Invalid response statusCode="+statusCode+" has no response defined in the openapi document"); + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); } {{#eq statusCodeResponses.size 1}} {{#each statusCodeResponses}} @@ -101,11 +104,11 @@ public class {{responses.jsonPathPiece.pascalCase}} { } else if (deserializer instanceof Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { {{/if}} var deserializedResponse = castDeserializer.deserialize(response, configuration); - {{#if nonErrorResponses}} + {{#if nonErrorStatusCodes}} {{#contains nonErrorStatusCodes @key }} return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); {{else}} - return new {{jsonPathPiece.pascalCase}}.ResponseApiException( + throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse @@ -120,8 +123,55 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{/if}} {{/each}} } + {{#if defaultResponse}} + // todo handle defaultResponse here + {{/if}} {{/eq}} {{else}} + @Nullable WildcardCodeResponseDeserializer deserializer = wildcardCodeToResponseDeserializer.get(statusCode); + if (deserializer == null) { + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); + } + {{#eq wildcardCodeResponses.size 1}} + {{#each wildcardCodeResponses}} + Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer = (Wildcard{{jsonPathPiece.pascalCase}}Deserializer) deserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); + {{/each}} + {{else}} + {{#each wildcardCodeResponses}} + {{#if @first}} + if (deserializer instanceof Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { + {{else}} + } else if (deserializer instanceof Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { + {{/if}} + var deserializedResponse = castDeserializer.deserialize(response, configuration); + {{#if nonErrorWildcardStatusCodes}} + {{#contains nonErrorWildcardStatusCodes @key }} + return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); + {{else}} + throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); + {{/contains}} + {{else}} + return new {{jsonPathPiece.pascalCase}}.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); + {{/if}} + {{/each}} + } + {{#if defaultResponse}} + // todo handle defaultResponse here + {{/if}} + {{/eq}} {{/if}} {{else}} {{/or}} diff --git a/src/main/resources/java/src/main/java/packagename/exceptions/ApiException.hbs b/src/main/resources/java/src/main/java/packagename/exceptions/ApiException.hbs index 5e28140537a..76c683b4c5a 100644 --- a/src/main/resources/java/src/main/java/packagename/exceptions/ApiException.hbs +++ b/src/main/resources/java/src/main/java/packagename/exceptions/ApiException.hbs @@ -1,13 +1,12 @@ package {{{packageName}}}.exceptions; import java.net.http.HttpResponse; -import {{{packageName}}}.response.ApiResponse; @SuppressWarnings("serial") public class ApiException extends BaseException { public HttpResponse response; - public ValidationException(String s, HttpResponse response) { + public ApiException(String s, HttpResponse response) { super(s); this.response = response; } From 5f0c567fc6bf4e16c0bb2e3d62b8f2d96d527088 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Mon, 26 Feb 2024 13:48:42 -0800 Subject: [PATCH 08/18] Imrpoves response deserialization handling, adds needed imports, removes unused import --- .../responses/HeadersWithNoBody.java | 7 +- .../responses/SuccessDescriptionOnly.java | 7 +- .../SuccessInlineContentAndHeader.java | 1 + .../responses/SuccessWithJsonApiResponse.java | 1 + .../SuccessfulXmlAndJsonArrayOfPet.java | 1 + .../anotherfakedummy/patch/Responses.java | 6 +- .../patch/responses/Code200Response.java | 1 + .../commonparamsubdir/delete/Responses.java | 14 +- .../commonparamsubdir/get/Responses.java | 14 +- .../commonparamsubdir/post/Responses.java | 14 +- .../client/paths/fake/delete/Responses.java | 14 +- .../client/paths/fake/get/Responses.java | 17 +-- .../fake/get/responses/Code404Response.java | 1 + .../client/paths/fake/patch/Responses.java | 6 +- .../fake/patch/responses/Code200Response.java | 1 + .../client/paths/fake/post/Responses.java | 17 +-- .../fake/post/responses/Code404Response.java | 7 +- .../get/Responses.java | 6 +- .../get/responses/Code200Response.java | 1 + .../fakebodywithfileschema/put/Responses.java | 14 +- .../put/Responses.java | 14 +- .../put/Responses.java | 14 +- .../fakeclassnametest/patch/Responses.java | 6 +- .../patch/responses/Code200Response.java | 1 + .../fakedeletecoffeeid/delete/Responses.java | 26 +--- .../delete/responses/CodedefaultResponse.java | 7 +- .../paths/fakehealth/get/Responses.java | 6 +- .../get/responses/Code200Response.java | 1 + .../post/Responses.java | 14 +- .../fakeinlinecomposition/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../paths/fakejsonformdata/get/Responses.java | 14 +- .../paths/fakejsonpatch/patch/Responses.java | 14 +- .../fakejsonwithcharset/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../get/Responses.java | 9 +- .../get/responses/Code200Response.java | 1 + .../get/responses/Code202Response.java | 1 + .../fakemultiplesecurities/get/Responses.java | 6 +- .../get/responses/Code200Response.java | 1 + .../paths/fakeobjinquery/get/Responses.java | 14 +- .../post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../fakepemcontenttype/get/Responses.java | 6 +- .../get/responses/Code200Response.java | 1 + .../post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../get/Responses.java | 6 +- .../get/responses/Code200Response.java | 1 + .../paths/fakeredirection/get/Responses.java | 32 +++-- .../get/responses/Code303Response.java | 7 +- .../get/responses/Code3XXResponse.java | 7 +- .../fakerefobjinquery/get/Responses.java | 14 +- .../fakerefsarraymodel/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../fakerefsarrayofenums/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../paths/fakerefsboolean/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../paths/fakerefsenum/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../paths/fakerefsmammal/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../paths/fakerefsnumber/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../paths/fakerefsstring/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../get/Responses.java | 14 +- .../get/responses/Code200Response.java | 7 +- .../faketestqueryparamters/put/Responses.java | 14 +- .../post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../paths/fakeuploadfile/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../paths/fakeuploadfiles/post/Responses.java | 6 +- .../post/responses/Code200Response.java | 1 + .../fakewildcardresponses/get/Responses.java | 38 ++++++ .../get/responses/Code1XXResponse.java | 1 + .../get/responses/Code200Response.java | 1 + .../get/responses/Code2XXResponse.java | 1 + .../get/responses/Code3XXResponse.java | 1 + .../get/responses/Code4XXResponse.java | 1 + .../get/responses/Code5XXResponse.java | 1 + .../get/responses/CodedefaultResponse.java | 1 + .../client/paths/pet/post/Responses.java | 17 +-- .../pet/post/responses/Code405Response.java | 7 +- .../client/paths/pet/put/Responses.java | 22 +-- .../pet/put/responses/Code400Response.java | 7 +- .../pet/put/responses/Code404Response.java | 7 +- .../pet/put/responses/Code405Response.java | 7 +- .../paths/petfindbystatus/get/Responses.java | 17 +-- .../get/responses/Code400Response.java | 7 +- .../paths/petfindbytags/get/Responses.java | 17 +-- .../get/responses/Code400Response.java | 7 +- .../paths/petpetid/delete/Responses.java | 11 +- .../delete/responses/Code400Response.java | 7 +- .../client/paths/petpetid/get/Responses.java | 11 +- .../get/responses/Code200Response.java | 1 + .../get/responses/Code400Response.java | 7 +- .../get/responses/Code404Response.java | 7 +- .../client/paths/petpetid/post/Responses.java | 11 +- .../post/responses/Code405Response.java | 7 +- .../petpetiduploadimage/post/Responses.java | 14 +- .../client/paths/solidus/get/Responses.java | 14 +- .../paths/storeinventory/get/Responses.java | 14 +- .../paths/storeorder/post/Responses.java | 9 +- .../post/responses/Code200Response.java | 1 + .../post/responses/Code400Response.java | 7 +- .../storeorderorderid/delete/Responses.java | 18 +-- .../delete/responses/Code400Response.java | 7 +- .../delete/responses/Code404Response.java | 7 +- .../storeorderorderid/get/Responses.java | 11 +- .../get/responses/Code200Response.java | 1 + .../get/responses/Code400Response.java | 7 +- .../get/responses/Code404Response.java | 7 +- .../client/paths/user/post/Responses.java | 8 +- .../post/responses/CodedefaultResponse.java | 7 +- .../usercreatewitharray/post/Responses.java | 8 +- .../post/responses/CodedefaultResponse.java | 7 +- .../usercreatewithlist/post/Responses.java | 8 +- .../post/responses/CodedefaultResponse.java | 7 +- .../client/paths/userlogin/get/Responses.java | 9 +- .../get/responses/Code200Response.java | 1 + .../get/responses/Code400Response.java | 7 +- .../paths/userlogout/get/Responses.java | 8 +- .../paths/userusername/delete/Responses.java | 17 +-- .../delete/responses/Code404Response.java | 7 +- .../paths/userusername/get/Responses.java | 11 +- .../get/responses/Code200Response.java | 1 + .../get/responses/Code400Response.java | 7 +- .../get/responses/Code404Response.java | 7 +- .../paths/userusername/put/Responses.java | 18 +-- .../put/responses/Code400Response.java | 7 +- .../put/responses/Code404Response.java | 7 +- .../components/responses/Response.hbs | 7 +- .../components/responses/Responses.hbs | 125 +++++------------- .../responses/_statusCodeDeserialization.hbs | 39 ++++++ .../_wildcardCodeDeserialization.hbs | 39 ++++++ 144 files changed, 592 insertions(+), 636 deletions(-) create mode 100644 src/main/resources/java/src/main/java/packagename/components/responses/_statusCodeDeserialization.hbs create mode 100644 src/main/resources/java/src/main/java/packagename/components/responses/_wildcardCodeDeserialization.hbs diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java index a172b192615..b0b9dcf966a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class HeadersWithNoBody { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java index 7cc31b2c50e..f6bdcf28641 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class SuccessDescriptionOnly { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java index f340f614dcb..dfa60f076b7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class SuccessInlineContentAndHeader { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java index e1df58fbcdd..a4ac713af56 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class SuccessWithJsonApiResponse { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java index 05b4fe3e82c..094851b2eb7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java @@ -10,6 +10,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class SuccessfulXmlAndJsonArrayOfPet { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java index 1613cf80ede..05784c2cc61 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java index bb25c6662e9..998ee099da5 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java index e526fca6699..199dec20968 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/delete/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java index b9a90dd039d..7d1ba52c9da 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/get/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java index 873c42b2d4f..d7444126565 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/commonparamsubdir/post/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java index 39af55b76b5..e844af8872d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/delete/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java index 029b00af4ba..9062d42ce99 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/Responses.java @@ -16,13 +16,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -47,17 +43,18 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + } else { + StatusCode404ResponseDeserializer castDeserializer = (StatusCode404ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code404Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java index 046fa50c3df..1175a706c1e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code404Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java index 1c1fd7269ee..f7f322a3fc6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java index 4a0c24c2ee7..c40467495ca 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java index 657568fceb2..679ab3391fc 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/Responses.java @@ -16,13 +16,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -47,17 +43,18 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + } else { + StatusCode404ResponseDeserializer castDeserializer = (StatusCode404ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code404Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java index 56cc07556b4..8845fc619c1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code404Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java index 61e3b7e95f0..22a58272836 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java index 384d08ae41c..2e71257b8b8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java index 980d6bf1c2a..3e68f7af88b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithfileschema/put/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java index 7875abedea0..3ee8330f8cd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakebodywithqueryparams/put/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java index d5b7502fc07..4d7319c76a9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakecasesensitiveparams/put/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java index 325d905500c..9bcd68eb014 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java index 4a3e5b23460..7832fce0612 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java index 2f1c10a1557..c85e7df36fb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java @@ -16,13 +16,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response, EndpointCodedefaultResponse {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -30,13 +26,9 @@ public Void headers() { } public record EndpointCodedefaultResponse( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -58,16 +50,6 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { - throw new ApiException( - "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", - response - ); - } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; - var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new EndpointCode200Response(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java index 4487d78bb95..189cc6983f6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class CodedefaultResponse { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java index 4b4cb841b18..872340f1217 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java index bfa73444d6f..92ca7e14278 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java index c6713abadfa..dc15916fd52 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlineadditionalproperties/post/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java index ac4a0dd8967..71f8975f334 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java index d0aafc94e7d..176ec25f141 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java @@ -10,6 +10,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java index c3204eba36e..b8314899009 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonformdata/get/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java index ebccf976862..2baa6cd0b4b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonpatch/patch/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java index 435240ffedf..dfc15423aa9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java index 7ab05678121..2d50f4b8f79 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java index fd0a12e4069..ef63971c522 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java index ab9d5f8bde0..5f9c591d445 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java index 3cdb480fb53..b5d26f30a77 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/Responses.java @@ -53,17 +53,18 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode202ResponseDeserializer castDeserializer) { + } else { + StatusCode202ResponseDeserializer castDeserializer = (StatusCode202ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode202Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java index a2e94f04e19..554acd85232 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java index 87a688b8176..fc046583a87 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code202Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java index bfd41531408..d841b9c4771 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java index 59674ec4ed8..cf2ef91854d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java index a7b9e3a501c..0b4cc77fe60 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeobjinquery/get/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java index 7ceef16ae9e..3ed1961e32e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java index 0375f20cacb..fa228515e7b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java index 172646f7148..6c159b82205 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java index 4c1c0c54628..02fc5b8bb08 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java index 8fafc1e87a0..cac3aba755a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java index b1cd363d744..b20a793e75d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java index 79ec4183305..70c844a46e3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java index b0d97c4c00a..3ab4d61b159 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java index b132a89a861..ee0475768a4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java @@ -16,13 +16,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode3XXResponse, EndpointCode303Response {} public record EndpointCode3XXResponse( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -30,13 +26,9 @@ public Void headers() { } public record EndpointCode303Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -66,6 +58,22 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer != null) { + StatusCode303ResponseDeserializer castDeserializer = (StatusCode303ResponseDeserializer) statusCodeDeserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode303Response(response, deserializedResponse.body()); + } + @Nullable WildcardCodeResponseDeserializer wildcardCodeDeserializer = wildcardCodeToResponseDeserializer.get(statusCode); + if (wildcardCodeDeserializer == null) { + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); + } + WildcardCode3XXResponseDeserializer castDeserializer = (WildcardCode3XXResponseDeserializer) wildcardCodeDeserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode3XXResponse(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java index 97bb85fe39f..caa4c6f58bb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code303Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java index 490904ac264..57197e1e3e2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code3XXResponse { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java index a98ddac9079..f3c7736a3f0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefobjinquery/get/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java index ee2237d018d..8d017e722c4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java index 397101302ab..3ebb4ba3f47 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java index b7f5ef01792..5dfb0d00f27 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java index 3bcc7dfa6c3..93675c2789d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java index 94184749e2d..96b31771303 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java index a0945010510..40a48e8c930 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java index 4637cf11992..72341574f96 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java index 085c5dae58a..b34c5f7c267 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java index 98abda9610f..49903cc1f2e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java index 1dfe593a595..36f53d17fda 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java index cdff4f39823..35e9f7269bb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java index 27d5bd82a2f..d8b78956ff7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java index 3b7df86d986..4545f0d8533 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java index aaf2ca9cc19..12a5efdbbaa 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java index d9a6d818e8f..49609d743ed 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java index baea0f65325..71408e8ca92 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java index 3205f6be16d..09b8212b20d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java index 0632298e668..c0b1504a2f6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java index 3c68666ad12..087c995bb44 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java index ed09cd60914..0ed84841a59 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java @@ -8,6 +8,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { @@ -34,13 +35,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java index 4af6e5625f2..f1e32ebf987 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/faketestqueryparamters/put/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java index dac8c68031e..cb872801735 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java index 441437dc4ce..f6077663815 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java index 0b4e4c61b50..6e2100465e9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java index 1eaf3784c6a..8876df0e699 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java index 1c17016be1f..0b61b6ee1a0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/Responses.java @@ -39,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java index e7543d4ddc8..c5bafa37e0c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java index ea31f29e4bf..a09bdacce05 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java @@ -84,6 +84,44 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer != null) { + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); + } + @Nullable WildcardCodeResponseDeserializer wildcardCodeDeserializer = wildcardCodeToResponseDeserializer.get(statusCode); + if (wildcardCodeDeserializer == null) { + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response + ); + } + if (wildcardCodeDeserializer instanceof WildcardCode1XXResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode1XXResponse(response, deserializedResponse.body()); + } else if (wildcardCodeDeserializer instanceof WildcardCode2XXResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode2XXResponse(response, deserializedResponse.body()); + } else if (wildcardCodeDeserializer instanceof WildcardCode3XXResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode3XXResponse(response, deserializedResponse.body()); + } else if (wildcardCodeDeserializer instanceof WildcardCode4XXResponseDeserializer castDeserializer) { + var deserializedResponse = castDeserializer.deserialize(response, configuration); + throw new Code4XXResponse.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); + } else { + WildcardCode5XXResponseDeserializer castDeserializer = (WildcardCode5XXResponseDeserializer) wildcardCodeDeserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + throw new Code5XXResponse.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); + } } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java index 39fcf367128..16b78899088 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code1XXResponse { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java index 37a4c69a9bc..c11fb1d2041 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java index 2b6000eae49..0dfa24faad2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code2XXResponse { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java index c51213d5a9c..e9b07ea76ed 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code3XXResponse { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java index 91f138ecf2d..6dc07b54ce3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code4XXResponse { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java index 5827c914c66..1b594b683db 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code5XXResponse { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java index e626a082cbe..41753e55fa3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java @@ -9,6 +9,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class CodedefaultResponse { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java index 1ab81989005..a39e6ae72ba 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/Responses.java @@ -16,13 +16,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -47,17 +43,18 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode405ResponseDeserializer castDeserializer) { + } else { + StatusCode405ResponseDeserializer castDeserializer = (StatusCode405ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code405Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java index cdc2be8b9a1..fa91e0124c3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code405Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java index 6b1e36745fc..73c9bfd8cd1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/Responses.java @@ -4,7 +4,6 @@ import org.openapijsonschematools.client.paths.pet.put.responses.Code404Response; import org.openapijsonschematools.client.paths.pet.put.responses.Code405Response; import org.openapijsonschematools.client.exceptions.ApiException; -import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.checkerframework.checker.nullness.qual.Nullable; @@ -24,7 +23,7 @@ public static final class StatusCode404ResponseDeserializer extends Code404Respo public static final class StatusCode405ResponseDeserializer extends Code405Response.Code405Response1 implements StatusCodeResponseDeserializer { } - public static final class Responses1 implements ResponsesDeserializer { + public static final class Responses1 implements ResponsesDeserializer { private final Map statusCodeToResponseDeserializer; public Responses1() { this.statusCodeToResponseDeserializer = Map.ofEntries( @@ -34,32 +33,33 @@ public Responses1() { ); } - public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public Void deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code400Response.ResponseApiException( + throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse ); - } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + } else if (statusCodeDeserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code404Response.ResponseApiException( + throw new Code404Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse ); - } else if (deserializer instanceof StatusCode405ResponseDeserializer castDeserializer) { + } else { + StatusCode405ResponseDeserializer castDeserializer = (StatusCode405ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code405Response.ResponseApiException( + throw new Code405Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java index 98563b5934b..8cba3d1f4d4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java index 3e5439a6eee..836c24df5b2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code404Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java index 36a5b473176..0cba473cd4b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code405Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java index 6ac41d28d06..edf2962f40d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java @@ -16,13 +16,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -47,17 +43,18 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + } else { + StatusCode400ResponseDeserializer castDeserializer = (StatusCode400ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code400Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java index f529447b5a1..9127ded07cd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java index 2190357d712..86636a1d62a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java @@ -16,13 +16,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -47,17 +43,18 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + } else { + StatusCode400ResponseDeserializer castDeserializer = (StatusCode400ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code400Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java index 2c4a73a1b1b..61d9597fc95 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java index a6d574fd6db..540b5f8487b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java @@ -2,7 +2,6 @@ import org.openapijsonschematools.client.paths.petpetid.delete.responses.Code400Response; import org.openapijsonschematools.client.exceptions.ApiException; -import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.checkerframework.checker.nullness.qual.Nullable; @@ -18,7 +17,7 @@ public sealed interface StatusCodeResponseDeserializer permits StatusCode400Resp public static final class StatusCode400ResponseDeserializer extends Code400Response.Code400Response1 implements StatusCodeResponseDeserializer { } - public static final class Responses1 implements ResponsesDeserializer { + public static final class Responses1 implements ResponsesDeserializer { private final Map statusCodeToResponseDeserializer; public Responses1() { this.statusCodeToResponseDeserializer = Map.ofEntries( @@ -26,16 +25,16 @@ public Responses1() { ); } - public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public Void deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode400ResponseDeserializer castDeserializer = (StatusCode400ResponseDeserializer) deserializer; + StatusCode400ResponseDeserializer castDeserializer = (StatusCode400ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode400Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java index c18e491e698..0e1f6d910b6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java index 724cac025d3..2780f842fd3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/Responses.java @@ -47,24 +47,25 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + } else if (statusCodeDeserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse ); - } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + } else { + StatusCode404ResponseDeserializer castDeserializer = (StatusCode404ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code404Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java index 712735eeb88..1016c41dced 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java @@ -10,6 +10,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java index 0fe0abfbe7b..877e743d125 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java index bff73081384..07b0ccf33b8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code404Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java index 5c7d8064c4f..fe2b86d16c0 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java @@ -2,7 +2,6 @@ import org.openapijsonschematools.client.paths.petpetid.post.responses.Code405Response; import org.openapijsonschematools.client.exceptions.ApiException; -import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.checkerframework.checker.nullness.qual.Nullable; @@ -18,7 +17,7 @@ public sealed interface StatusCodeResponseDeserializer permits StatusCode405Resp public static final class StatusCode405ResponseDeserializer extends Code405Response.Code405Response1 implements StatusCodeResponseDeserializer { } - public static final class Responses1 implements ResponsesDeserializer { + public static final class Responses1 implements ResponsesDeserializer { private final Map statusCodeToResponseDeserializer; public Responses1() { this.statusCodeToResponseDeserializer = Map.ofEntries( @@ -26,16 +25,16 @@ public Responses1() { ); } - public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public Void deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode405ResponseDeserializer castDeserializer = (StatusCode405ResponseDeserializer) deserializer; + StatusCode405ResponseDeserializer castDeserializer = (StatusCode405ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode405Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java index 13689d241fd..55f3e788399 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code405Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java index e21efe42298..e36c500c1c5 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java index 8477764017e..2f753fc4485 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/solidus/get/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java index 1fd48bd4110..3f5863dfa91 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -43,14 +39,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) deserializer; + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java index bb8de00a29c..4504dc5cbda 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/Responses.java @@ -43,17 +43,18 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + } else { + StatusCode400ResponseDeserializer castDeserializer = (StatusCode400ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code400Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java index 6f4707cbeb1..851400b1936 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java @@ -10,6 +10,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java index 76838c718c8..23f274e31ac 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java index 997b3f32cb8..f811aab1d28 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/Responses.java @@ -3,7 +3,6 @@ import org.openapijsonschematools.client.paths.storeorderorderid.delete.responses.Code400Response; import org.openapijsonschematools.client.paths.storeorderorderid.delete.responses.Code404Response; import org.openapijsonschematools.client.exceptions.ApiException; -import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.checkerframework.checker.nullness.qual.Nullable; @@ -21,7 +20,7 @@ public static final class StatusCode400ResponseDeserializer extends Code400Respo public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { } - public static final class Responses1 implements ResponsesDeserializer { + public static final class Responses1 implements ResponsesDeserializer { private final Map statusCodeToResponseDeserializer; public Responses1() { this.statusCodeToResponseDeserializer = Map.ofEntries( @@ -30,25 +29,26 @@ public Responses1() { ); } - public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public Void deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code400Response.ResponseApiException( + throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse ); - } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + } else { + StatusCode404ResponseDeserializer castDeserializer = (StatusCode404ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code404Response.ResponseApiException( + throw new Code404Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java index 47a01e68ec6..39c1168d440 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java index f2984c7b4d3..685b21dd033 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code404Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java index 08a4ba4fa02..7007878e286 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/Responses.java @@ -47,24 +47,25 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + } else if (statusCodeDeserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse ); - } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + } else { + StatusCode404ResponseDeserializer castDeserializer = (StatusCode404ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code404Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java index 759c32917b9..8cba2fc7429 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java @@ -10,6 +10,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java index e7fadd1859f..a6b148604a3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java index 7f42a1f22ef..113c3ec8601 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code404Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java index 8352f8396ee..68c308cc8ca 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} public record EndpointCodedefaultResponse( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java index fe93f3c4c30..f30a0cda30a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class CodedefaultResponse { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java index f841f0bace7..1584b5899d7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} public record EndpointCodedefaultResponse( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java index b958b7e1500..8abcc4f285b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class CodedefaultResponse { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java index c02b3b5c468..6cc1481a419 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} public record EndpointCodedefaultResponse( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java index 4a65a8fc92d..475ab9c9e92 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class CodedefaultResponse { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java index a051d1d7ef1..d6c6fa038fe 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/Responses.java @@ -43,17 +43,18 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + } else { + StatusCode400ResponseDeserializer castDeserializer = (StatusCode400ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code400Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java index 64750c789b7..ed0d0674274 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java @@ -10,6 +10,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java index 6941bef7f2b..00d63672b05 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java index 2bedfb5760a..f1d91ee63cf 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java @@ -15,13 +15,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCodedefaultResponse {} public record EndpointCodedefaultResponse( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java index a9ffa852675..8ca121ca5b6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/Responses.java @@ -16,13 +16,9 @@ public class Responses { public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( - HttpResponse response - + HttpResponse response, + Void body ) implements EndpointResponse, ApiResponse{ - @Override - public Void body() { - return null; - } @Override public Void headers() { return null; @@ -47,17 +43,18 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + } else { + StatusCode404ResponseDeserializer castDeserializer = (StatusCode404ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code404Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java index 7e0c1d50942..d7b2168abb2 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code404Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java index 8493cff4207..46e3771793a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/Responses.java @@ -47,24 +47,25 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode200ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); return new EndpointCode200Response(response, deserializedResponse.body()); - } else if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + } else if (statusCodeDeserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse ); - } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + } else { + StatusCode404ResponseDeserializer castDeserializer = (StatusCode404ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code404Response.ResponseApiException( "Received error statusCode response from server", diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java index 341a3d3cf22..72a698581d6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java @@ -10,6 +10,7 @@ import java.util.AbstractMap; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code200Response { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java index a5f0443554f..80a42b1505c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java index 45eb0de9e2f..bed4fffda75 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code404Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java index bb8ee137675..996c3423963 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/Responses.java @@ -3,7 +3,6 @@ import org.openapijsonschematools.client.paths.userusername.put.responses.Code400Response; import org.openapijsonschematools.client.paths.userusername.put.responses.Code404Response; import org.openapijsonschematools.client.exceptions.ApiException; -import org.openapijsonschematools.client.response.ApiResponse; import org.openapijsonschematools.client.response.ResponsesDeserializer; import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.checkerframework.checker.nullness.qual.Nullable; @@ -21,7 +20,7 @@ public static final class StatusCode400ResponseDeserializer extends Code400Respo public static final class StatusCode404ResponseDeserializer extends Code404Response.Code404Response1 implements StatusCodeResponseDeserializer { } - public static final class Responses1 implements ResponsesDeserializer { + public static final class Responses1 implements ResponsesDeserializer { private final Map statusCodeToResponseDeserializer; public Responses1() { this.statusCodeToResponseDeserializer = Map.ofEntries( @@ -30,25 +29,26 @@ public Responses1() { ); } - public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public Void deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - if (deserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { + if (statusCodeDeserializer instanceof StatusCode400ResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code400Response.ResponseApiException( + throw new Code400Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse ); - } else if (deserializer instanceof StatusCode404ResponseDeserializer castDeserializer) { + } else { + StatusCode404ResponseDeserializer castDeserializer = (StatusCode404ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Code404Response.ResponseApiException( + throw new Code404Response.ResponseApiException( "Received error statusCode response from server", response, deserializedResponse diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java index c6ac9ebae72..248b05cf3d7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code400Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java index 6930a52c1fc..26c644d8c87 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java @@ -7,6 +7,7 @@ import org.openapijsonschematools.client.schemas.validation.MapUtils; import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class Code404Response { @@ -31,13 +32,11 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs index 9e902d0408f..6c0a310f7fc 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs @@ -29,6 +29,7 @@ import {{{packageName}}}.{{subpackage}}.{{containerJsonPathPiece.pascalCase}}; import java.util.AbstractMap; {{/if}} import java.util.Map; +import java.net.http.HttpResponse; import java.net.http.HttpHeaders; public class {{jsonPathPiece.pascalCase}} { @@ -115,13 +116,11 @@ public class {{jsonPathPiece.pascalCase}} { } {{else}} @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { - public HttpResponse response; + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); - this.response = response; this.apiResponse = apiResponse; } } diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs index fe247ab8e49..7e8f08521fd 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs @@ -4,7 +4,9 @@ package {{packageName}}.{{responses.subpackage}}; import {{{packageName}}}.{{subpackage}}.{{jsonPathPiece.pascalCase}}; {{/each}} import {{{packageName}}}.exceptions.ApiException; +{{#if nonErrorResponses }} import {{{packageName}}}.response.ApiResponse; +{{/if}} import {{{packageName}}}.response.ResponsesDeserializer; import {{{packageName}}}.configurations.SchemaConfiguration; import org.checkerframework.checker.nullness.qual.Nullable; @@ -19,15 +21,9 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{#each nonErrorResponses}} public record Endpoint{{jsonPathPiece.pascalCase}}( - HttpResponse response{{#if hasContentSchema}},{{/if}} - {{#if hasContentSchema}}{{jsonPathPiece.pascalCase}}.SealedResponseBody body{{/if}} + HttpResponse response, + {{#if hasContentSchema}}{{jsonPathPiece.pascalCase}}.SealedResponseBody body{{else}}Void body{{/if}} ) implements EndpointResponse, ApiResponse<{{#if hasContentSchema}}{{jsonPathPiece.pascalCase}}.SealedResponseBody{{else}}Void{{/if}}, Void>{ - {{#unless hasContentSchema}} - @Override - public Void body() { - return null; - } - {{/unless}} @Override public Void headers() { return null; @@ -53,7 +49,7 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{/each}} {{/if}} - public static final class {{responses.jsonPathPiece.pascalCase}}1 implements ResponsesDeserializer { + public static final class {{responses.jsonPathPiece.pascalCase}}1 implements ResponsesDeserializer<{{#if nonErrorResponses }}EndpointResponse{{else}}Void{{/if}}> { {{#if statusCodeResponses}} private final Map statusCodeToResponseDeserializer; {{/if}} @@ -77,105 +73,46 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{/if}} } - public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public {{#if nonErrorResponses }}EndpointResponse{{else}}Void{{/if}} deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); -{{#and wildcardCodeResponses statusCodeResponses }} -{{else}} - {{#or wildcardCodeResponses statusCodeResponses}} - {{#if statusCodeResponses}} - @Nullable StatusCodeResponseDeserializer deserializer = statusCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { +{{#eq defaultResponse null }} + {{#and statusCodeResponses wildcardCodeResponses }} + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer != null) { + {{> src/main/java/packagename/components/responses/_statusCodeDeserialization }} + } + @Nullable WildcardCodeResponseDeserializer wildcardCodeDeserializer = wildcardCodeToResponseDeserializer.get(statusCode); + if (wildcardCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - {{#eq statusCodeResponses.size 1}} - {{#each statusCodeResponses}} - Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer = (Status{{jsonPathPiece.pascalCase}}Deserializer) deserializer; - var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); - {{/each}} - {{else}} - {{#each statusCodeResponses}} - {{#if @first}} - if (deserializer instanceof Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { - {{else}} - } else if (deserializer instanceof Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { - {{/if}} - var deserializedResponse = castDeserializer.deserialize(response, configuration); - {{#if nonErrorStatusCodes}} - {{#contains nonErrorStatusCodes @key }} - return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); - {{else}} - throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( - "Received error statusCode response from server", - response, - deserializedResponse - ); - {{/contains}} - {{else}} - return new {{jsonPathPiece.pascalCase}}.ResponseApiException( - "Received error statusCode response from server", - response, - deserializedResponse - ); - {{/if}} - {{/each}} - } - {{#if defaultResponse}} - // todo handle defaultResponse here - {{/if}} - {{/eq}} - {{else}} - @Nullable WildcardCodeResponseDeserializer deserializer = wildcardCodeToResponseDeserializer.get(statusCode); - if (deserializer == null) { + {{> src/main/java/packagename/components/responses/_wildcardCodeDeserialization }} + {{else}} + {{#or statusCodeResponses wildcardCodeResponses }} + {{#if statusCodeResponses }} + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer == null) { throw new ApiException( "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", response ); } - {{#eq wildcardCodeResponses.size 1}} - {{#each wildcardCodeResponses}} - Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer = (Wildcard{{jsonPathPiece.pascalCase}}Deserializer) deserializer; - var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); - {{/each}} + {{> src/main/java/packagename/components/responses/_statusCodeDeserialization }} {{else}} - {{#each wildcardCodeResponses}} - {{#if @first}} - if (deserializer instanceof Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { - {{else}} - } else if (deserializer instanceof Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { - {{/if}} - var deserializedResponse = castDeserializer.deserialize(response, configuration); - {{#if nonErrorWildcardStatusCodes}} - {{#contains nonErrorWildcardStatusCodes @key }} - return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); - {{else}} - throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( - "Received error statusCode response from server", - response, - deserializedResponse - ); - {{/contains}} - {{else}} - return new {{jsonPathPiece.pascalCase}}.ResponseApiException( - "Received error statusCode response from server", - response, - deserializedResponse + @Nullable WildcardCodeResponseDeserializer wildcardCodeDeserializer = wildcardCodeToResponseDeserializer.get(statusCode); + if (wildcardCodeDeserializer == null) { + throw new ApiException( + "Invalid response statusCode="+statusCode+" has no response defined in the openapi document", + response ); - {{/if}} - {{/each}} } - {{#if defaultResponse}} - // todo handle defaultResponse here - {{/if}} - {{/eq}} - {{/if}} - {{else}} - {{/or}} -{{/and}} + {{> src/main/java/packagename/components/responses/_wildcardCodeDeserialization }} + {{/if}} + {{/or}} + {{/and}} +{{/eq}} } } } diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/_statusCodeDeserialization.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/_statusCodeDeserialization.hbs new file mode 100644 index 00000000000..5b39be37fe7 --- /dev/null +++ b/src/main/resources/java/src/main/java/packagename/components/responses/_statusCodeDeserialization.hbs @@ -0,0 +1,39 @@ +{{#eq statusCodeResponses.size 1}} + {{#each statusCodeResponses}} +Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer = (Status{{jsonPathPiece.pascalCase}}Deserializer) statusCodeDeserializer; +var deserializedResponse = castDeserializer.deserialize(response, configuration); +return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); + {{/each}} +{{else}} + {{#each statusCodeResponses}} + {{#if @first}} +if (statusCodeDeserializer instanceof Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { + {{else}} + {{#if @last}} +} else { + Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer = (Status{{jsonPathPiece.pascalCase}}Deserializer) statusCodeDeserializer; + {{else}} +} else if (statusCodeDeserializer instanceof Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { + {{/if}} + {{/if}} + var deserializedResponse = castDeserializer.deserialize(response, configuration); + {{#if nonErrorStatusCodes}} + {{#contains nonErrorStatusCodes @key }} + return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); + {{else}} + throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); + {{/contains}} + {{else}} + throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); + {{/if}} + {{/each}} +} +{{/eq}} \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/_wildcardCodeDeserialization.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/_wildcardCodeDeserialization.hbs new file mode 100644 index 00000000000..81fa3644b36 --- /dev/null +++ b/src/main/resources/java/src/main/java/packagename/components/responses/_wildcardCodeDeserialization.hbs @@ -0,0 +1,39 @@ +{{#eq wildcardCodeResponses.size 1}} + {{#each wildcardCodeResponses}} +Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer = (Wildcard{{jsonPathPiece.pascalCase}}Deserializer) wildcardCodeDeserializer; +var deserializedResponse = castDeserializer.deserialize(response, configuration); +return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); + {{/each}} +{{else}} + {{#each wildcardCodeResponses}} + {{#if @first}} +if (wildcardCodeDeserializer instanceof Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { + {{else}} + {{#if @last}} +} else { + Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer = (Wildcard{{jsonPathPiece.pascalCase}}Deserializer) wildcardCodeDeserializer; + {{else}} +} else if (wildcardCodeDeserializer instanceof Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer) { + {{/if}} + {{/if}} + var deserializedResponse = castDeserializer.deserialize(response, configuration); + {{#if nonErrorWildcardStatusCodes}} + {{#contains nonErrorWildcardStatusCodes @key }} + return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); + {{else}} + throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); + {{/contains}} + {{else}} + throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); + {{/if}} + {{/each}} +} +{{/eq}} \ No newline at end of file From d97e90fb0511636bab4ef8299da1bf71f67b9775 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Mon, 26 Feb 2024 14:46:07 -0800 Subject: [PATCH 09/18] Makes response exceptions sttic --- .../responses/SuccessInlineContentAndHeader.java | 4 ++-- .../responses/SuccessWithJsonApiResponse.java | 4 ++-- .../responses/SuccessfulXmlAndJsonArrayOfPet.java | 4 ++-- .../patch/responses/Code200Response.java | 4 ++-- .../paths/fake/get/responses/Code404Response.java | 4 ++-- .../paths/fake/patch/responses/Code200Response.java | 4 ++-- .../get/responses/Code200Response.java | 4 ++-- .../patch/responses/Code200Response.java | 4 ++-- .../fakehealth/get/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../get/responses/Code200Response.java | 4 ++-- .../get/responses/Code202Response.java | 4 ++-- .../get/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../get/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../get/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../fakerefsenum/post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../post/responses/Code200Response.java | 4 ++-- .../paths/fakewildcardresponses/get/Responses.java | 12 +++++++++++- .../get/responses/Code1XXResponse.java | 4 ++-- .../get/responses/Code200Response.java | 4 ++-- .../get/responses/Code2XXResponse.java | 4 ++-- .../get/responses/Code3XXResponse.java | 4 ++-- .../get/responses/Code4XXResponse.java | 4 ++-- .../get/responses/Code5XXResponse.java | 4 ++-- .../paths/foo/get/responses/CodedefaultResponse.java | 4 ++-- .../petpetid/get/responses/Code200Response.java | 4 ++-- .../storeorder/post/responses/Code200Response.java | 4 ++-- .../get/responses/Code200Response.java | 4 ++-- .../userlogin/get/responses/Code200Response.java | 4 ++-- .../userusername/get/responses/Code200Response.java | 4 ++-- .../generators/openapimodels/CodegenOperation.java | 4 ++-- .../packagename/components/responses/Response.hbs | 4 ++-- 46 files changed, 101 insertions(+), 91 deletions(-) diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java index dfa60f076b7..6638199321c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java index a4ac713af56..7d174cbc910 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java index 094851b2eb7..e19d59da6b1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java @@ -72,10 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java index 998ee099da5..15614880d33 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java index 1175a706c1e..dd343bb02b1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java index c40467495ca..b78d3568a63 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java index 2e71257b8b8..5cbfd6fe5d6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java index 7832fce0612..9ac28f7fe3a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java index 92ca7e14278..a47dc185d74 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java index 176ec25f141..ec46fd02bd5 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java @@ -72,10 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java index 2d50f4b8f79..9fd9e573e9e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java index 5f9c591d445..0f1b14a7e5c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java index 554acd85232..663123c8306 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java index fc046583a87..ff418c65ea3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java index cf2ef91854d..73de9986c02 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java index fa228515e7b..3783cd90344 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java index 02fc5b8bb08..4fcbca66aff 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java index b20a793e75d..028af47a2d8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java index 3ab4d61b159..16007051693 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java index 3ebb4ba3f47..31e07a7545d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java index 93675c2789d..0a6d3289351 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java index 40a48e8c930..94e09809c66 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java index b34c5f7c267..ed059f20afe 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java index 36f53d17fda..891e217c017 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java index d8b78956ff7..cbb7d348b83 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java index 12a5efdbbaa..25514ec0841 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java index 71408e8ca92..a26fcbb3f34 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java index c0b1504a2f6..45757030c65 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java index f6077663815..b7e39afb552 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java index 8876df0e699..278fa831544 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java index c5bafa37e0c..92b57df4034 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java index a09bdacce05..74de346e4b3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java @@ -17,7 +17,17 @@ import java.util.AbstractMap; public class Responses { - public sealed interface EndpointResponse permits EndpointCode2XXResponse, EndpointCode200Response, EndpointCode3XXResponse {} + public sealed interface EndpointResponse permits EndpointCode1XXResponse, EndpointCode2XXResponse, EndpointCode200Response, EndpointCode3XXResponse {} + + public record EndpointCode1XXResponse( + HttpResponse response, + Code1XXResponse.SealedResponseBody body + ) implements EndpointResponse, ApiResponse{ + @Override + public Void headers() { + return null; + } + } public record EndpointCode2XXResponse( HttpResponse response, diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java index 16b78899088..fe406bd2dcd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java index c11fb1d2041..bd21a8cfa50 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java index 0dfa24faad2..71520d23fa4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java index e9b07ea76ed..d3a1776cd5f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java index 6dc07b54ce3..b3b100b6de7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java index 1b594b683db..5da74fe9bd7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java index 41753e55fa3..3e145281c61 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java @@ -56,10 +56,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java index 1016c41dced..0917262fdff 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java @@ -72,10 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java index 851400b1936..232779c557c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java @@ -72,10 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java index 8cba2fc7429..fd5db2dce8f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java @@ -72,10 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java index ed0d0674274..544b22d93de 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java @@ -72,10 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java index 72a698581d6..fc2647fc8e4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java @@ -72,10 +72,10 @@ protected Void getHeaders(HttpHeaders headers) { } @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java index 8161818a9a7..8475d36f2d3 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenOperation.java @@ -123,14 +123,14 @@ public CodegenOperation( TreeMap nonErrorResponsesMap = new TreeMap<>(); if (statusCodeResponses != null) { for (Map.Entry entry: statusCodeResponses.entrySet()) { - if (entry.getKey() >= 200 && entry.getKey() <= 399) { + if (entry.getKey() >= 1 && entry.getKey() <= 399) { nonErrorResponsesMap.put(entry.getKey().toString(), entry.getValue()); } } } if (wildcardCodeResponses != null) { for (Map.Entry entry: wildcardCodeResponses.entrySet()) { - if (entry.getKey() == 2 || entry.getKey() == 3) { + if (entry.getKey() < 4) { nonErrorResponsesMap.put(entry.getKey().toString(), entry.getValue()); } } diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs index 6c0a310f7fc..f7e0fb6aab0 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs @@ -106,10 +106,10 @@ public class {{jsonPathPiece.pascalCase}} { {{#if hasContentSchema}} @SuppressWarnings("serial") - public class ResponseApiException extends ApiException { + public static class ResponseApiException extends ApiException { public ApiResponse apiResponse; - public ValidationException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { super(s, response); this.apiResponse = apiResponse; } From 76da03176a49f4654d55d040567d67749688dab2 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Mon, 26 Feb 2024 14:56:13 -0800 Subject: [PATCH 10/18] Adds shouldGenerateFile method to all generators --- .../client/components/responses.java | 23 ------------------- .../DefaultGeneratorRunner.java | 6 ++--- .../codegen/generators/DefaultGenerator.java | 2 +- .../codegen/generators/Generator.java | 3 +-- .../generators/JavaClientGenerator.java | 7 ++++-- 5 files changed, 9 insertions(+), 32 deletions(-) delete mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java deleted file mode 100644 index 7dec88f3f60..00000000000 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.openapijsonschematools.client.; - -import org.openapijsonschematools.client.response.ApiResponse; -import org.openapijsonschematools.client.response.ResponsesDeserializer; -import org.openapijsonschematools.client.configurations.SchemaConfiguration; -import org.checkerframework.checker.nullness.qual.Nullable; - -import java.net.http.HttpResponse; -import java.util.Map; -import java.util.AbstractMap; - -public class { - public sealed interface EndpointResponse permits {} - - public static final class 1 implements ResponsesDeserializer { - public 1() { - } - - public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { - String statusCode = String.valueOf(response.statusCode()); - } - } -} diff --git a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java index 4fa2a65f981..bae4daee7d1 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java +++ b/src/main/java/org/openapijsonschematools/codegen/generatorrunner/DefaultGeneratorRunner.java @@ -524,7 +524,7 @@ private void generatePathItem(List files, CodegenKey pathKey, CodegenPathI responsesInfo.put("nonErrorStatusCodes", operation.nonErrorStatusCodes); responsesInfo.put("nonErrorWildcardStatusCodes", operation.nonErrorWildcardStatusCodes); responsesInfo.put("defaultResponse", operation.defaultResponse); - generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, responsesInfo, true); + generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, responsesInfo, generator.shouldGenerateFile(responsesJsonPath)); for (Map.Entry responseEntry: operation.responses.entrySet()) { // paths.some_path.post.responses.response_200.__init__.py (file per response) // response is a package because responses have Headers which can be refed @@ -681,9 +681,7 @@ private TreeMap generateResponses(List files) { } TreeMap responses = new TreeMap<>(); String responsesJsonPath = "#/components/responses"; - if (generator.generateComponentResponsesFile()) { - generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, null, true); - } + generateXs(files, responsesJsonPath, CodegenConstants.JSON_PATH_LOCATION_TYPE.RESPONSES, CodegenConstants.RESPONSES, null, generator.shouldGenerateFile(responsesJsonPath)); for (Map.Entry responseEntry: specResponses.entrySet()) { String componentName = responseEntry.getKey(); ApiResponse apiResponse = responseEntry.getValue(); diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java b/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java index 29169bd059c..d6bb4c026c0 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/DefaultGenerator.java @@ -3310,7 +3310,7 @@ public boolean generateSeparateServerSchemas() { } @Override - public boolean generateComponentResponsesFile() { + public boolean shouldGenerateFile(String jsonPath) { return true; } diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/Generator.java b/src/main/java/org/openapijsonschematools/codegen/generators/Generator.java index 54cc863e5c8..907e1c9a8ca 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/Generator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/Generator.java @@ -302,6 +302,5 @@ public interface Generator { Function> getSchemasFn(); boolean generateSeparateServerSchemas(); - - boolean generateComponentResponsesFile(); + boolean shouldGenerateFile(String jsonPath); } diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java b/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java index 3e9bcdf88cf..2ba41b5bf67 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java @@ -3040,7 +3040,10 @@ public CodegenSchema fromSchema(Schema p, String sourceJsonPath, String currentJ } @Override - public boolean generateComponentResponsesFile() { - return false; + public boolean shouldGenerateFile(String jsonPath) { + if (jsonPath.equals("#/components/responses")) { + return false; + } + return true; } } From 8e3934b71bc0b5ae04146e85bc6ca3af163aff30 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Mon, 26 Feb 2024 15:05:29 -0800 Subject: [PATCH 11/18] Follows response refs when checking if a response has a body --- .../client/paths/petfindbystatus/get/Responses.java | 4 ++-- .../client/paths/petfindbytags/get/Responses.java | 4 ++-- .../client/paths/petpetiduploadimage/post/Responses.java | 4 ++-- .../client/paths/storeinventory/get/Responses.java | 4 ++-- .../codegen/generators/openapimodels/CodegenResponse.java | 5 +++-- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java index edf2962f40d..073278eb8bf 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/Responses.java @@ -17,8 +17,8 @@ public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, - Void body - ) implements EndpointResponse, ApiResponse{ + Code200Response.SealedResponseBody body + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java index 86636a1d62a..fc452ecd7be 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/Responses.java @@ -17,8 +17,8 @@ public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, - Void body - ) implements EndpointResponse, ApiResponse{ + Code200Response.SealedResponseBody body + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java index e36c500c1c5..3f4b3062f18 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetiduploadimage/post/Responses.java @@ -16,8 +16,8 @@ public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, - Void body - ) implements EndpointResponse, ApiResponse{ + Code200Response.SealedResponseBody body + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java index 3f5863dfa91..7ba860fcb45 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeinventory/get/Responses.java @@ -16,8 +16,8 @@ public sealed interface EndpointResponse permits EndpointCode200Response {} public record EndpointCode200Response( HttpResponse response, - Void body - ) implements EndpointResponse, ApiResponse{ + Code200Response.SealedResponseBody body + ) implements EndpointResponse, ApiResponse{ @Override public Void headers() { return null; diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenResponse.java b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenResponse.java index 2a90cee518c..cd248827c90 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenResponse.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/openapimodels/CodegenResponse.java @@ -63,10 +63,11 @@ public CodegenResponse(CodegenKey jsonPathPiece, Map head * @return true if there is an inline header */ public boolean hasContentSchema() { - if (content == null) { + CodegenResponse inst = getSelfOrDeepestRef(); + if (inst.content == null) { return false; } - for (CodegenMediaType mediaType: content.values()) { + for (CodegenMediaType mediaType: inst.content.values()) { if (mediaType == null) { continue; } From 8d7146f3e1dca8fb5068bd1d4015f1ed0b8b2efc Mon Sep 17 00:00:00 2001 From: Justin Black Date: Mon, 26 Feb 2024 15:16:08 -0800 Subject: [PATCH 12/18] Adds exception throwing when there is a single response --- .../paths/fakeredirection/get/Responses.java | 6 +++++- .../fakewildcardresponses/get/Responses.java | 18 ++++++++++++++--- .../paths/petpetid/delete/Responses.java | 6 +++++- .../client/paths/petpetid/post/Responses.java | 6 +++++- .../components/responses/_returnOrThrow.hbs | 17 ++++++++++++++++ .../responses/_statusCodeDeserialization.hbs | 20 ++----------------- .../_wildcardCodeDeserialization.hbs | 20 ++----------------- 7 files changed, 51 insertions(+), 42 deletions(-) create mode 100644 src/main/resources/java/src/main/java/packagename/components/responses/_returnOrThrow.hbs diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java index ee0475768a4..e34ab33adcc 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/Responses.java @@ -73,7 +73,11 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } WildcardCode3XXResponseDeserializer castDeserializer = (WildcardCode3XXResponseDeserializer) wildcardCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new EndpointCode3XXResponse(response, deserializedResponse.body()); + throw new Code3XXResponse.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java index 74de346e4b3..cef5287b1a6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/Responses.java @@ -109,13 +109,25 @@ public EndpointResponse deserialize(HttpResponse response, SchemaConfigu } if (wildcardCodeDeserializer instanceof WildcardCode1XXResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new EndpointCode1XXResponse(response, deserializedResponse.body()); + throw new Code1XXResponse.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } else if (wildcardCodeDeserializer instanceof WildcardCode2XXResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new EndpointCode2XXResponse(response, deserializedResponse.body()); + throw new Code2XXResponse.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } else if (wildcardCodeDeserializer instanceof WildcardCode3XXResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new EndpointCode3XXResponse(response, deserializedResponse.body()); + throw new Code3XXResponse.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } else if (wildcardCodeDeserializer instanceof WildcardCode4XXResponseDeserializer castDeserializer) { var deserializedResponse = castDeserializer.deserialize(response, configuration); throw new Code4XXResponse.ResponseApiException( diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java index 540b5f8487b..5211c9c2cd3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/Responses.java @@ -36,7 +36,11 @@ public Void deserialize(HttpResponse response, SchemaConfiguration confi } StatusCode400ResponseDeserializer castDeserializer = (StatusCode400ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new EndpointCode400Response(response, deserializedResponse.body()); + throw new Code400Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java index fe2b86d16c0..b0e7a2d9012 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/Responses.java @@ -36,7 +36,11 @@ public Void deserialize(HttpResponse response, SchemaConfiguration confi } StatusCode405ResponseDeserializer castDeserializer = (StatusCode405ResponseDeserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); - return new EndpointCode405Response(response, deserializedResponse.body()); + throw new Code405Response.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse + ); } } } diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/_returnOrThrow.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/_returnOrThrow.hbs new file mode 100644 index 00000000000..7413525e34c --- /dev/null +++ b/src/main/resources/java/src/main/java/packagename/components/responses/_returnOrThrow.hbs @@ -0,0 +1,17 @@ +{{#if nonErrorStatusCodes}} + {{#contains nonErrorStatusCodes @key }} +return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); + {{else}} +throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse +); + {{/contains}} +{{else}} +throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( + "Received error statusCode response from server", + response, + deserializedResponse +); +{{/if}} \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/_statusCodeDeserialization.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/_statusCodeDeserialization.hbs index 5b39be37fe7..70ff8d84eea 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/_statusCodeDeserialization.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/_statusCodeDeserialization.hbs @@ -2,7 +2,7 @@ {{#each statusCodeResponses}} Status{{jsonPathPiece.pascalCase}}Deserializer castDeserializer = (Status{{jsonPathPiece.pascalCase}}Deserializer) statusCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); -return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); +{{> src/main/java/packagename/components/responses/_returnOrThrow }} {{/each}} {{else}} {{#each statusCodeResponses}} @@ -17,23 +17,7 @@ if (statusCodeDeserializer instanceof Status{{jsonPathPiece.pascalCase}}Deserial {{/if}} {{/if}} var deserializedResponse = castDeserializer.deserialize(response, configuration); - {{#if nonErrorStatusCodes}} - {{#contains nonErrorStatusCodes @key }} - return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); - {{else}} - throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( - "Received error statusCode response from server", - response, - deserializedResponse - ); - {{/contains}} - {{else}} - throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( - "Received error statusCode response from server", - response, - deserializedResponse - ); - {{/if}} + {{> src/main/java/packagename/components/responses/_returnOrThrow }} {{/each}} } {{/eq}} \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/_wildcardCodeDeserialization.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/_wildcardCodeDeserialization.hbs index 81fa3644b36..040f0e31e62 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/_wildcardCodeDeserialization.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/_wildcardCodeDeserialization.hbs @@ -2,7 +2,7 @@ {{#each wildcardCodeResponses}} Wildcard{{jsonPathPiece.pascalCase}}Deserializer castDeserializer = (Wildcard{{jsonPathPiece.pascalCase}}Deserializer) wildcardCodeDeserializer; var deserializedResponse = castDeserializer.deserialize(response, configuration); -return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); +{{> src/main/java/packagename/components/responses/_returnOrThrow }} {{/each}} {{else}} {{#each wildcardCodeResponses}} @@ -17,23 +17,7 @@ if (wildcardCodeDeserializer instanceof Wildcard{{jsonPathPiece.pascalCase}}Dese {{/if}} {{/if}} var deserializedResponse = castDeserializer.deserialize(response, configuration); - {{#if nonErrorWildcardStatusCodes}} - {{#contains nonErrorWildcardStatusCodes @key }} - return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); - {{else}} - throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( - "Received error statusCode response from server", - response, - deserializedResponse - ); - {{/contains}} - {{else}} - throw new {{jsonPathPiece.pascalCase}}.ResponseApiException( - "Received error statusCode response from server", - response, - deserializedResponse - ); - {{/if}} + {{> src/main/java/packagename/components/responses/_returnOrThrow }} {{/each}} } {{/eq}} \ No newline at end of file From 162a1f615f0f2f88f365af173c5905738544d39a Mon Sep 17 00:00:00 2001 From: Justin Black Date: Tue, 27 Feb 2024 01:12:19 -0800 Subject: [PATCH 13/18] Generates defaultResponse in responses class --- .../client/paths/fakedeletecoffeeid/delete/Responses.java | 2 ++ .../client/paths/foo/get/Responses.java | 2 ++ .../client/paths/user/post/Responses.java | 2 ++ .../client/paths/usercreatewitharray/post/Responses.java | 2 ++ .../client/paths/usercreatewithlist/post/Responses.java | 2 ++ .../client/paths/userlogout/get/Responses.java | 2 ++ .../java/packagename/components/responses/Responses.hbs | 6 ++++++ 7 files changed, 18 insertions(+) diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java index c85e7df36fb..0a04511a132 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java @@ -42,10 +42,12 @@ public static final class StatusCode200ResponseDeserializer extends Code200Respo public static final class Responses1 implements ResponsesDeserializer { private final Map statusCodeToResponseDeserializer; + private final CodedefaultResponse.CodedefaultResponse1 defaultResponseDeserializer; public Responses1() { this.statusCodeToResponseDeserializer = Map.ofEntries( new AbstractMap.SimpleEntry<>("200", new StatusCode200ResponseDeserializer()) ); + this.defaultResponseDeserializer = new CodedefaultResponse.CodedefaultResponse1(); } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java index e6492d20c97..15ae7b0a8dd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java @@ -25,7 +25,9 @@ public Void headers() { } public static final class Responses1 implements ResponsesDeserializer { + private final CodedefaultResponse.CodedefaultResponse1 defaultResponseDeserializer; public Responses1() { + this.defaultResponseDeserializer = new CodedefaultResponse.CodedefaultResponse1(); } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java index 68c308cc8ca..f80cc60674b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java @@ -25,7 +25,9 @@ public Void headers() { } public static final class Responses1 implements ResponsesDeserializer { + private final CodedefaultResponse.CodedefaultResponse1 defaultResponseDeserializer; public Responses1() { + this.defaultResponseDeserializer = new CodedefaultResponse.CodedefaultResponse1(); } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java index 1584b5899d7..53a1d78310d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java @@ -25,7 +25,9 @@ public Void headers() { } public static final class Responses1 implements ResponsesDeserializer { + private final CodedefaultResponse.CodedefaultResponse1 defaultResponseDeserializer; public Responses1() { + this.defaultResponseDeserializer = new CodedefaultResponse.CodedefaultResponse1(); } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java index 6cc1481a419..b87cedd63de 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java @@ -25,7 +25,9 @@ public Void headers() { } public static final class Responses1 implements ResponsesDeserializer { + private final CodedefaultResponse.CodedefaultResponse1 defaultResponseDeserializer; public Responses1() { + this.defaultResponseDeserializer = new CodedefaultResponse.CodedefaultResponse1(); } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java index f1d91ee63cf..f70113a554f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java @@ -25,7 +25,9 @@ public Void headers() { } public static final class Responses1 implements ResponsesDeserializer { + private final CodedefaultResponse.CodedefaultResponse1 defaultResponseDeserializer; public Responses1() { + this.defaultResponseDeserializer = new CodedefaultResponse.CodedefaultResponse1(); } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs index 7e8f08521fd..802f87deeb1 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs @@ -56,6 +56,9 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{#if wildcardCodeResponses}} private final Map wildcardCodeToResponseDeserializer; {{/if}} + {{#with defaultResponse}} + private final {{jsonPathPiece.pascalCase}}.{{jsonPathPiece.pascalCase}}1 defaultResponseDeserializer; + {{/with}} public {{responses.jsonPathPiece.pascalCase}}1() { {{#if statusCodeResponses }} this.statusCodeToResponseDeserializer = Map.ofEntries( @@ -71,6 +74,9 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{/each}} ); {{/if}} + {{#with defaultResponse}} + this.defaultResponseDeserializer = new {{jsonPathPiece.pascalCase}}.{{jsonPathPiece.pascalCase}}1(); + {{/with}} } public {{#if nonErrorResponses }}EndpointResponse{{else}}Void{{/if}} deserialize(HttpResponse response, SchemaConfiguration configuration) { From 889e98b5dcff302b2220fc72ba6b42efa0eaa20c Mon Sep 17 00:00:00 2001 From: Justin Black Date: Tue, 27 Feb 2024 01:26:45 -0800 Subject: [PATCH 14/18] Deserializes default only response --- .../client/paths/foo/get/Responses.java | 2 ++ .../client/paths/user/post/Responses.java | 2 ++ .../paths/usercreatewitharray/post/Responses.java | 2 ++ .../paths/usercreatewithlist/post/Responses.java | 2 ++ .../client/paths/userlogout/get/Responses.java | 2 ++ .../components/responses/Responses.hbs | 15 ++++++++++++++- 6 files changed, 24 insertions(+), 1 deletion(-) diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java index 15ae7b0a8dd..2ecd4d57234 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java @@ -32,6 +32,8 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); + var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); + return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java index f80cc60674b..56c9f1b28ad 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java @@ -32,6 +32,8 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); + var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); + return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java index 53a1d78310d..110fdf4deaf 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java @@ -32,6 +32,8 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); + var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); + return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java index b87cedd63de..8684562de59 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java @@ -32,6 +32,8 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); + var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); + return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java index f70113a554f..c0d90471032 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java @@ -32,6 +32,8 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); + var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); + return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } } } diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs index 802f87deeb1..b906a6401b1 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs @@ -80,8 +80,8 @@ public class {{responses.jsonPathPiece.pascalCase}} { } public {{#if nonErrorResponses }}EndpointResponse{{else}}Void{{/if}} deserialize(HttpResponse response, SchemaConfiguration configuration) { - String statusCode = String.valueOf(response.statusCode()); {{#eq defaultResponse null }} + String statusCode = String.valueOf(response.statusCode()); {{#and statusCodeResponses wildcardCodeResponses }} @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); if (statusCodeDeserializer != null) { @@ -118,6 +118,19 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{/if}} {{/or}} {{/and}} +{{else}} + {{#and statusCodeResponses wildcardCodeResponses }} + String statusCode = String.valueOf(response.statusCode()); + {{else}} + {{#or statusCodeResponses wildcardCodeResponses }} + String statusCode = String.valueOf(response.statusCode()); + {{else}} + var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); + {{#with defaultResponse}} + return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); + {{/with}} + {{/or}} + {{/and}} {{/eq}} } } From 9a9b08a81d2a7330f7c8f31059d902ae6f86746b Mon Sep 17 00:00:00 2001 From: Justin Black Date: Tue, 27 Feb 2024 12:17:54 -0800 Subject: [PATCH 15/18] Adds handling of responses default + status and default + wildcard --- .../fakedeletecoffeeid/delete/Responses.java | 8 ++++++++ .../client/paths/foo/get/Responses.java | 1 - .../client/paths/user/post/Responses.java | 1 - .../paths/usercreatewitharray/post/Responses.java | 1 - .../paths/usercreatewithlist/post/Responses.java | 1 - .../client/paths/userlogout/get/Responses.java | 1 - .../components/responses/Responses.hbs | 15 +++++++++++++++ 7 files changed, 23 insertions(+), 5 deletions(-) diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java index 0a04511a132..721290acb00 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/Responses.java @@ -52,6 +52,14 @@ public Responses1() { public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { String statusCode = String.valueOf(response.statusCode()); + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer != null) { + StatusCode200ResponseDeserializer castDeserializer = (StatusCode200ResponseDeserializer) statusCodeDeserializer; + var deserializedResponse = castDeserializer.deserialize(response, configuration); + return new EndpointCode200Response(response, deserializedResponse.body()); + } + var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); + return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java index 2ecd4d57234..dc5f2cf7e5d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/Responses.java @@ -31,7 +31,6 @@ public Responses1() { } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { - String statusCode = String.valueOf(response.statusCode()); var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java index 56c9f1b28ad..6281a613f2d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/Responses.java @@ -31,7 +31,6 @@ public Responses1() { } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { - String statusCode = String.valueOf(response.statusCode()); var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java index 110fdf4deaf..4915ddf78eb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/Responses.java @@ -31,7 +31,6 @@ public Responses1() { } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { - String statusCode = String.valueOf(response.statusCode()); var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java index 8684562de59..b4ec50143c4 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/Responses.java @@ -31,7 +31,6 @@ public Responses1() { } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { - String statusCode = String.valueOf(response.statusCode()); var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java index c0d90471032..6ae2af2cb77 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogout/get/Responses.java @@ -31,7 +31,6 @@ public Responses1() { } public EndpointResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { - String statusCode = String.valueOf(response.statusCode()); var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); return new EndpointCodedefaultResponse(response, deserializedResponse.body()); } diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs index b906a6401b1..451981e9a22 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Responses.hbs @@ -124,6 +124,21 @@ public class {{responses.jsonPathPiece.pascalCase}} { {{else}} {{#or statusCodeResponses wildcardCodeResponses }} String statusCode = String.valueOf(response.statusCode()); + {{#if statusCodeResponses}} + @Nullable StatusCodeResponseDeserializer statusCodeDeserializer = statusCodeToResponseDeserializer.get(statusCode); + if (statusCodeDeserializer != null) { + {{> src/main/java/packagename/components/responses/_statusCodeDeserialization }} + } + {{else}} + @Nullable WildcardCodeResponseDeserializer wildcardCodeDeserializer = wildcardCodeToResponseDeserializer.get(statusCode); + if (wildcardCodeDeserializer != null) { + {{> src/main/java/packagename/components/responses/_wildcardCodeDeserialization }} + } + {{/if}} + var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); + {{#with defaultResponse}} + return new Endpoint{{jsonPathPiece.pascalCase}}(response, deserializedResponse.body()); + {{/with}} {{else}} var deserializedResponse = defaultResponseDeserializer.deserialize(response, configuration); {{#with defaultResponse}} From 376d564da966d5c9cc16c50a83e8ee029a8976d0 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Tue, 27 Feb 2024 13:25:50 -0800 Subject: [PATCH 16/18] Samples regenerated --- .../java/.openapi-generator/FILES | 4 +- .../client/exceptions/ApiException.java | 13 + .../client/exceptions/BaseException.java | 3 + .../InvalidAdditionalPropertyException.java | 2 +- .../exceptions/InvalidTypeException.java | 2 +- .../exceptions/UnsetPropertyException.java | 2 +- .../exceptions/ValidationException.java | 2 +- .../response/DeserializedHttpResponse.java | 6 + .../client/response/ResponseDeserializer.java | 4 +- .../response/ResponsesDeserializer.java | 8 + .../response/ResponseDeserializerTest.java | 18 +- .../python/.openapi-generator/FILES | 348 +++++------ .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../java/.openapi-generator/FILES | 4 +- .../client/exceptions/ApiException.java | 13 + .../client/exceptions/BaseException.java | 3 + .../InvalidAdditionalPropertyException.java | 2 +- .../exceptions/InvalidTypeException.java | 2 +- .../exceptions/UnsetPropertyException.java | 2 +- .../exceptions/ValidationException.java | 2 +- .../response/DeserializedHttpResponse.java | 6 + .../client/response/ResponseDeserializer.java | 4 +- .../response/ResponsesDeserializer.java | 8 + .../response/ResponseDeserializerTest.java | 18 +- .../python/.openapi-generator/FILES | 572 +++++++++--------- .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../python/.openapi-generator/FILES | 2 +- .../post/response_responses/__init__.py | 0 .../security/python/.openapi-generator/FILES | 8 +- .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../petstore/java/.openapi-generator/FILES | 2 +- .../responses/HeadersWithNoBody.java | 8 +- .../responses/SuccessDescriptionOnly.java | 8 +- .../SuccessInlineContentAndHeader.java | 8 +- .../responses/SuccessWithJsonApiResponse.java | 8 +- .../SuccessfulXmlAndJsonArrayOfPet.java | 8 +- .../patch/responses/Code200Response.java | 8 +- .../fake/get/responses/Code404Response.java | 8 +- .../fake/patch/responses/Code200Response.java | 8 +- .../fake/post/responses/Code404Response.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../patch/responses/Code200Response.java | 8 +- .../delete/responses/CodedefaultResponse.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../get/responses/Code202Response.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../get/responses/Code303Response.java | 8 +- .../get/responses/Code3XXResponse.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../get/responses/Code1XXResponse.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../get/responses/Code2XXResponse.java | 8 +- .../get/responses/Code3XXResponse.java | 8 +- .../get/responses/Code4XXResponse.java | 8 +- .../get/responses/Code5XXResponse.java | 8 +- .../get/responses/CodedefaultResponse.java | 8 +- .../pet/post/responses/Code405Response.java | 8 +- .../pet/put/responses/Code400Response.java | 8 +- .../pet/put/responses/Code404Response.java | 8 +- .../pet/put/responses/Code405Response.java | 8 +- .../get/responses/Code400Response.java | 8 +- .../get/responses/Code400Response.java | 8 +- .../delete/responses/Code400Response.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../get/responses/Code400Response.java | 8 +- .../get/responses/Code404Response.java | 8 +- .../post/responses/Code405Response.java | 8 +- .../post/responses/Code200Response.java | 8 +- .../post/responses/Code400Response.java | 8 +- .../delete/responses/Code400Response.java | 8 +- .../delete/responses/Code404Response.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../get/responses/Code400Response.java | 8 +- .../get/responses/Code404Response.java | 8 +- .../post/responses/CodedefaultResponse.java | 8 +- .../post/responses/CodedefaultResponse.java | 8 +- .../post/responses/CodedefaultResponse.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../get/responses/Code400Response.java | 8 +- .../delete/responses/Code404Response.java | 8 +- .../get/responses/Code200Response.java | 8 +- .../get/responses/Code400Response.java | 8 +- .../get/responses/Code404Response.java | 8 +- .../put/responses/Code400Response.java | 8 +- .../put/responses/Code404Response.java | 8 +- .../response/DeserializedHttpResponse.java | 6 + .../client/response/ResponseDeserializer.java | 4 +- .../response/ResponseDeserializerTest.java | 18 +- .../petstore/python/.openapi-generator/FILES | 134 ++-- .../patch/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../fake/get/response_responses/__init__.py | 0 .../fake/patch/response_responses/__init__.py | 0 .../fake/post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../put/response_responses/__init__.py | 0 .../put/response_responses/__init__.py | 0 .../put/response_responses/__init__.py | 0 .../patch/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../patch/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../put/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../fake_wild_card_responses/get/operation.py | 3 +- .../get/response_responses/__init__.py | 0 .../foo/get/response_responses/__init__.py | 0 .../pet/post/response_responses/__init__.py | 0 .../pet/put/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../user/post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../put/response_responses/__init__.py | 0 .../generators/JavaClientGenerator.java | 4 +- .../components/responses/Response.hbs | 14 +- .../response/DeserializedApiResponse.hbs | 8 - .../response/DeserializedHttpResponse.hbs | 6 + .../response/ResponseDeserializer.hbs | 4 +- .../response/ResponseDeserializerTest.hbs | 18 +- 644 files changed, 958 insertions(+), 913 deletions(-) create mode 100644 samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java create mode 100644 samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java create mode 100644 samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java create mode 100644 samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java create mode 100644 samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_duration_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_contains_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regex_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_time_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/response_responses/__init__.py create mode 100644 samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/response_responses/__init__.py create mode 100644 samples/client/openapi_features/security/python/src/this_package/paths/path_with_no_explicit_security/get/response_responses/__init__.py create mode 100644 samples/client/openapi_features/security/python/src/this_package/paths/path_with_one_explicit_security/get/response_responses/__init__.py create mode 100644 samples/client/openapi_features/security/python/src/this_package/paths/path_with_security_from_root/get/response_responses/__init__.py create mode 100644 samples/client/openapi_features/security/python/src/this_package/paths/path_with_two_explicit_security/get/response_responses/__init__.py create mode 100644 samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java create mode 100644 samples/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/delete/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake/delete/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake/patch/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_health/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_multiple_request_body_content_types/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_pem_content_type/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_redirection/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_wild_card_responses/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/foo/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet/put/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/solidus/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/store_inventory/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/store_order/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/user/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_login/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_logout/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_username/delete/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_username/get/response_responses/__init__.py create mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_username/put/response_responses/__init__.py delete mode 100644 src/main/resources/java/src/main/java/packagename/response/DeserializedApiResponse.hbs create mode 100644 src/main/resources/java/src/main/java/packagename/response/DeserializedHttpResponse.hbs diff --git a/samples/client/3_0_3_unit_test/java/.openapi-generator/FILES b/samples/client/3_0_3_unit_test/java/.openapi-generator/FILES index a10ac39dd60..ee787913b5c 100644 --- a/samples/client/3_0_3_unit_test/java/.openapi-generator/FILES +++ b/samples/client/3_0_3_unit_test/java/.openapi-generator/FILES @@ -179,6 +179,7 @@ src/main/java/org/openapijsonschematools/client/components/schemas/UriTemplateFo src/main/java/org/openapijsonschematools/client/configurations/ApiConfiguration.java src/main/java/org/openapijsonschematools/client/configurations/JsonSchemaKeywordFlags.java src/main/java/org/openapijsonschematools/client/configurations/SchemaConfiguration.java +src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java @@ -191,8 +192,9 @@ src/main/java/org/openapijsonschematools/client/requestbody/GenericRequestBody.j src/main/java/org/openapijsonschematools/client/requestbody/RequestBodySerializer.java src/main/java/org/openapijsonschematools/client/requestbody/SerializedRequestBody.java src/main/java/org/openapijsonschematools/client/response/ApiResponse.java -src/main/java/org/openapijsonschematools/client/response/DeserializedApiResponse.java +src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java +src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java src/main/java/org/openapijsonschematools/client/schemas/AnyTypeJsonSchema.java src/main/java/org/openapijsonschematools/client/schemas/BooleanJsonSchema.java src/main/java/org/openapijsonschematools/client/schemas/DateJsonSchema.java diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java new file mode 100644 index 00000000000..d308d4b90a1 --- /dev/null +++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java @@ -0,0 +1,13 @@ +package org.openapijsonschematools.client.exceptions; + +import java.net.http.HttpResponse; + +@SuppressWarnings("serial") +public class ApiException extends BaseException { + public HttpResponse response; + + public ApiException(String s, HttpResponse response) { + super(s); + this.response = response; + } +} \ No newline at end of file diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java index 3d7b352080c..3bea6999da1 100644 --- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java +++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java @@ -2,4 +2,7 @@ @SuppressWarnings("serial") public class BaseException extends RuntimeException { + public BaseException(String s) { + super(s); + } } \ No newline at end of file diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java index 7f0805b1be8..424762f3cc9 100644 --- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java +++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class InvalidAdditionalPropertyException extends BaseException { public InvalidAdditionalPropertyException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java index 73fafa999af..02131fff34d 100644 --- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java +++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class InvalidTypeException extends BaseException { public InvalidTypeException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java index cb743b6a97c..f709a440cb3 100644 --- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java +++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class UnsetPropertyException extends BaseException { public UnsetPropertyException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java index 8c217a9f9dc..bd2e7089700 100644 --- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java +++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class ValidationException extends BaseException { public ValidationException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java new file mode 100644 index 00000000000..d9c62c28c70 --- /dev/null +++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java @@ -0,0 +1,6 @@ +package org.openapijsonschematools.client.response; + +import java.net.http.HttpResponse; + +public record DeserializedHttpResponse(SealedBodyOutputClass body, HeaderOutputClass headers) { +} \ No newline at end of file diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java index 766af80f088..5bc67aaf446 100644 --- a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java +++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java @@ -63,7 +63,7 @@ protected T deserializeBody(String contentType, byte[] body, JsonSchema s throw new RuntimeException("Deserialization for contentType="+contentType+" has not yet been implemented."); } - public ApiResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public DeserializedHttpResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { Optional contentTypeInfo = response.headers().firstValue("Content-Type"); if (contentTypeInfo.isEmpty()) { throw new RuntimeException("Invalid response returned, Content-Type header is missing and it must be included"); @@ -78,6 +78,6 @@ public ApiResponse deserialize(HttpResponse(response, body, headers); + return new DeserializedHttpResponse<>(body, headers); } } \ No newline at end of file diff --git a/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java new file mode 100644 index 00000000000..20b56db17da --- /dev/null +++ b/samples/client/3_0_3_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java @@ -0,0 +1,8 @@ +package org.openapijsonschematools.client.response; + +import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import java.net.http.HttpResponse; + +public interface ResponsesDeserializer { + SealedResponseClass deserialize(HttpResponse response, SchemaConfiguration configuration); +} \ No newline at end of file diff --git a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java index 50795dc89a9..76dc7f0165f 100644 --- a/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java +++ b/samples/client/3_0_3_unit_test/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java @@ -157,8 +157,7 @@ public void testDeserializeApplicationJsonNull() { byte[] bodyBytes = toJson(null).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -174,8 +173,7 @@ public void testDeserializeApplicationJsonTrue() { byte[] bodyBytes = toJson(true).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -191,8 +189,7 @@ public void testDeserializeApplicationJsonFalse() { byte[] bodyBytes = toJson(false).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -208,8 +205,7 @@ public void testDeserializeApplicationJsonInt() { byte[] bodyBytes = toJson(1).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -225,8 +221,7 @@ public void testDeserializeApplicationJsonFloat() { byte[] bodyBytes = toJson(3.14).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -242,8 +237,7 @@ public void testDeserializeApplicationJsonString() { byte[] bodyBytes = toJson("a").getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } diff --git a/samples/client/3_0_3_unit_test/python/.openapi-generator/FILES b/samples/client/3_0_3_unit_test/python/.openapi-generator/FILES index 54c2a4d140f..27c958f9e5e 100644 --- a/samples/client/3_0_3_unit_test/python/.openapi-generator/FILES +++ b/samples/client/3_0_3_unit_test/python/.openapi-generator/FILES @@ -783,7 +783,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_w src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py @@ -792,7 +792,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_de src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py @@ -801,7 +801,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itse src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.py @@ -810,7 +810,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_i src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py @@ -819,7 +819,7 @@ src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_reques src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py @@ -828,7 +828,7 @@ src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py @@ -837,7 +837,7 @@ src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/r src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py @@ -846,7 +846,7 @@ src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py @@ -855,7 +855,7 @@ src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_bo src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py @@ -864,7 +864,7 @@ src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_requ src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py @@ -873,7 +873,7 @@ src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_reque src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py @@ -882,7 +882,7 @@ src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_b src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py @@ -891,7 +891,7 @@ src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/ src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py @@ -900,7 +900,7 @@ src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py @@ -909,7 +909,7 @@ src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py @@ -918,7 +918,7 @@ src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_bo src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py @@ -927,7 +927,7 @@ src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py @@ -936,7 +936,7 @@ src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_ src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py @@ -945,7 +945,7 @@ src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/ src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_int_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py @@ -954,7 +954,7 @@ src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_bo src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_number_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py @@ -963,7 +963,7 @@ src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/requ src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py @@ -972,7 +972,7 @@ src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/req src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py @@ -981,7 +981,7 @@ src/unit_test_api/paths/request_body_post_email_format_request_body/post/request src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_email_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py @@ -990,7 +990,7 @@ src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_reques src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py @@ -999,7 +999,7 @@ src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py @@ -1008,7 +1008,7 @@ src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_b src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py @@ -1017,7 +1017,7 @@ src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_reques src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py @@ -1026,7 +1026,7 @@ src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py @@ -1035,7 +1035,7 @@ src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/ src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py @@ -1044,7 +1044,7 @@ src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/r src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py @@ -1053,7 +1053,7 @@ src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/requ src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py @@ -1062,7 +1062,7 @@ src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_ src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/__init__.py src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.py @@ -1071,7 +1071,7 @@ src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_erro src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/__init__.py src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.py @@ -1080,7 +1080,7 @@ src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_reque src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py @@ -1089,7 +1089,7 @@ src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py @@ -1098,7 +1098,7 @@ src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py @@ -1107,7 +1107,7 @@ src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/ src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py @@ -1116,7 +1116,7 @@ src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/r src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py @@ -1125,7 +1125,7 @@ src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integ src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py @@ -1134,7 +1134,7 @@ src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/ src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py @@ -1143,7 +1143,7 @@ src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py @@ -1152,7 +1152,7 @@ src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_emp src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py @@ -1161,7 +1161,7 @@ src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/ src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py @@ -1170,7 +1170,7 @@ src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/r src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py @@ -1179,7 +1179,7 @@ src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py @@ -1188,7 +1188,7 @@ src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/ src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py @@ -1197,7 +1197,7 @@ src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py @@ -1206,7 +1206,7 @@ src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/ src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py @@ -1215,7 +1215,7 @@ src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py @@ -1224,7 +1224,7 @@ src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py @@ -1233,7 +1233,7 @@ src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_items_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py @@ -1242,7 +1242,7 @@ src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py @@ -1251,7 +1251,7 @@ src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/p src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py @@ -1260,7 +1260,7 @@ src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/__i src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_not_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py @@ -1269,7 +1269,7 @@ src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py @@ -1278,7 +1278,7 @@ src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py @@ -1287,7 +1287,7 @@ src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_bo src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py @@ -1296,7 +1296,7 @@ src/unit_test_api/paths/request_body_post_object_properties_validation_request_b src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py @@ -1305,7 +1305,7 @@ src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_bo src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py @@ -1314,7 +1314,7 @@ src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/ src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py @@ -1323,7 +1323,7 @@ src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py @@ -1332,7 +1332,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py @@ -1341,7 +1341,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/p src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py @@ -1350,7 +1350,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/ src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py @@ -1359,7 +1359,7 @@ src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/p src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py @@ -1368,7 +1368,7 @@ src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/r src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py @@ -1377,7 +1377,7 @@ src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_req src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py @@ -1386,7 +1386,7 @@ src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_refer src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.py @@ -1395,7 +1395,7 @@ src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_bo src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.py @@ -1404,7 +1404,7 @@ src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.py @@ -1413,7 +1413,7 @@ src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.py @@ -1422,7 +1422,7 @@ src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_not_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.py @@ -1431,7 +1431,7 @@ src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_b src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.py @@ -1440,7 +1440,7 @@ src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_property_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.py @@ -1449,7 +1449,7 @@ src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/requ src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py @@ -1458,7 +1458,7 @@ src/unit_test_api/paths/request_body_post_required_default_validation_request_bo src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py @@ -1467,7 +1467,7 @@ src/unit_test_api/paths/request_body_post_required_validation_request_body/post/ src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py @@ -1476,7 +1476,7 @@ src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py @@ -1485,7 +1485,7 @@ src/unit_test_api/paths/request_body_post_required_with_escaped_characters_reque src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py @@ -1494,7 +1494,7 @@ src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/po src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py @@ -1503,7 +1503,7 @@ src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_bo src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/__init__.py src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.py @@ -1512,7 +1512,7 @@ src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anythi src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py @@ -1521,7 +1521,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_b src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py @@ -1530,7 +1530,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/po src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py @@ -1539,7 +1539,7 @@ src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_b src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py @@ -1548,7 +1548,7 @@ src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py @@ -1557,12 +1557,12 @@ src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/ src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1570,7 +1570,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_ src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1578,7 +1578,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_d src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1586,7 +1586,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_its src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1594,7 +1594,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_ src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1602,7 +1602,7 @@ src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_respo src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1610,7 +1610,7 @@ src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1618,7 +1618,7 @@ src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_ src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1626,7 +1626,7 @@ src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1634,7 +1634,7 @@ src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_ src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1642,7 +1642,7 @@ src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_res src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1650,7 +1650,7 @@ src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_resp src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1658,7 +1658,7 @@ src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1666,7 +1666,7 @@ src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1674,7 +1674,7 @@ src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1682,7 +1682,7 @@ src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1690,7 +1690,7 @@ src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_ src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1698,7 +1698,7 @@ src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_bo src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1706,7 +1706,7 @@ src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_respons src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1714,7 +1714,7 @@ src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_type src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1722,7 +1722,7 @@ src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_t src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1730,7 +1730,7 @@ src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_con src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1738,7 +1738,7 @@ src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_co src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1746,7 +1746,7 @@ src/unit_test_api/paths/response_body_post_email_format_response_body_for_conten src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1754,7 +1754,7 @@ src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_respo src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1762,7 +1762,7 @@ src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_respon src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1770,7 +1770,7 @@ src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1778,7 +1778,7 @@ src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_respo src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1786,7 +1786,7 @@ src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_respon src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1794,7 +1794,7 @@ src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1802,7 +1802,7 @@ src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_ src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1810,7 +1810,7 @@ src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_con src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1818,7 +1818,7 @@ src/unit_test_api/paths/response_body_post_integer_type_matches_integers_respons src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1826,7 +1826,7 @@ src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_err src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1834,7 +1834,7 @@ src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_resp src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1842,7 +1842,7 @@ src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1850,7 +1850,7 @@ src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1858,7 +1858,7 @@ src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1866,7 +1866,7 @@ src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_ src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1874,7 +1874,7 @@ src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_inte src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1882,7 +1882,7 @@ src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1890,7 +1890,7 @@ src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_fo src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1898,7 +1898,7 @@ src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_em src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1906,7 +1906,7 @@ src/unit_test_api/paths/response_body_post_maxproperties_validation_response_bod src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1914,7 +1914,7 @@ src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_ src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1922,7 +1922,7 @@ src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_intege src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1930,7 +1930,7 @@ src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1938,7 +1938,7 @@ src/unit_test_api/paths/response_body_post_minlength_validation_response_body_fo src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1946,7 +1946,7 @@ src/unit_test_api/paths/response_body_post_minproperties_validation_response_bod src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1954,7 +1954,7 @@ src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_sema src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1962,7 +1962,7 @@ src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_sema src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1970,7 +1970,7 @@ src/unit_test_api/paths/response_body_post_nested_items_response_body_for_conten src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1978,7 +1978,7 @@ src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_sema src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1986,7 +1986,7 @@ src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1994,7 +1994,7 @@ src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/p src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2002,7 +2002,7 @@ src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_bo src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2010,7 +2010,7 @@ src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_objec src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2018,7 +2018,7 @@ src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_ src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2026,7 +2026,7 @@ src/unit_test_api/paths/response_body_post_object_properties_validation_response src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2034,7 +2034,7 @@ src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_ src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2042,7 +2042,7 @@ src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2050,7 +2050,7 @@ src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2058,7 +2058,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2066,7 +2066,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2074,7 +2074,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2082,7 +2082,7 @@ src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2090,7 +2090,7 @@ src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_ src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2098,7 +2098,7 @@ src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_re src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2106,7 +2106,7 @@ src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_refe src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2114,7 +2114,7 @@ src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_ src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2122,7 +2122,7 @@ src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_conten src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2130,7 +2130,7 @@ src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_conten src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2138,7 +2138,7 @@ src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_conten src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2146,7 +2146,7 @@ src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_ src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2154,7 +2154,7 @@ src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_conten src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2162,7 +2162,7 @@ src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_con src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2170,7 +2170,7 @@ src/unit_test_api/paths/response_body_post_required_default_validation_response_ src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2178,7 +2178,7 @@ src/unit_test_api/paths/response_body_post_required_validation_response_body_for src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2186,7 +2186,7 @@ src/unit_test_api/paths/response_body_post_required_with_empty_array_response_bo src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2194,7 +2194,7 @@ src/unit_test_api/paths/response_body_post_required_with_escaped_characters_resp src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2202,7 +2202,7 @@ src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_ src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2210,7 +2210,7 @@ src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_ src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2218,7 +2218,7 @@ src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anyth src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2226,7 +2226,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2234,7 +2234,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_ src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2242,7 +2242,7 @@ src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_ src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2250,7 +2250,7 @@ src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_fo src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/java/.openapi-generator/FILES b/samples/client/3_1_0_unit_test/java/.openapi-generator/FILES index 3de3fb07006..c4948dce9a5 100644 --- a/samples/client/3_1_0_unit_test/java/.openapi-generator/FILES +++ b/samples/client/3_1_0_unit_test/java/.openapi-generator/FILES @@ -291,6 +291,7 @@ src/main/java/org/openapijsonschematools/client/components/schemas/ValidateAgain src/main/java/org/openapijsonschematools/client/configurations/ApiConfiguration.java src/main/java/org/openapijsonschematools/client/configurations/JsonSchemaKeywordFlags.java src/main/java/org/openapijsonschematools/client/configurations/SchemaConfiguration.java +src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java @@ -303,8 +304,9 @@ src/main/java/org/openapijsonschematools/client/requestbody/GenericRequestBody.j src/main/java/org/openapijsonschematools/client/requestbody/RequestBodySerializer.java src/main/java/org/openapijsonschematools/client/requestbody/SerializedRequestBody.java src/main/java/org/openapijsonschematools/client/response/ApiResponse.java -src/main/java/org/openapijsonschematools/client/response/DeserializedApiResponse.java +src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java +src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java src/main/java/org/openapijsonschematools/client/schemas/AnyTypeJsonSchema.java src/main/java/org/openapijsonschematools/client/schemas/BooleanJsonSchema.java src/main/java/org/openapijsonschematools/client/schemas/DateJsonSchema.java diff --git a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java new file mode 100644 index 00000000000..d308d4b90a1 --- /dev/null +++ b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ApiException.java @@ -0,0 +1,13 @@ +package org.openapijsonschematools.client.exceptions; + +import java.net.http.HttpResponse; + +@SuppressWarnings("serial") +public class ApiException extends BaseException { + public HttpResponse response; + + public ApiException(String s, HttpResponse response) { + super(s); + this.response = response; + } +} \ No newline at end of file diff --git a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java index 3d7b352080c..3bea6999da1 100644 --- a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java +++ b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/BaseException.java @@ -2,4 +2,7 @@ @SuppressWarnings("serial") public class BaseException extends RuntimeException { + public BaseException(String s) { + super(s); + } } \ No newline at end of file diff --git a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java index 7f0805b1be8..424762f3cc9 100644 --- a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java +++ b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidAdditionalPropertyException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class InvalidAdditionalPropertyException extends BaseException { public InvalidAdditionalPropertyException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java index 73fafa999af..02131fff34d 100644 --- a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java +++ b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/InvalidTypeException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class InvalidTypeException extends BaseException { public InvalidTypeException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java index cb743b6a97c..f709a440cb3 100644 --- a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java +++ b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/UnsetPropertyException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class UnsetPropertyException extends BaseException { public UnsetPropertyException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java index 8c217a9f9dc..bd2e7089700 100644 --- a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java +++ b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/exceptions/ValidationException.java @@ -3,6 +3,6 @@ @SuppressWarnings("serial") public class ValidationException extends BaseException { public ValidationException(String s) { - super(); + super(s); } } \ No newline at end of file diff --git a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java new file mode 100644 index 00000000000..d9c62c28c70 --- /dev/null +++ b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java @@ -0,0 +1,6 @@ +package org.openapijsonschematools.client.response; + +import java.net.http.HttpResponse; + +public record DeserializedHttpResponse(SealedBodyOutputClass body, HeaderOutputClass headers) { +} \ No newline at end of file diff --git a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java index 766af80f088..5bc67aaf446 100644 --- a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java +++ b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java @@ -63,7 +63,7 @@ protected T deserializeBody(String contentType, byte[] body, JsonSchema s throw new RuntimeException("Deserialization for contentType="+contentType+" has not yet been implemented."); } - public ApiResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public DeserializedHttpResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { Optional contentTypeInfo = response.headers().firstValue("Content-Type"); if (contentTypeInfo.isEmpty()) { throw new RuntimeException("Invalid response returned, Content-Type header is missing and it must be included"); @@ -78,6 +78,6 @@ public ApiResponse deserialize(HttpResponse(response, body, headers); + return new DeserializedHttpResponse<>(body, headers); } } \ No newline at end of file diff --git a/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java new file mode 100644 index 00000000000..20b56db17da --- /dev/null +++ b/samples/client/3_1_0_unit_test/java/src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java @@ -0,0 +1,8 @@ +package org.openapijsonschematools.client.response; + +import org.openapijsonschematools.client.configurations.SchemaConfiguration; +import java.net.http.HttpResponse; + +public interface ResponsesDeserializer { + SealedResponseClass deserialize(HttpResponse response, SchemaConfiguration configuration); +} \ No newline at end of file diff --git a/samples/client/3_1_0_unit_test/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java b/samples/client/3_1_0_unit_test/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java index 50795dc89a9..76dc7f0165f 100644 --- a/samples/client/3_1_0_unit_test/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java +++ b/samples/client/3_1_0_unit_test/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java @@ -157,8 +157,7 @@ public void testDeserializeApplicationJsonNull() { byte[] bodyBytes = toJson(null).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -174,8 +173,7 @@ public void testDeserializeApplicationJsonTrue() { byte[] bodyBytes = toJson(true).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -191,8 +189,7 @@ public void testDeserializeApplicationJsonFalse() { byte[] bodyBytes = toJson(false).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -208,8 +205,7 @@ public void testDeserializeApplicationJsonInt() { byte[] bodyBytes = toJson(1).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -225,8 +221,7 @@ public void testDeserializeApplicationJsonFloat() { byte[] bodyBytes = toJson(3.14).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -242,8 +237,7 @@ public void testDeserializeApplicationJsonString() { byte[] bodyBytes = toJson("a").getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } diff --git a/samples/client/3_1_0_unit_test/python/.openapi-generator/FILES b/samples/client/3_1_0_unit_test/python/.openapi-generator/FILES index 2e4b994fcd8..f7178f75b25 100644 --- a/samples/client/3_1_0_unit_test/python/.openapi-generator/FILES +++ b/samples/client/3_1_0_unit_test/python/.openapi-generator/FILES @@ -1257,7 +1257,7 @@ src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/__init__.py src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/__init__.py @@ -1266,7 +1266,7 @@ src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_defaul src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py @@ -1275,7 +1275,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_de src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py @@ -1284,7 +1284,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itse src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/__init__.py @@ -1293,7 +1293,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_ src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/__init__.py @@ -1302,7 +1302,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_ src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/__init__.py @@ -1311,7 +1311,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_reque src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py @@ -1320,7 +1320,7 @@ src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_reques src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py @@ -1329,7 +1329,7 @@ src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py @@ -1338,7 +1338,7 @@ src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/r src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py @@ -1347,7 +1347,7 @@ src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py @@ -1356,7 +1356,7 @@ src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_bo src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py @@ -1365,7 +1365,7 @@ src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_requ src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py @@ -1374,7 +1374,7 @@ src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_reque src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py @@ -1383,7 +1383,7 @@ src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_b src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py @@ -1392,7 +1392,7 @@ src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/ src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py @@ -1401,7 +1401,7 @@ src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py @@ -1410,7 +1410,7 @@ src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py @@ -1419,7 +1419,7 @@ src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_bo src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py @@ -1428,7 +1428,7 @@ src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py @@ -1437,7 +1437,7 @@ src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_ src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py @@ -1446,7 +1446,7 @@ src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/ src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_int_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py @@ -1455,7 +1455,7 @@ src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_bo src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_number_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py @@ -1464,7 +1464,7 @@ src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/requ src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/__init__.py src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/__init__.py @@ -1473,7 +1473,7 @@ src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_reques src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/__init__.py @@ -1482,7 +1482,7 @@ src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_bo src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/__init__.py src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/__init__.py @@ -1491,7 +1491,7 @@ src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_r src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_date_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_date_format_request_body/post/__init__.py @@ -1500,7 +1500,7 @@ src/unit_test_api/paths/request_body_post_date_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_date_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_date_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_date_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_date_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_date_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_date_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py @@ -1509,7 +1509,7 @@ src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/req src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/__init__.py @@ -1518,7 +1518,7 @@ src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_es src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/__init__.py @@ -1527,7 +1527,7 @@ src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_ src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/__init__.py @@ -1536,7 +1536,7 @@ src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_re src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_duration_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_duration_format_request_body/post/__init__.py @@ -1545,7 +1545,7 @@ src/unit_test_api/paths/request_body_post_duration_format_request_body/post/requ src/unit_test_api/paths/request_body_post_duration_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_duration_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_duration_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_duration_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_duration_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_duration_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py @@ -1554,7 +1554,7 @@ src/unit_test_api/paths/request_body_post_email_format_request_body/post/request src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_email_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_empty_dependents_request_body/__init__.py src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/__init__.py @@ -1563,7 +1563,7 @@ src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/req src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py @@ -1572,7 +1572,7 @@ src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_reques src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py @@ -1581,7 +1581,7 @@ src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py @@ -1590,7 +1590,7 @@ src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_b src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py @@ -1599,7 +1599,7 @@ src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_reques src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py @@ -1608,7 +1608,7 @@ src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py @@ -1617,7 +1617,7 @@ src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/ src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/__init__.py @@ -1626,7 +1626,7 @@ src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_bo src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/__init__.py @@ -1635,7 +1635,7 @@ src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_bo src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_float_division_inf_request_body/__init__.py src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/__init__.py @@ -1644,7 +1644,7 @@ src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/r src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py @@ -1653,7 +1653,7 @@ src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/r src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py @@ -1662,7 +1662,7 @@ src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/requ src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_idn_email_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/__init__.py @@ -1671,7 +1671,7 @@ src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/req src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/__init__.py @@ -1680,7 +1680,7 @@ src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/ src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/__init__.py src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/__init__.py @@ -1689,7 +1689,7 @@ src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/ src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/__init__.py src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/__init__.py @@ -1698,7 +1698,7 @@ src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/ src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/__init__.py src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/__init__.py @@ -1707,7 +1707,7 @@ src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_ src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/__init__.py src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/__init__.py @@ -1716,7 +1716,7 @@ src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/po src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/__init__.py src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/__init__.py @@ -1725,7 +1725,7 @@ src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/__init__.py src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/__init__.py @@ -1734,7 +1734,7 @@ src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/po src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py @@ -1743,7 +1743,7 @@ src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_ src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py @@ -1752,7 +1752,7 @@ src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py @@ -1761,7 +1761,7 @@ src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_iri_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_iri_format_request_body/post/__init__.py @@ -1770,7 +1770,7 @@ src/unit_test_api/paths/request_body_post_iri_format_request_body/post/request_b src/unit_test_api/paths/request_body_post_iri_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_iri_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_iri_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_iri_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_iri_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_iri_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/__init__.py @@ -1779,7 +1779,7 @@ src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_items_contains_request_body/__init__.py src/unit_test_api/paths/request_body_post_items_contains_request_body/post/__init__.py @@ -1788,7 +1788,7 @@ src/unit_test_api/paths/request_body_post_items_contains_request_body/post/reque src/unit_test_api/paths/request_body_post_items_contains_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_items_contains_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_items_contains_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_items_contains_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_items_contains_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_items_contains_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/__init__.py src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/__init__.py @@ -1797,7 +1797,7 @@ src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_val src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/__init__.py src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/__init__.py @@ -1806,7 +1806,7 @@ src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_requ src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py @@ -1815,7 +1815,7 @@ src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/ src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/__init__.py @@ -1824,7 +1824,7 @@ src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignore src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py @@ -1833,7 +1833,7 @@ src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/r src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py @@ -1842,7 +1842,7 @@ src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integ src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py @@ -1851,7 +1851,7 @@ src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/ src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py @@ -1860,7 +1860,7 @@ src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py @@ -1869,7 +1869,7 @@ src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_emp src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py @@ -1878,7 +1878,7 @@ src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/ src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/__init__.py src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/__init__.py @@ -1887,7 +1887,7 @@ src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignore src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py @@ -1896,7 +1896,7 @@ src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/r src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py @@ -1905,7 +1905,7 @@ src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py @@ -1914,7 +1914,7 @@ src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/ src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py @@ -1923,7 +1923,7 @@ src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py @@ -1932,7 +1932,7 @@ src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/ src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/__init__.py src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/__init__.py @@ -1941,7 +1941,7 @@ src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_b src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/__init__.py src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/__init__.py @@ -1950,7 +1950,7 @@ src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternpropertie src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/__init__.py src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/__init__.py @@ -1959,7 +1959,7 @@ src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_ src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py @@ -1968,7 +1968,7 @@ src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py @@ -1977,7 +1977,7 @@ src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py @@ -1986,7 +1986,7 @@ src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_items_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py @@ -1995,7 +1995,7 @@ src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/__init__.py src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/__init__.py @@ -2004,7 +2004,7 @@ src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalprope src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/__init__.py src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/__init__.py @@ -2013,7 +2013,7 @@ src/unit_test_api/paths/request_body_post_non_interference_across_combined_schem src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py @@ -2022,7 +2022,7 @@ src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/p src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/__init__.py @@ -2031,7 +2031,7 @@ src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/r src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py @@ -2040,7 +2040,7 @@ src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/__i src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_not_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py @@ -2049,7 +2049,7 @@ src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py @@ -2058,7 +2058,7 @@ src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py @@ -2067,7 +2067,7 @@ src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_bo src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py @@ -2076,7 +2076,7 @@ src/unit_test_api/paths/request_body_post_object_properties_validation_request_b src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py @@ -2085,7 +2085,7 @@ src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_bo src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py @@ -2094,7 +2094,7 @@ src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/ src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py @@ -2103,7 +2103,7 @@ src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py @@ -2112,7 +2112,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py @@ -2121,7 +2121,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/p src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py @@ -2130,7 +2130,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/ src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py @@ -2139,7 +2139,7 @@ src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/p src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py @@ -2148,7 +2148,7 @@ src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/r src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/__init__.py @@ -2157,7 +2157,7 @@ src/unit_test_api/paths/request_body_post_patternproperties_validates_properties src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/__init__.py @@ -2166,7 +2166,7 @@ src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_ins src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/__init__.py @@ -2175,7 +2175,7 @@ src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_sta src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/__init__.py @@ -2184,7 +2184,7 @@ src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_element src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/__init__.py src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/__init__.py @@ -2193,7 +2193,7 @@ src/unit_test_api/paths/request_body_post_properties_patternproperties_additiona src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/__init__.py src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/__init__.py @@ -2202,7 +2202,7 @@ src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_ src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py @@ -2211,7 +2211,7 @@ src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_req src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/__init__.py @@ -2220,7 +2220,7 @@ src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_p src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py @@ -2229,7 +2229,7 @@ src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_refer src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/__init__.py @@ -2238,7 +2238,7 @@ src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/ src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_regex_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_regex_format_request_body/post/__init__.py @@ -2247,7 +2247,7 @@ src/unit_test_api/paths/request_body_post_regex_format_request_body/post/request src/unit_test_api/paths/request_body_post_regex_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_regex_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_regex_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_regex_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_regex_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_regex_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/__init__.py src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/__init__.py @@ -2256,7 +2256,7 @@ src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_an src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/__init__.py @@ -2265,7 +2265,7 @@ src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_b src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py @@ -2274,7 +2274,7 @@ src/unit_test_api/paths/request_body_post_required_default_validation_request_bo src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/__init__.py @@ -2283,7 +2283,7 @@ src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_ja src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py @@ -2292,7 +2292,7 @@ src/unit_test_api/paths/request_body_post_required_validation_request_body/post/ src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py @@ -2301,7 +2301,7 @@ src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py @@ -2310,7 +2310,7 @@ src/unit_test_api/paths/request_body_post_required_with_escaped_characters_reque src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py @@ -2319,7 +2319,7 @@ src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/po src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_single_dependency_request_body/__init__.py src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/__init__.py @@ -2328,7 +2328,7 @@ src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/re src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/__init__.py src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/__init__.py @@ -2337,7 +2337,7 @@ src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_reques src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py @@ -2346,7 +2346,7 @@ src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_bo src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_time_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_time_format_request_body/post/__init__.py @@ -2355,7 +2355,7 @@ src/unit_test_api/paths/request_body_post_time_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_time_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_time_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_time_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_time_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_time_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_time_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/__init__.py src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/__init__.py @@ -2364,7 +2364,7 @@ src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/__init__.py src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/__init__.py @@ -2373,7 +2373,7 @@ src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/__init__.py src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/__init__.py @@ -2382,7 +2382,7 @@ src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_bo src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/__init__.py @@ -2391,7 +2391,7 @@ src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_bod src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/__init__.py @@ -2400,7 +2400,7 @@ src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_n src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/__init__.py @@ -2409,7 +2409,7 @@ src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_bo src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/__init__.py @@ -2418,7 +2418,7 @@ src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_el src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/__init__.py @@ -2427,7 +2427,7 @@ src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_ src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/__init__.py @@ -2436,7 +2436,7 @@ src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_b src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/__init__.py @@ -2445,7 +2445,7 @@ src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_ad src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/__init__.py @@ -2454,7 +2454,7 @@ src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py @@ -2463,7 +2463,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_b src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/__init__.py @@ -2472,7 +2472,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_ite src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py @@ -2481,7 +2481,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/po src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/__init__.py @@ -2490,7 +2490,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_req src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py @@ -2499,7 +2499,7 @@ src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_b src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py @@ -2508,7 +2508,7 @@ src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py @@ -2517,7 +2517,7 @@ src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/ src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uuid_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/__init__.py @@ -2526,7 +2526,7 @@ src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/__init__.py src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/__init__.py @@ -2535,12 +2535,12 @@ src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_v src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/responses/__init__.py +src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/response_responses/__init__.py src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2548,7 +2548,7 @@ src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_respon src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2556,7 +2556,7 @@ src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_defau src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2564,7 +2564,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_d src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2572,7 +2572,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_its src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2580,7 +2580,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2588,7 +2588,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2596,7 +2596,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_resp src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2604,7 +2604,7 @@ src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_respo src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2612,7 +2612,7 @@ src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2620,7 +2620,7 @@ src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_ src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2628,7 +2628,7 @@ src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2636,7 +2636,7 @@ src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_ src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2644,7 +2644,7 @@ src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_res src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2652,7 +2652,7 @@ src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_resp src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2660,7 +2660,7 @@ src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2668,7 +2668,7 @@ src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2676,7 +2676,7 @@ src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2684,7 +2684,7 @@ src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2692,7 +2692,7 @@ src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_ src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2700,7 +2700,7 @@ src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_bo src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2708,7 +2708,7 @@ src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_respons src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2716,7 +2716,7 @@ src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_type src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2724,7 +2724,7 @@ src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_t src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2732,7 +2732,7 @@ src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_con src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2740,7 +2740,7 @@ src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_respo src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2748,7 +2748,7 @@ src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_ src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2756,7 +2756,7 @@ src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_ src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2764,7 +2764,7 @@ src/unit_test_api/paths/response_body_post_date_format_response_body_for_content src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2772,7 +2772,7 @@ src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_co src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2780,7 +2780,7 @@ src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_e src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2788,7 +2788,7 @@ src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2796,7 +2796,7 @@ src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_r src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2804,7 +2804,7 @@ src/unit_test_api/paths/response_body_post_duration_format_response_body_for_con src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2812,7 +2812,7 @@ src/unit_test_api/paths/response_body_post_email_format_response_body_for_conten src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2820,7 +2820,7 @@ src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_co src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2828,7 +2828,7 @@ src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_respo src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2836,7 +2836,7 @@ src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_respon src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2844,7 +2844,7 @@ src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2852,7 +2852,7 @@ src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_respo src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2860,7 +2860,7 @@ src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_respon src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2868,7 +2868,7 @@ src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2876,7 +2876,7 @@ src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_ src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2884,7 +2884,7 @@ src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_ src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2892,7 +2892,7 @@ src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_ src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2900,7 +2900,7 @@ src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_ src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2908,7 +2908,7 @@ src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_con src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2916,7 +2916,7 @@ src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_co src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2924,7 +2924,7 @@ src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2932,7 +2932,7 @@ src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_bod src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2940,7 +2940,7 @@ src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_bod src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2948,7 +2948,7 @@ src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2956,7 +2956,7 @@ src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_ src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2964,7 +2964,7 @@ src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_respon src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2972,7 +2972,7 @@ src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_ src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2980,7 +2980,7 @@ src/unit_test_api/paths/response_body_post_integer_type_matches_integers_respons src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2988,7 +2988,7 @@ src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2996,7 +2996,7 @@ src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3004,7 +3004,7 @@ src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_ src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3012,7 +3012,7 @@ src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_fo src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3020,7 +3020,7 @@ src/unit_test_api/paths/response_body_post_items_contains_response_body_for_cont src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3028,7 +3028,7 @@ src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_va src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3036,7 +3036,7 @@ src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_res src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3044,7 +3044,7 @@ src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3052,7 +3052,7 @@ src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignor src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3060,7 +3060,7 @@ src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_ src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3068,7 +3068,7 @@ src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_inte src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3076,7 +3076,7 @@ src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3084,7 +3084,7 @@ src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_fo src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3092,7 +3092,7 @@ src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_em src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3100,7 +3100,7 @@ src/unit_test_api/paths/response_body_post_maxproperties_validation_response_bod src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3108,7 +3108,7 @@ src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignor src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3116,7 +3116,7 @@ src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_ src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3124,7 +3124,7 @@ src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_intege src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3132,7 +3132,7 @@ src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3140,7 +3140,7 @@ src/unit_test_api/paths/response_body_post_minlength_validation_response_body_fo src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3148,7 +3148,7 @@ src/unit_test_api/paths/response_body_post_minproperties_validation_response_bod src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3156,7 +3156,7 @@ src/unit_test_api/paths/response_body_post_multiple_dependents_required_response src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3164,7 +3164,7 @@ src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperti src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3172,7 +3172,7 @@ src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3180,7 +3180,7 @@ src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_sema src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3188,7 +3188,7 @@ src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_sema src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3196,7 +3196,7 @@ src/unit_test_api/paths/response_body_post_nested_items_response_body_for_conten src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3204,7 +3204,7 @@ src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_sema src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3212,7 +3212,7 @@ src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalprop src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3220,7 +3220,7 @@ src/unit_test_api/paths/response_body_post_non_interference_across_combined_sche src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3228,7 +3228,7 @@ src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3236,7 +3236,7 @@ src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_ src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3244,7 +3244,7 @@ src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/p src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3252,7 +3252,7 @@ src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_bo src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3260,7 +3260,7 @@ src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_objec src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3268,7 +3268,7 @@ src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_ src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3276,7 +3276,7 @@ src/unit_test_api/paths/response_body_post_object_properties_validation_response src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3284,7 +3284,7 @@ src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_ src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3292,7 +3292,7 @@ src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3300,7 +3300,7 @@ src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3308,7 +3308,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3316,7 +3316,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3324,7 +3324,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3332,7 +3332,7 @@ src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3340,7 +3340,7 @@ src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_ src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3348,7 +3348,7 @@ src/unit_test_api/paths/response_body_post_patternproperties_validates_propertie src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3356,7 +3356,7 @@ src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_in src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3364,7 +3364,7 @@ src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_st src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3372,7 +3372,7 @@ src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elemen src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3380,7 +3380,7 @@ src/unit_test_api/paths/response_body_post_properties_patternproperties_addition src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3388,7 +3388,7 @@ src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3396,7 +3396,7 @@ src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_re src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3404,7 +3404,7 @@ src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_ src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3412,7 +3412,7 @@ src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_refe src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3420,7 +3420,7 @@ src/unit_test_api/paths/response_body_post_propertynames_validation_response_bod src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3428,7 +3428,7 @@ src/unit_test_api/paths/response_body_post_regex_format_response_body_for_conten src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3436,7 +3436,7 @@ src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_a src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3444,7 +3444,7 @@ src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3452,7 +3452,7 @@ src/unit_test_api/paths/response_body_post_required_default_validation_response_ src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3460,7 +3460,7 @@ src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_j src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3468,7 +3468,7 @@ src/unit_test_api/paths/response_body_post_required_validation_response_body_for src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3476,7 +3476,7 @@ src/unit_test_api/paths/response_body_post_required_with_empty_array_response_bo src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3484,7 +3484,7 @@ src/unit_test_api/paths/response_body_post_required_with_escaped_characters_resp src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3492,7 +3492,7 @@ src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_ src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3500,7 +3500,7 @@ src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_c src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3508,7 +3508,7 @@ src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_respo src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3516,7 +3516,7 @@ src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_ src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3524,7 +3524,7 @@ src/unit_test_api/paths/response_body_post_time_format_response_body_for_content src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3532,7 +3532,7 @@ src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_bo src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3540,7 +3540,7 @@ src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_fo src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3548,7 +3548,7 @@ src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_ src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3556,7 +3556,7 @@ src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_b src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3564,7 +3564,7 @@ src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_ src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3572,7 +3572,7 @@ src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_ src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3580,7 +3580,7 @@ src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_e src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3588,7 +3588,7 @@ src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3596,7 +3596,7 @@ src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3604,7 +3604,7 @@ src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_a src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3612,7 +3612,7 @@ src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_value src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3620,7 +3620,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3628,7 +3628,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_it src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3636,7 +3636,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_ src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3644,7 +3644,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_re src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3652,7 +3652,7 @@ src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_ src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3660,7 +3660,7 @@ src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_fo src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3668,7 +3668,7 @@ src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3676,7 +3676,7 @@ src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/responses/__init__.py +src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/response_responses/__init__.py src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_duration_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_duration_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_contains_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_contains_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regex_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regex_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_time_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_time_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES b/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES index 4fbf59f04af..765b0f74699 100644 --- a/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES +++ b/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES @@ -42,7 +42,7 @@ src/this_package/paths/operators/post/request_body/__init__.py src/this_package/paths/operators/post/request_body/content/__init__.py src/this_package/paths/operators/post/request_body/content/application_json/__init__.py src/this_package/paths/operators/post/request_body/content/application_json/schema.py -src/this_package/paths/operators/post/responses/__init__.py +src/this_package/paths/operators/post/response_responses/__init__.py src/this_package/paths/operators/post/responses/response_200/__init__.py src/this_package/py.typed src/this_package/rest.py diff --git a/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/response_responses/__init__.py b/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/openapi_features/security/python/.openapi-generator/FILES b/samples/client/openapi_features/security/python/.openapi-generator/FILES index 3e196248266..981864c5f8a 100644 --- a/samples/client/openapi_features/security/python/.openapi-generator/FILES +++ b/samples/client/openapi_features/security/python/.openapi-generator/FILES @@ -42,24 +42,24 @@ src/this_package/paths/__init__.py src/this_package/paths/path_with_no_explicit_security/__init__.py src/this_package/paths/path_with_no_explicit_security/get/__init__.py src/this_package/paths/path_with_no_explicit_security/get/operation.py -src/this_package/paths/path_with_no_explicit_security/get/responses/__init__.py +src/this_package/paths/path_with_no_explicit_security/get/response_responses/__init__.py src/this_package/paths/path_with_no_explicit_security/get/responses/response_200/__init__.py src/this_package/paths/path_with_one_explicit_security/__init__.py src/this_package/paths/path_with_one_explicit_security/get/__init__.py src/this_package/paths/path_with_one_explicit_security/get/operation.py -src/this_package/paths/path_with_one_explicit_security/get/responses/__init__.py +src/this_package/paths/path_with_one_explicit_security/get/response_responses/__init__.py src/this_package/paths/path_with_one_explicit_security/get/responses/response_200/__init__.py src/this_package/paths/path_with_one_explicit_security/get/security/__init__.py src/this_package/paths/path_with_one_explicit_security/get/security/security_requirement_object_0.py src/this_package/paths/path_with_security_from_root/__init__.py src/this_package/paths/path_with_security_from_root/get/__init__.py src/this_package/paths/path_with_security_from_root/get/operation.py -src/this_package/paths/path_with_security_from_root/get/responses/__init__.py +src/this_package/paths/path_with_security_from_root/get/response_responses/__init__.py src/this_package/paths/path_with_security_from_root/get/responses/response_200/__init__.py src/this_package/paths/path_with_two_explicit_security/__init__.py src/this_package/paths/path_with_two_explicit_security/get/__init__.py src/this_package/paths/path_with_two_explicit_security/get/operation.py -src/this_package/paths/path_with_two_explicit_security/get/responses/__init__.py +src/this_package/paths/path_with_two_explicit_security/get/response_responses/__init__.py src/this_package/paths/path_with_two_explicit_security/get/responses/response_200/__init__.py src/this_package/paths/path_with_two_explicit_security/get/security/__init__.py src/this_package/paths/path_with_two_explicit_security/get/security/security_requirement_object_0.py diff --git a/samples/client/openapi_features/security/python/src/this_package/paths/path_with_no_explicit_security/get/response_responses/__init__.py b/samples/client/openapi_features/security/python/src/this_package/paths/path_with_no_explicit_security/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/openapi_features/security/python/src/this_package/paths/path_with_one_explicit_security/get/response_responses/__init__.py b/samples/client/openapi_features/security/python/src/this_package/paths/path_with_one_explicit_security/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/openapi_features/security/python/src/this_package/paths/path_with_security_from_root/get/response_responses/__init__.py b/samples/client/openapi_features/security/python/src/this_package/paths/path_with_security_from_root/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/openapi_features/security/python/src/this_package/paths/path_with_two_explicit_security/get/response_responses/__init__.py b/samples/client/openapi_features/security/python/src/this_package/paths/path_with_two_explicit_security/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/java/.openapi-generator/FILES b/samples/client/petstore/java/.openapi-generator/FILES index 35e6bc18c42..cdbb89acbeb 100644 --- a/samples/client/petstore/java/.openapi-generator/FILES +++ b/samples/client/petstore/java/.openapi-generator/FILES @@ -944,7 +944,7 @@ src/main/java/org/openapijsonschematools/client/requestbody/GenericRequestBody.j src/main/java/org/openapijsonschematools/client/requestbody/RequestBodySerializer.java src/main/java/org/openapijsonschematools/client/requestbody/SerializedRequestBody.java src/main/java/org/openapijsonschematools/client/response/ApiResponse.java -src/main/java/org/openapijsonschematools/client/response/DeserializedApiResponse.java +src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java src/main/java/org/openapijsonschematools/client/response/ResponsesDeserializer.java src/main/java/org/openapijsonschematools/client/schemas/AnyTypeJsonSchema.java diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java index b0b9dcf966a..816987cc22e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/HeadersWithNoBody.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java index f6bdcf28641..7d708912240 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessDescriptionOnly.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java index 6638199321c..9a2cb7de834 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessInlineContentAndHeader.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.components.responses.successinlinecontentandheader.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java index 7d174cbc910..037f0c3c1de 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessWithJsonApiResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.components.responses.successwithjsonapiresponse.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java index e19d59da6b1..61661e78e34 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/components/responses/SuccessfulXmlAndJsonArrayOfPet.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.components.responses.successfulxmlandjsonarrayofpet.content.applicationxml.ApplicationxmlSchema; @@ -73,11 +73,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java index 15614880d33..1293a281abd 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/anotherfakedummy/patch/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.anotherfakedummy.patch.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java index dd343bb02b1..99ebf439860 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/get/responses/Code404Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fake.get.responses.code404response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java index b78d3568a63..2e4a85c500d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/patch/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fake.patch.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java index 8845fc619c1..f3c502c31cc 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fake/post/responses/Code404Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java index 5cbfd6fe5d6..2758a79261f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeadditionalpropertieswitharrayofenums/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeadditionalpropertieswitharrayofenums.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java index 9ac28f7fe3a..048455f6511 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeclassnametest/patch/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeclassnametest.patch.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java index 189cc6983f6..89edaed917d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakedeletecoffeeid/delete/responses/CodedefaultResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java index a47dc185d74..300c2f64365 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakehealth/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakehealth.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java index ec46fd02bd5..c6d1b2107c6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeinlinecomposition/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeinlinecomposition.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -73,11 +73,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java index 9fd9e573e9e..84f8047a02d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakejsonwithcharset/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakejsonwithcharset.post.responses.code200response.content.applicationjsoncharsetutf8.Applicationjsoncharsetutf8Schema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java index 0f1b14a7e5c..bcbeee49908 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplerequestbodycontenttypes/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakemultiplerequestbodycontenttypes.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java index 663123c8306..f36e27a553e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakemultipleresponsebodies.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java index ff418c65ea3..875d35d26f5 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultipleresponsebodies/get/responses/Code202Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakemultipleresponsebodies.get.responses.code202response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java index 73de9986c02..57552668d20 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakemultiplesecurities/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakemultiplesecurities.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java index 3783cd90344..ba79c4fa0c3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeparametercollisions1ababselfab/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeparametercollisions1ababselfab.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java index 4fcbca66aff..235c0db2bfb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepemcontenttype/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakepemcontenttype.get.responses.code200response.content.applicationxpemfile.ApplicationxpemfileSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java index 028af47a2d8..d86218a5273 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakepetiduploadimagewithrequiredfile.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java index 16007051693..947ef7b2c84 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakequeryparamwithjsoncontenttype/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakequeryparamwithjsoncontenttype.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java index caa4c6f58bb..b9ca7d32b2c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code303Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java index 57197e1e3e2..7b593a14eb5 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeredirection/get/responses/Code3XXResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java index 31e07a7545d..d01d31a29d3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarraymodel/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsarraymodel.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java index 0a6d3289351..6ca1121345a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsarrayofenums/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsarrayofenums.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java index 94e09809c66..d9c6b249dd6 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsboolean/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsboolean.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java index ed059f20afe..13e9ad0468f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefscomposedoneofnumberwithvalidations/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefscomposedoneofnumberwithvalidations.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java index 891e217c017..0648d448807 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsenum/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsenum.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java index cbb7d348b83..6966924d426 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsmammal/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsmammal.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java index 25514ec0841..6523d4260c1 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsnumber/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsnumber.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java index a26fcbb3f34..149a66cb6ad 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsobjectmodelwithrefprops/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsobjectmodelwithrefprops.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java index 45757030c65..cb9d8fe483e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakerefsstring/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakerefsstring.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java index 0ed84841a59..e0204129755 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeresponsewithoutschema/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -36,11 +36,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java index b7e39afb552..a1c45b3b1b3 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploaddownloadfile/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeuploaddownloadfile.post.responses.code200response.content.applicationoctetstream.ApplicationoctetstreamSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java index 278fa831544..cac546b0422 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfile/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeuploadfile.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java index 92b57df4034..06b0236ebd8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakeuploadfiles/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakeuploadfiles.post.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java index fe406bd2dcd..65791d02f47 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code1XXResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code1xxresponse.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java index bd21a8cfa50..a19af7ac543 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code200response.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java index 71520d23fa4..a907b488233 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code2XXResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code2xxresponse.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java index d3a1776cd5f..f932612e779 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code3XXResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code3xxresponse.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java index b3b100b6de7..682272e552d 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code4XXResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code4xxresponse.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java index 5da74fe9bd7..081a68aa84e 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/fakewildcardresponses/get/responses/Code5XXResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.fakewildcardresponses.get.responses.code5xxresponse.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java index 3e145281c61..eacf0f81c6b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/foo/get/responses/CodedefaultResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.foo.get.responses.codedefaultresponse.content.applicationjson.ApplicationjsonSchema; @@ -57,11 +57,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java index fa91e0124c3..fae6cd8468b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/post/responses/Code405Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java index 8cba3d1f4d4..8b6b7083e4c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java index 836c24df5b2..95d865b82ec 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code404Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java index 0cba473cd4b..e3de76ccb57 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/pet/put/responses/Code405Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java index 9127ded07cd..63257957989 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbystatus/get/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java index 61d9597fc95..0b2dd4a964b 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petfindbytags/get/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java index 0e1f6d910b6..60e17b7d517 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/delete/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java index 0917262fdff..009dadb66af 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.petpetid.get.responses.code200response.content.applicationxml.ApplicationxmlSchema; @@ -73,11 +73,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java index 877e743d125..32c66ffa011 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java index 07b0ccf33b8..ee166e33acc 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/get/responses/Code404Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java index 55f3e788399..622bc8d8042 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/petpetid/post/responses/Code405Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java index 232779c557c..0a0638b1551 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.storeorder.post.responses.code200response.content.applicationxml.ApplicationxmlSchema; @@ -73,11 +73,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java index 23f274e31ac..aa2870163ac 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorder/post/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java index 39c1168d440..d24c6c5aa81 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java index 685b21dd033..48b7679387f 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/delete/responses/Code404Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java index fd5db2dce8f..6d51490e90a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.storeorderorderid.get.responses.code200response.content.applicationxml.ApplicationxmlSchema; @@ -73,11 +73,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java index a6b148604a3..6eb5f5c1de8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java index 113c3ec8601..4e7e5f5bef8 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/storeorderorderid/get/responses/Code404Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java index f30a0cda30a..fb814fa6a63 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/user/post/responses/CodedefaultResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java index 8abcc4f285b..ff367f5c5d9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewitharray/post/responses/CodedefaultResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java index 475ab9c9e92..452bbf99d47 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/usercreatewithlist/post/responses/CodedefaultResponse.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java index 544b22d93de..12156c959d9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.userlogin.get.responses.code200response.content.applicationxml.ApplicationxmlSchema; @@ -73,11 +73,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java index 00d63672b05..371b8704162 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userlogin/get/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java index d7b2168abb2..5fc5f8a0ebb 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/delete/responses/Code404Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java index fc2647fc8e4..5e70bd5ebe9 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code200Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.mediatype.MediaType; import org.openapijsonschematools.client.paths.userusername.get.responses.code200response.content.applicationxml.ApplicationxmlSchema; @@ -73,11 +73,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java index 80a42b1505c..8755e292c0c 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java index bed4fffda75..26d850cab81 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/get/responses/Code404Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java index 248b05cf3d7..a19df3384c7 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code400Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java index 26c644d8c87..708688d850a 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/paths/userusername/put/responses/Code404Response.java @@ -2,7 +2,7 @@ import org.openapijsonschematools.client.configurations.SchemaConfiguration; import org.openapijsonschematools.client.response.ResponseDeserializer; -import org.openapijsonschematools.client.response.ApiResponse; +import org.openapijsonschematools.client.response.DeserializedHttpResponse; import org.openapijsonschematools.client.exceptions.ApiException; import org.openapijsonschematools.client.schemas.validation.MapUtils; @@ -33,11 +33,11 @@ protected Void getHeaders(HttpHeaders headers) { @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } } diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java new file mode 100644 index 00000000000..d9c62c28c70 --- /dev/null +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/DeserializedHttpResponse.java @@ -0,0 +1,6 @@ +package org.openapijsonschematools.client.response; + +import java.net.http.HttpResponse; + +public record DeserializedHttpResponse(SealedBodyOutputClass body, HeaderOutputClass headers) { +} \ No newline at end of file diff --git a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java index 766af80f088..5bc67aaf446 100644 --- a/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java +++ b/samples/client/petstore/java/src/main/java/org/openapijsonschematools/client/response/ResponseDeserializer.java @@ -63,7 +63,7 @@ protected T deserializeBody(String contentType, byte[] body, JsonSchema s throw new RuntimeException("Deserialization for contentType="+contentType+" has not yet been implemented."); } - public ApiResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { + public DeserializedHttpResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { Optional contentTypeInfo = response.headers().firstValue("Content-Type"); if (contentTypeInfo.isEmpty()) { throw new RuntimeException("Invalid response returned, Content-Type header is missing and it must be included"); @@ -78,6 +78,6 @@ public ApiResponse deserialize(HttpResponse(response, body, headers); + return new DeserializedHttpResponse<>(body, headers); } } \ No newline at end of file diff --git a/samples/client/petstore/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java b/samples/client/petstore/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java index 50795dc89a9..76dc7f0165f 100644 --- a/samples/client/petstore/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java +++ b/samples/client/petstore/java/src/test/java/org/openapijsonschematools/client/response/ResponseDeserializerTest.java @@ -157,8 +157,7 @@ public void testDeserializeApplicationJsonNull() { byte[] bodyBytes = toJson(null).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -174,8 +173,7 @@ public void testDeserializeApplicationJsonTrue() { byte[] bodyBytes = toJson(true).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -191,8 +189,7 @@ public void testDeserializeApplicationJsonFalse() { byte[] bodyBytes = toJson(false).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -208,8 +205,7 @@ public void testDeserializeApplicationJsonInt() { byte[] bodyBytes = toJson(1).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -225,8 +221,7 @@ public void testDeserializeApplicationJsonFloat() { byte[] bodyBytes = toJson(3.14).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -242,8 +237,7 @@ public void testDeserializeApplicationJsonString() { byte[] bodyBytes = toJson("a").getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } diff --git a/samples/client/petstore/python/.openapi-generator/FILES b/samples/client/petstore/python/.openapi-generator/FILES index 922904e5692..5a0722d6c85 100644 --- a/samples/client/petstore/python/.openapi-generator/FILES +++ b/samples/client/petstore/python/.openapi-generator/FILES @@ -720,7 +720,7 @@ src/petstore_api/paths/another_fake_dummy/__init__.py src/petstore_api/paths/another_fake_dummy/patch/__init__.py src/petstore_api/paths/another_fake_dummy/patch/operation.py src/petstore_api/paths/another_fake_dummy/patch/request_body/__init__.py -src/petstore_api/paths/another_fake_dummy/patch/responses/__init__.py +src/petstore_api/paths/another_fake_dummy/patch/response_responses/__init__.py src/petstore_api/paths/another_fake_dummy/patch/responses/response_200/__init__.py src/petstore_api/paths/another_fake_dummy/patch/responses/response_200/content/__init__.py src/petstore_api/paths/another_fake_dummy/patch/responses/response_200/content/application_json/__init__.py @@ -735,7 +735,7 @@ src/petstore_api/paths/common_param_sub_dir/delete/parameters/parameter_0/schema src/petstore_api/paths/common_param_sub_dir/delete/parameters/parameter_1/__init__.py src/petstore_api/paths/common_param_sub_dir/delete/parameters/parameter_1/schema.py src/petstore_api/paths/common_param_sub_dir/delete/path_parameters.py -src/petstore_api/paths/common_param_sub_dir/delete/responses/__init__.py +src/petstore_api/paths/common_param_sub_dir/delete/response_responses/__init__.py src/petstore_api/paths/common_param_sub_dir/delete/responses/response_200/__init__.py src/petstore_api/paths/common_param_sub_dir/get/__init__.py src/petstore_api/paths/common_param_sub_dir/get/operation.py @@ -744,7 +744,7 @@ src/petstore_api/paths/common_param_sub_dir/get/parameters/parameter_0/__init__. src/petstore_api/paths/common_param_sub_dir/get/parameters/parameter_0/schema.py src/petstore_api/paths/common_param_sub_dir/get/path_parameters.py src/petstore_api/paths/common_param_sub_dir/get/query_parameters.py -src/petstore_api/paths/common_param_sub_dir/get/responses/__init__.py +src/petstore_api/paths/common_param_sub_dir/get/response_responses/__init__.py src/petstore_api/paths/common_param_sub_dir/get/responses/response_200/__init__.py src/petstore_api/paths/common_param_sub_dir/parameters/__init__.py src/petstore_api/paths/common_param_sub_dir/parameters/parameter_0/__init__.py @@ -756,7 +756,7 @@ src/petstore_api/paths/common_param_sub_dir/post/parameters/__init__.py src/petstore_api/paths/common_param_sub_dir/post/parameters/parameter_0/__init__.py src/petstore_api/paths/common_param_sub_dir/post/parameters/parameter_0/schema.py src/petstore_api/paths/common_param_sub_dir/post/path_parameters.py -src/petstore_api/paths/common_param_sub_dir/post/responses/__init__.py +src/petstore_api/paths/common_param_sub_dir/post/response_responses/__init__.py src/petstore_api/paths/common_param_sub_dir/post/responses/response_200/__init__.py src/petstore_api/paths/fake/__init__.py src/petstore_api/paths/fake/delete/__init__.py @@ -776,7 +776,7 @@ src/petstore_api/paths/fake/delete/parameters/parameter_4/schema.py src/petstore_api/paths/fake/delete/parameters/parameter_5/__init__.py src/petstore_api/paths/fake/delete/parameters/parameter_5/schema.py src/petstore_api/paths/fake/delete/query_parameters.py -src/petstore_api/paths/fake/delete/responses/__init__.py +src/petstore_api/paths/fake/delete/response_responses/__init__.py src/petstore_api/paths/fake/delete/responses/response_200/__init__.py src/petstore_api/paths/fake/delete/security/__init__.py src/petstore_api/paths/fake/delete/security/security_requirement_object_0.py @@ -801,7 +801,7 @@ src/petstore_api/paths/fake/get/request_body/__init__.py src/petstore_api/paths/fake/get/request_body/content/__init__.py src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/__init__.py src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/schema.py -src/petstore_api/paths/fake/get/responses/__init__.py +src/petstore_api/paths/fake/get/response_responses/__init__.py src/petstore_api/paths/fake/get/responses/response_200/__init__.py src/petstore_api/paths/fake/get/responses/response_404/__init__.py src/petstore_api/paths/fake/get/responses/response_404/content/__init__.py @@ -810,7 +810,7 @@ src/petstore_api/paths/fake/get/responses/response_404/content/application_json/ src/petstore_api/paths/fake/patch/__init__.py src/petstore_api/paths/fake/patch/operation.py src/petstore_api/paths/fake/patch/request_body/__init__.py -src/petstore_api/paths/fake/patch/responses/__init__.py +src/petstore_api/paths/fake/patch/response_responses/__init__.py src/petstore_api/paths/fake/patch/responses/response_200/__init__.py src/petstore_api/paths/fake/patch/responses/response_200/content/__init__.py src/petstore_api/paths/fake/patch/responses/response_200/content/application_json/__init__.py @@ -821,7 +821,7 @@ src/petstore_api/paths/fake/post/request_body/__init__.py src/petstore_api/paths/fake/post/request_body/content/__init__.py src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/__init__.py src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/schema.py -src/petstore_api/paths/fake/post/responses/__init__.py +src/petstore_api/paths/fake/post/response_responses/__init__.py src/petstore_api/paths/fake/post/responses/response_200/__init__.py src/petstore_api/paths/fake/post/responses/response_404/__init__.py src/petstore_api/paths/fake/post/security/__init__.py @@ -833,7 +833,7 @@ src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/reques src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/request_body/content/__init__.py src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/responses/__init__.py +src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_responses/__init__.py src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/responses/response_200/__init__.py src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/responses/response_200/content/application_json/__init__.py @@ -845,7 +845,7 @@ src/petstore_api/paths/fake_body_with_file_schema/put/request_body/__init__.py src/petstore_api/paths/fake_body_with_file_schema/put/request_body/content/__init__.py src/petstore_api/paths/fake_body_with_file_schema/put/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_body_with_file_schema/put/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_body_with_file_schema/put/responses/__init__.py +src/petstore_api/paths/fake_body_with_file_schema/put/response_responses/__init__.py src/petstore_api/paths/fake_body_with_file_schema/put/responses/response_200/__init__.py src/petstore_api/paths/fake_body_with_query_params/__init__.py src/petstore_api/paths/fake_body_with_query_params/put/__init__.py @@ -858,7 +858,7 @@ src/petstore_api/paths/fake_body_with_query_params/put/request_body/__init__.py src/petstore_api/paths/fake_body_with_query_params/put/request_body/content/__init__.py src/petstore_api/paths/fake_body_with_query_params/put/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_body_with_query_params/put/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_body_with_query_params/put/responses/__init__.py +src/petstore_api/paths/fake_body_with_query_params/put/response_responses/__init__.py src/petstore_api/paths/fake_body_with_query_params/put/responses/response_200/__init__.py src/petstore_api/paths/fake_case_sensitive_params/__init__.py src/petstore_api/paths/fake_case_sensitive_params/put/__init__.py @@ -871,13 +871,13 @@ src/petstore_api/paths/fake_case_sensitive_params/put/parameters/parameter_1/sch src/petstore_api/paths/fake_case_sensitive_params/put/parameters/parameter_2/__init__.py src/petstore_api/paths/fake_case_sensitive_params/put/parameters/parameter_2/schema.py src/petstore_api/paths/fake_case_sensitive_params/put/query_parameters.py -src/petstore_api/paths/fake_case_sensitive_params/put/responses/__init__.py +src/petstore_api/paths/fake_case_sensitive_params/put/response_responses/__init__.py src/petstore_api/paths/fake_case_sensitive_params/put/responses/response_200/__init__.py src/petstore_api/paths/fake_classname_test/__init__.py src/petstore_api/paths/fake_classname_test/patch/__init__.py src/petstore_api/paths/fake_classname_test/patch/operation.py src/petstore_api/paths/fake_classname_test/patch/request_body/__init__.py -src/petstore_api/paths/fake_classname_test/patch/responses/__init__.py +src/petstore_api/paths/fake_classname_test/patch/response_responses/__init__.py src/petstore_api/paths/fake_classname_test/patch/responses/response_200/__init__.py src/petstore_api/paths/fake_classname_test/patch/responses/response_200/content/__init__.py src/petstore_api/paths/fake_classname_test/patch/responses/response_200/content/application_json/__init__.py @@ -891,13 +891,13 @@ src/petstore_api/paths/fake_delete_coffee_id/delete/parameters/__init__.py src/petstore_api/paths/fake_delete_coffee_id/delete/parameters/parameter_0/__init__.py src/petstore_api/paths/fake_delete_coffee_id/delete/parameters/parameter_0/schema.py src/petstore_api/paths/fake_delete_coffee_id/delete/path_parameters.py -src/petstore_api/paths/fake_delete_coffee_id/delete/responses/__init__.py +src/petstore_api/paths/fake_delete_coffee_id/delete/response_responses/__init__.py src/petstore_api/paths/fake_delete_coffee_id/delete/responses/response_200/__init__.py src/petstore_api/paths/fake_delete_coffee_id/delete/responses/response_default/__init__.py src/petstore_api/paths/fake_health/__init__.py src/petstore_api/paths/fake_health/get/__init__.py src/petstore_api/paths/fake_health/get/operation.py -src/petstore_api/paths/fake_health/get/responses/__init__.py +src/petstore_api/paths/fake_health/get/response_responses/__init__.py src/petstore_api/paths/fake_health/get/responses/response_200/__init__.py src/petstore_api/paths/fake_health/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_health/get/responses/response_200/content/application_json/__init__.py @@ -909,7 +909,7 @@ src/petstore_api/paths/fake_inline_additional_properties/post/request_body/__ini src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/__init__.py src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_inline_additional_properties/post/responses/__init__.py +src/petstore_api/paths/fake_inline_additional_properties/post/response_responses/__init__.py src/petstore_api/paths/fake_inline_additional_properties/post/responses/response_200/__init__.py src/petstore_api/paths/fake_inline_composition/__init__.py src/petstore_api/paths/fake_inline_composition/post/__init__.py @@ -926,7 +926,7 @@ src/petstore_api/paths/fake_inline_composition/post/request_body/content/applica src/petstore_api/paths/fake_inline_composition/post/request_body/content/application_json/schema.py src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/fake_inline_composition/post/responses/__init__.py +src/petstore_api/paths/fake_inline_composition/post/response_responses/__init__.py src/petstore_api/paths/fake_inline_composition/post/responses/response_200/__init__.py src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/application_json/__init__.py @@ -940,7 +940,7 @@ src/petstore_api/paths/fake_json_form_data/get/request_body/__init__.py src/petstore_api/paths/fake_json_form_data/get/request_body/content/__init__.py src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/__init__.py src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/schema.py -src/petstore_api/paths/fake_json_form_data/get/responses/__init__.py +src/petstore_api/paths/fake_json_form_data/get/response_responses/__init__.py src/petstore_api/paths/fake_json_form_data/get/responses/response_200/__init__.py src/petstore_api/paths/fake_json_patch/__init__.py src/petstore_api/paths/fake_json_patch/patch/__init__.py @@ -949,7 +949,7 @@ src/petstore_api/paths/fake_json_patch/patch/request_body/__init__.py src/petstore_api/paths/fake_json_patch/patch/request_body/content/__init__.py src/petstore_api/paths/fake_json_patch/patch/request_body/content/application_json_patchjson/__init__.py src/petstore_api/paths/fake_json_patch/patch/request_body/content/application_json_patchjson/schema.py -src/petstore_api/paths/fake_json_patch/patch/responses/__init__.py +src/petstore_api/paths/fake_json_patch/patch/response_responses/__init__.py src/petstore_api/paths/fake_json_patch/patch/responses/response_200/__init__.py src/petstore_api/paths/fake_json_with_charset/__init__.py src/petstore_api/paths/fake_json_with_charset/post/__init__.py @@ -958,7 +958,7 @@ src/petstore_api/paths/fake_json_with_charset/post/request_body/__init__.py src/petstore_api/paths/fake_json_with_charset/post/request_body/content/__init__.py src/petstore_api/paths/fake_json_with_charset/post/request_body/content/application_json_charsetutf8/__init__.py src/petstore_api/paths/fake_json_with_charset/post/request_body/content/application_json_charsetutf8/schema.py -src/petstore_api/paths/fake_json_with_charset/post/responses/__init__.py +src/petstore_api/paths/fake_json_with_charset/post/response_responses/__init__.py src/petstore_api/paths/fake_json_with_charset/post/responses/response_200/__init__.py src/petstore_api/paths/fake_json_with_charset/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_json_with_charset/post/responses/response_200/content/application_json_charsetutf8/__init__.py @@ -972,7 +972,7 @@ src/petstore_api/paths/fake_multiple_request_body_content_types/post/request_bod src/petstore_api/paths/fake_multiple_request_body_content_types/post/request_body/content/application_json/schema.py src/petstore_api/paths/fake_multiple_request_body_content_types/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/fake_multiple_request_body_content_types/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/fake_multiple_request_body_content_types/post/responses/__init__.py +src/petstore_api/paths/fake_multiple_request_body_content_types/post/response_responses/__init__.py src/petstore_api/paths/fake_multiple_request_body_content_types/post/responses/response_200/__init__.py src/petstore_api/paths/fake_multiple_request_body_content_types/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_multiple_request_body_content_types/post/responses/response_200/content/application_json/__init__.py @@ -980,7 +980,7 @@ src/petstore_api/paths/fake_multiple_request_body_content_types/post/responses/r src/petstore_api/paths/fake_multiple_response_bodies/__init__.py src/petstore_api/paths/fake_multiple_response_bodies/get/__init__.py src/petstore_api/paths/fake_multiple_response_bodies/get/operation.py -src/petstore_api/paths/fake_multiple_response_bodies/get/responses/__init__.py +src/petstore_api/paths/fake_multiple_response_bodies/get/response_responses/__init__.py src/petstore_api/paths/fake_multiple_response_bodies/get/responses/response_200/__init__.py src/petstore_api/paths/fake_multiple_response_bodies/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_multiple_response_bodies/get/responses/response_200/content/application_json/__init__.py @@ -992,7 +992,7 @@ src/petstore_api/paths/fake_multiple_response_bodies/get/responses/response_202/ src/petstore_api/paths/fake_multiple_securities/__init__.py src/petstore_api/paths/fake_multiple_securities/get/__init__.py src/petstore_api/paths/fake_multiple_securities/get/operation.py -src/petstore_api/paths/fake_multiple_securities/get/responses/__init__.py +src/petstore_api/paths/fake_multiple_securities/get/response_responses/__init__.py src/petstore_api/paths/fake_multiple_securities/get/responses/response_200/__init__.py src/petstore_api/paths/fake_multiple_securities/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_multiple_securities/get/responses/response_200/content/application_json/__init__.py @@ -1008,7 +1008,7 @@ src/petstore_api/paths/fake_obj_in_query/get/parameters/__init__.py src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/__init__.py src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/schema.py src/petstore_api/paths/fake_obj_in_query/get/query_parameters.py -src/petstore_api/paths/fake_obj_in_query/get/responses/__init__.py +src/petstore_api/paths/fake_obj_in_query/get/response_responses/__init__.py src/petstore_api/paths/fake_obj_in_query/get/responses/response_200/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.py @@ -1060,7 +1060,7 @@ src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/request_body src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/request_body/content/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/responses/__init__.py +src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/response_responses/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/responses/response_200/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/responses/response_200/content/application_json/__init__.py @@ -1072,7 +1072,7 @@ src/petstore_api/paths/fake_pem_content_type/get/request_body/__init__.py src/petstore_api/paths/fake_pem_content_type/get/request_body/content/__init__.py src/petstore_api/paths/fake_pem_content_type/get/request_body/content/application_x_pem_file/__init__.py src/petstore_api/paths/fake_pem_content_type/get/request_body/content/application_x_pem_file/schema.py -src/petstore_api/paths/fake_pem_content_type/get/responses/__init__.py +src/petstore_api/paths/fake_pem_content_type/get/response_responses/__init__.py src/petstore_api/paths/fake_pem_content_type/get/responses/response_200/__init__.py src/petstore_api/paths/fake_pem_content_type/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_pem_content_type/get/responses/response_200/content/application_x_pem_file/__init__.py @@ -1088,7 +1088,7 @@ src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_ src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/__init__.py src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/responses/__init__.py +src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_responses/__init__.py src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/responses/response_200/__init__.py src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/responses/response_200/content/application_json/__init__.py @@ -1104,7 +1104,7 @@ src/petstore_api/paths/fake_query_param_with_json_content_type/get/parameters/pa src/petstore_api/paths/fake_query_param_with_json_content_type/get/parameters/parameter_0/content/application_json/__init__.py src/petstore_api/paths/fake_query_param_with_json_content_type/get/parameters/parameter_0/content/application_json/schema.py src/petstore_api/paths/fake_query_param_with_json_content_type/get/query_parameters.py -src/petstore_api/paths/fake_query_param_with_json_content_type/get/responses/__init__.py +src/petstore_api/paths/fake_query_param_with_json_content_type/get/response_responses/__init__.py src/petstore_api/paths/fake_query_param_with_json_content_type/get/responses/response_200/__init__.py src/petstore_api/paths/fake_query_param_with_json_content_type/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_query_param_with_json_content_type/get/responses/response_200/content/application_json/__init__.py @@ -1112,7 +1112,7 @@ src/petstore_api/paths/fake_query_param_with_json_content_type/get/responses/res src/petstore_api/paths/fake_redirection/__init__.py src/petstore_api/paths/fake_redirection/get/__init__.py src/petstore_api/paths/fake_redirection/get/operation.py -src/petstore_api/paths/fake_redirection/get/responses/__init__.py +src/petstore_api/paths/fake_redirection/get/response_responses/__init__.py src/petstore_api/paths/fake_redirection/get/responses/response_303/__init__.py src/petstore_api/paths/fake_redirection/get/responses/response_3xx/__init__.py src/petstore_api/paths/fake_ref_obj_in_query/__init__.py @@ -1122,7 +1122,7 @@ src/petstore_api/paths/fake_ref_obj_in_query/get/parameters/__init__.py src/petstore_api/paths/fake_ref_obj_in_query/get/parameters/parameter_0/__init__.py src/petstore_api/paths/fake_ref_obj_in_query/get/parameters/parameter_0/schema.py src/petstore_api/paths/fake_ref_obj_in_query/get/query_parameters.py -src/petstore_api/paths/fake_ref_obj_in_query/get/responses/__init__.py +src/petstore_api/paths/fake_ref_obj_in_query/get/response_responses/__init__.py src/petstore_api/paths/fake_ref_obj_in_query/get/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/__init__.py @@ -1131,7 +1131,7 @@ src/petstore_api/paths/fake_refs_array_of_enums/post/request_body/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_array_of_enums/post/responses/__init__.py +src/petstore_api/paths/fake_refs_array_of_enums/post/response_responses/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/responses/response_200/content/application_json/__init__.py @@ -1143,7 +1143,7 @@ src/petstore_api/paths/fake_refs_arraymodel/post/request_body/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_arraymodel/post/responses/__init__.py +src/petstore_api/paths/fake_refs_arraymodel/post/response_responses/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/responses/response_200/content/application_json/__init__.py @@ -1155,7 +1155,7 @@ src/petstore_api/paths/fake_refs_boolean/post/request_body/__init__.py src/petstore_api/paths/fake_refs_boolean/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_boolean/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_boolean/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_boolean/post/responses/__init__.py +src/petstore_api/paths/fake_refs_boolean/post/response_responses/__init__.py src/petstore_api/paths/fake_refs_boolean/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_boolean/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_boolean/post/responses/response_200/content/application_json/__init__.py @@ -1167,7 +1167,7 @@ src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/re src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/responses/__init__.py +src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_responses/__init__.py src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/responses/response_200/content/application_json/__init__.py @@ -1179,7 +1179,7 @@ src/petstore_api/paths/fake_refs_enum/post/request_body/__init__.py src/petstore_api/paths/fake_refs_enum/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_enum/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_enum/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_enum/post/responses/__init__.py +src/petstore_api/paths/fake_refs_enum/post/response_responses/__init__.py src/petstore_api/paths/fake_refs_enum/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_enum/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_enum/post/responses/response_200/content/application_json/__init__.py @@ -1191,7 +1191,7 @@ src/petstore_api/paths/fake_refs_mammal/post/request_body/__init__.py src/petstore_api/paths/fake_refs_mammal/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_mammal/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_mammal/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_mammal/post/responses/__init__.py +src/petstore_api/paths/fake_refs_mammal/post/response_responses/__init__.py src/petstore_api/paths/fake_refs_mammal/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_mammal/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_mammal/post/responses/response_200/content/application_json/__init__.py @@ -1203,7 +1203,7 @@ src/petstore_api/paths/fake_refs_number/post/request_body/__init__.py src/petstore_api/paths/fake_refs_number/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_number/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_number/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_number/post/responses/__init__.py +src/petstore_api/paths/fake_refs_number/post/response_responses/__init__.py src/petstore_api/paths/fake_refs_number/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_number/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_number/post/responses/response_200/content/application_json/__init__.py @@ -1215,7 +1215,7 @@ src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body/_ src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/responses/__init__.py +src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_responses/__init__.py src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/responses/response_200/content/application_json/__init__.py @@ -1227,7 +1227,7 @@ src/petstore_api/paths/fake_refs_string/post/request_body/__init__.py src/petstore_api/paths/fake_refs_string/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_string/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_string/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_string/post/responses/__init__.py +src/petstore_api/paths/fake_refs_string/post/response_responses/__init__.py src/petstore_api/paths/fake_refs_string/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_string/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_string/post/responses/response_200/content/application_json/__init__.py @@ -1235,7 +1235,7 @@ src/petstore_api/paths/fake_refs_string/post/responses/response_200/content/appl src/petstore_api/paths/fake_response_without_schema/__init__.py src/petstore_api/paths/fake_response_without_schema/get/__init__.py src/petstore_api/paths/fake_response_without_schema/get/operation.py -src/petstore_api/paths/fake_response_without_schema/get/responses/__init__.py +src/petstore_api/paths/fake_response_without_schema/get/response_responses/__init__.py src/petstore_api/paths/fake_response_without_schema/get/responses/response_200/__init__.py src/petstore_api/paths/fake_test_query_paramters/__init__.py src/petstore_api/paths/fake_test_query_paramters/put/__init__.py @@ -1254,7 +1254,7 @@ src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_4/sche src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_5/__init__.py src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_5/schema.py src/petstore_api/paths/fake_test_query_paramters/put/query_parameters.py -src/petstore_api/paths/fake_test_query_paramters/put/responses/__init__.py +src/petstore_api/paths/fake_test_query_paramters/put/response_responses/__init__.py src/petstore_api/paths/fake_test_query_paramters/put/responses/response_200/__init__.py src/petstore_api/paths/fake_upload_download_file/__init__.py src/petstore_api/paths/fake_upload_download_file/post/__init__.py @@ -1263,7 +1263,7 @@ src/petstore_api/paths/fake_upload_download_file/post/request_body/__init__.py src/petstore_api/paths/fake_upload_download_file/post/request_body/content/__init__.py src/petstore_api/paths/fake_upload_download_file/post/request_body/content/application_octet_stream/__init__.py src/petstore_api/paths/fake_upload_download_file/post/request_body/content/application_octet_stream/schema.py -src/petstore_api/paths/fake_upload_download_file/post/responses/__init__.py +src/petstore_api/paths/fake_upload_download_file/post/response_responses/__init__.py src/petstore_api/paths/fake_upload_download_file/post/responses/response_200/__init__.py src/petstore_api/paths/fake_upload_download_file/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_upload_download_file/post/responses/response_200/content/application_octet_stream/__init__.py @@ -1275,7 +1275,7 @@ src/petstore_api/paths/fake_upload_file/post/request_body/__init__.py src/petstore_api/paths/fake_upload_file/post/request_body/content/__init__.py src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/fake_upload_file/post/responses/__init__.py +src/petstore_api/paths/fake_upload_file/post/response_responses/__init__.py src/petstore_api/paths/fake_upload_file/post/responses/response_200/__init__.py src/petstore_api/paths/fake_upload_file/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_upload_file/post/responses/response_200/content/application_json/__init__.py @@ -1287,7 +1287,7 @@ src/petstore_api/paths/fake_upload_files/post/request_body/__init__.py src/petstore_api/paths/fake_upload_files/post/request_body/content/__init__.py src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/fake_upload_files/post/responses/__init__.py +src/petstore_api/paths/fake_upload_files/post/response_responses/__init__.py src/petstore_api/paths/fake_upload_files/post/responses/response_200/__init__.py src/petstore_api/paths/fake_upload_files/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_upload_files/post/responses/response_200/content/application_json/__init__.py @@ -1295,7 +1295,7 @@ src/petstore_api/paths/fake_upload_files/post/responses/response_200/content/app src/petstore_api/paths/fake_wild_card_responses/__init__.py src/petstore_api/paths/fake_wild_card_responses/get/__init__.py src/petstore_api/paths/fake_wild_card_responses/get/operation.py -src/petstore_api/paths/fake_wild_card_responses/get/responses/__init__.py +src/petstore_api/paths/fake_wild_card_responses/get/response_responses/__init__.py src/petstore_api/paths/fake_wild_card_responses/get/responses/response_1xx/__init__.py src/petstore_api/paths/fake_wild_card_responses/get/responses/response_1xx/content/__init__.py src/petstore_api/paths/fake_wild_card_responses/get/responses/response_1xx/content/application_json/__init__.py @@ -1323,7 +1323,7 @@ src/petstore_api/paths/fake_wild_card_responses/get/responses/response_5xx/conte src/petstore_api/paths/foo/__init__.py src/petstore_api/paths/foo/get/__init__.py src/petstore_api/paths/foo/get/operation.py -src/petstore_api/paths/foo/get/responses/__init__.py +src/petstore_api/paths/foo/get/response_responses/__init__.py src/petstore_api/paths/foo/get/responses/response_default/__init__.py src/petstore_api/paths/foo/get/responses/response_default/content/__init__.py src/petstore_api/paths/foo/get/responses/response_default/content/application_json/__init__.py @@ -1335,7 +1335,7 @@ src/petstore_api/paths/pet/__init__.py src/petstore_api/paths/pet/post/__init__.py src/petstore_api/paths/pet/post/operation.py src/petstore_api/paths/pet/post/request_body/__init__.py -src/petstore_api/paths/pet/post/responses/__init__.py +src/petstore_api/paths/pet/post/response_responses/__init__.py src/petstore_api/paths/pet/post/responses/response_200/__init__.py src/petstore_api/paths/pet/post/responses/response_405/__init__.py src/petstore_api/paths/pet/post/security/__init__.py @@ -1345,7 +1345,7 @@ src/petstore_api/paths/pet/post/security/security_requirement_object_2.py src/petstore_api/paths/pet/put/__init__.py src/petstore_api/paths/pet/put/operation.py src/petstore_api/paths/pet/put/request_body/__init__.py -src/petstore_api/paths/pet/put/responses/__init__.py +src/petstore_api/paths/pet/put/response_responses/__init__.py src/petstore_api/paths/pet/put/responses/response_400/__init__.py src/petstore_api/paths/pet/put/responses/response_404/__init__.py src/petstore_api/paths/pet/put/responses/response_405/__init__.py @@ -1359,7 +1359,7 @@ src/petstore_api/paths/pet_find_by_status/get/parameters/__init__.py src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/__init__.py src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/schema.py src/petstore_api/paths/pet_find_by_status/get/query_parameters.py -src/petstore_api/paths/pet_find_by_status/get/responses/__init__.py +src/petstore_api/paths/pet_find_by_status/get/response_responses/__init__.py src/petstore_api/paths/pet_find_by_status/get/responses/response_200/__init__.py src/petstore_api/paths/pet_find_by_status/get/responses/response_400/__init__.py src/petstore_api/paths/pet_find_by_status/get/security/__init__.py @@ -1376,7 +1376,7 @@ src/petstore_api/paths/pet_find_by_tags/get/parameters/__init__.py src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/__init__.py src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/schema.py src/petstore_api/paths/pet_find_by_tags/get/query_parameters.py -src/petstore_api/paths/pet_find_by_tags/get/responses/__init__.py +src/petstore_api/paths/pet_find_by_tags/get/response_responses/__init__.py src/petstore_api/paths/pet_find_by_tags/get/responses/response_200/__init__.py src/petstore_api/paths/pet_find_by_tags/get/responses/response_400/__init__.py src/petstore_api/paths/pet_find_by_tags/get/security/__init__.py @@ -1392,7 +1392,7 @@ src/petstore_api/paths/pet_pet_id/delete/parameters/parameter_0/schema.py src/petstore_api/paths/pet_pet_id/delete/parameters/parameter_1/__init__.py src/petstore_api/paths/pet_pet_id/delete/parameters/parameter_1/schema.py src/petstore_api/paths/pet_pet_id/delete/path_parameters.py -src/petstore_api/paths/pet_pet_id/delete/responses/__init__.py +src/petstore_api/paths/pet_pet_id/delete/response_responses/__init__.py src/petstore_api/paths/pet_pet_id/delete/responses/response_400/__init__.py src/petstore_api/paths/pet_pet_id/delete/security/__init__.py src/petstore_api/paths/pet_pet_id/delete/security/security_requirement_object_0.py @@ -1403,7 +1403,7 @@ src/petstore_api/paths/pet_pet_id/get/parameters/__init__.py src/petstore_api/paths/pet_pet_id/get/parameters/parameter_0/__init__.py src/petstore_api/paths/pet_pet_id/get/parameters/parameter_0/schema.py src/petstore_api/paths/pet_pet_id/get/path_parameters.py -src/petstore_api/paths/pet_pet_id/get/responses/__init__.py +src/petstore_api/paths/pet_pet_id/get/response_responses/__init__.py src/petstore_api/paths/pet_pet_id/get/responses/response_200/__init__.py src/petstore_api/paths/pet_pet_id/get/responses/response_200/content/__init__.py src/petstore_api/paths/pet_pet_id/get/responses/response_200/content/application_json/__init__.py @@ -1424,7 +1424,7 @@ src/petstore_api/paths/pet_pet_id/post/request_body/__init__.py src/petstore_api/paths/pet_pet_id/post/request_body/content/__init__.py src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/__init__.py src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/schema.py -src/petstore_api/paths/pet_pet_id/post/responses/__init__.py +src/petstore_api/paths/pet_pet_id/post/response_responses/__init__.py src/petstore_api/paths/pet_pet_id/post/responses/response_405/__init__.py src/petstore_api/paths/pet_pet_id/post/security/__init__.py src/petstore_api/paths/pet_pet_id/post/security/security_requirement_object_0.py @@ -1440,19 +1440,19 @@ src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/pet_pet_id_upload_image/post/responses/__init__.py +src/petstore_api/paths/pet_pet_id_upload_image/post/response_responses/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/responses/response_200/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/security/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/security/security_requirement_object_0.py src/petstore_api/paths/solidus/__init__.py src/petstore_api/paths/solidus/get/__init__.py src/petstore_api/paths/solidus/get/operation.py -src/petstore_api/paths/solidus/get/responses/__init__.py +src/petstore_api/paths/solidus/get/response_responses/__init__.py src/petstore_api/paths/solidus/get/responses/response_200/__init__.py src/petstore_api/paths/store_inventory/__init__.py src/petstore_api/paths/store_inventory/get/__init__.py src/petstore_api/paths/store_inventory/get/operation.py -src/petstore_api/paths/store_inventory/get/responses/__init__.py +src/petstore_api/paths/store_inventory/get/response_responses/__init__.py src/petstore_api/paths/store_inventory/get/responses/response_200/__init__.py src/petstore_api/paths/store_inventory/get/security/__init__.py src/petstore_api/paths/store_inventory/get/security/security_requirement_object_0.py @@ -1463,7 +1463,7 @@ src/petstore_api/paths/store_order/post/request_body/__init__.py src/petstore_api/paths/store_order/post/request_body/content/__init__.py src/petstore_api/paths/store_order/post/request_body/content/application_json/__init__.py src/petstore_api/paths/store_order/post/request_body/content/application_json/schema.py -src/petstore_api/paths/store_order/post/responses/__init__.py +src/petstore_api/paths/store_order/post/response_responses/__init__.py src/petstore_api/paths/store_order/post/responses/response_200/__init__.py src/petstore_api/paths/store_order/post/responses/response_200/content/__init__.py src/petstore_api/paths/store_order/post/responses/response_200/content/application_json/__init__.py @@ -1478,7 +1478,7 @@ src/petstore_api/paths/store_order_order_id/delete/parameters/__init__.py src/petstore_api/paths/store_order_order_id/delete/parameters/parameter_0/__init__.py src/petstore_api/paths/store_order_order_id/delete/parameters/parameter_0/schema.py src/petstore_api/paths/store_order_order_id/delete/path_parameters.py -src/petstore_api/paths/store_order_order_id/delete/responses/__init__.py +src/petstore_api/paths/store_order_order_id/delete/response_responses/__init__.py src/petstore_api/paths/store_order_order_id/delete/responses/response_400/__init__.py src/petstore_api/paths/store_order_order_id/delete/responses/response_404/__init__.py src/petstore_api/paths/store_order_order_id/get/__init__.py @@ -1487,7 +1487,7 @@ src/petstore_api/paths/store_order_order_id/get/parameters/__init__.py src/petstore_api/paths/store_order_order_id/get/parameters/parameter_0/__init__.py src/petstore_api/paths/store_order_order_id/get/parameters/parameter_0/schema.py src/petstore_api/paths/store_order_order_id/get/path_parameters.py -src/petstore_api/paths/store_order_order_id/get/responses/__init__.py +src/petstore_api/paths/store_order_order_id/get/response_responses/__init__.py src/petstore_api/paths/store_order_order_id/get/responses/response_200/__init__.py src/petstore_api/paths/store_order_order_id/get/responses/response_200/content/__init__.py src/petstore_api/paths/store_order_order_id/get/responses/response_200/content/application_json/__init__.py @@ -1503,19 +1503,19 @@ src/petstore_api/paths/user/post/request_body/__init__.py src/petstore_api/paths/user/post/request_body/content/__init__.py src/petstore_api/paths/user/post/request_body/content/application_json/__init__.py src/petstore_api/paths/user/post/request_body/content/application_json/schema.py -src/petstore_api/paths/user/post/responses/__init__.py +src/petstore_api/paths/user/post/response_responses/__init__.py src/petstore_api/paths/user/post/responses/response_default/__init__.py src/petstore_api/paths/user_create_with_array/__init__.py src/petstore_api/paths/user_create_with_array/post/__init__.py src/petstore_api/paths/user_create_with_array/post/operation.py src/petstore_api/paths/user_create_with_array/post/request_body/__init__.py -src/petstore_api/paths/user_create_with_array/post/responses/__init__.py +src/petstore_api/paths/user_create_with_array/post/response_responses/__init__.py src/petstore_api/paths/user_create_with_array/post/responses/response_default/__init__.py src/petstore_api/paths/user_create_with_list/__init__.py src/petstore_api/paths/user_create_with_list/post/__init__.py src/petstore_api/paths/user_create_with_list/post/operation.py src/petstore_api/paths/user_create_with_list/post/request_body/__init__.py -src/petstore_api/paths/user_create_with_list/post/responses/__init__.py +src/petstore_api/paths/user_create_with_list/post/response_responses/__init__.py src/petstore_api/paths/user_create_with_list/post/responses/response_default/__init__.py src/petstore_api/paths/user_login/__init__.py src/petstore_api/paths/user_login/get/__init__.py @@ -1526,7 +1526,7 @@ src/petstore_api/paths/user_login/get/parameters/parameter_0/schema.py src/petstore_api/paths/user_login/get/parameters/parameter_1/__init__.py src/petstore_api/paths/user_login/get/parameters/parameter_1/schema.py src/petstore_api/paths/user_login/get/query_parameters.py -src/petstore_api/paths/user_login/get/responses/__init__.py +src/petstore_api/paths/user_login/get/response_responses/__init__.py src/petstore_api/paths/user_login/get/responses/response_200/__init__.py src/petstore_api/paths/user_login/get/responses/response_200/content/__init__.py src/petstore_api/paths/user_login/get/responses/response_200/content/application_json/__init__.py @@ -1548,7 +1548,7 @@ src/petstore_api/paths/user_login/get/responses/response_400/__init__.py src/petstore_api/paths/user_logout/__init__.py src/petstore_api/paths/user_logout/get/__init__.py src/petstore_api/paths/user_logout/get/operation.py -src/petstore_api/paths/user_logout/get/responses/__init__.py +src/petstore_api/paths/user_logout/get/response_responses/__init__.py src/petstore_api/paths/user_logout/get/responses/response_default/__init__.py src/petstore_api/paths/user_username/__init__.py src/petstore_api/paths/user_username/delete/__init__.py @@ -1556,7 +1556,7 @@ src/petstore_api/paths/user_username/delete/operation.py src/petstore_api/paths/user_username/delete/parameters/__init__.py src/petstore_api/paths/user_username/delete/parameters/parameter_0/__init__.py src/petstore_api/paths/user_username/delete/path_parameters.py -src/petstore_api/paths/user_username/delete/responses/__init__.py +src/petstore_api/paths/user_username/delete/response_responses/__init__.py src/petstore_api/paths/user_username/delete/responses/response_200/__init__.py src/petstore_api/paths/user_username/delete/responses/response_404/__init__.py src/petstore_api/paths/user_username/get/__init__.py @@ -1564,7 +1564,7 @@ src/petstore_api/paths/user_username/get/operation.py src/petstore_api/paths/user_username/get/parameters/__init__.py src/petstore_api/paths/user_username/get/parameters/parameter_0/__init__.py src/petstore_api/paths/user_username/get/path_parameters.py -src/petstore_api/paths/user_username/get/responses/__init__.py +src/petstore_api/paths/user_username/get/response_responses/__init__.py src/petstore_api/paths/user_username/get/responses/response_200/__init__.py src/petstore_api/paths/user_username/get/responses/response_200/content/__init__.py src/petstore_api/paths/user_username/get/responses/response_200/content/application_json/__init__.py @@ -1582,7 +1582,7 @@ src/petstore_api/paths/user_username/put/request_body/__init__.py src/petstore_api/paths/user_username/put/request_body/content/__init__.py src/petstore_api/paths/user_username/put/request_body/content/application_json/__init__.py src/petstore_api/paths/user_username/put/request_body/content/application_json/schema.py -src/petstore_api/paths/user_username/put/responses/__init__.py +src/petstore_api/paths/user_username/put/response_responses/__init__.py src/petstore_api/paths/user_username/put/responses/response_400/__init__.py src/petstore_api/paths/user_username/put/responses/response_404/__init__.py src/petstore_api/py.typed diff --git a/samples/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/delete/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake/delete/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake/patch/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake/patch/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_health/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_health/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_request_body_content_types/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_request_body_content_types/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_pem_content_type/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_pem_content_type/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_redirection/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_redirection/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_wild_card_responses/get/operation.py b/samples/client/petstore/python/src/petstore_api/paths/fake_wild_card_responses/get/operation.py index a27c7eedc68..42fa174b2b3 100644 --- a/samples/client/petstore/python/src/petstore_api/paths/fake_wild_card_responses/get/operation.py +++ b/samples/client/petstore/python/src/petstore_api/paths/fake_wild_card_responses/get/operation.py @@ -73,8 +73,9 @@ def _wild_card_responses( stream: bool = False, timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, ) -> typing.Union[ - response_200.ApiResponse, + response_1xx.ApiResponse, response_2xx.ApiResponse, + response_200.ApiResponse, response_3xx.ApiResponse, ]: ... diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_wild_card_responses/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_wild_card_responses/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/foo/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/foo/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet/put/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/solidus/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/solidus/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/store_inventory/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/store_inventory/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/store_order/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/store_order/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/user/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_login/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_login/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_logout/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_logout/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_username/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_username/delete/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_username/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_username/get/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_username/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_username/put/response_responses/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java b/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java index 2ba41b5bf67..7c1a35ae9a5 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/JavaClientGenerator.java @@ -779,9 +779,9 @@ public void processOpts() { packagePath() + File.separatorChar + "response", "ApiResponse.java")); supportingFiles.add(new SupportingFile( - "src/main/java/packagename/response/DeserializedApiResponse.hbs", + "src/main/java/packagename/response/DeserializedHttpResponse.hbs", packagePath() + File.separatorChar + "response", - "DeserializedApiResponse.java")); + "DeserializedHttpResponse.java")); supportingFiles.add(new SupportingFile( "src/main/java/packagename/response/ResponseDeserializer.hbs", packagePath() + File.separatorChar + "response", diff --git a/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs b/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs index f7e0fb6aab0..b1cf695c070 100644 --- a/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs +++ b/src/main/resources/java/src/main/java/packagename/components/responses/Response.hbs @@ -12,7 +12,7 @@ public class {{jsonPathPiece.pascalCase}} extends {{refInfo.refModule}} { {{else}} import {{packageName}}.configurations.SchemaConfiguration; import {{packageName}}.response.ResponseDeserializer; -import {{packageName}}.response.ApiResponse; +import {{packageName}}.response.DeserializedHttpResponse; import {{packageName}}.exceptions.ApiException; {{#if hasContentSchema}} import {{packageName}}.mediatype.MediaType; @@ -107,21 +107,21 @@ public class {{jsonPathPiece.pascalCase}} { {{#if hasContentSchema}} @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } {{else}} @SuppressWarnings("serial") public static class ResponseApiException extends ApiException { - public ApiResponse apiResponse; + public DeserializedHttpResponse deserializedResponse; - public ResponseApiException(String s, HttpResponse response, ApiResponse apiResponse) { + public ResponseApiException(String s, HttpResponse response, DeserializedHttpResponse deserializedResponse) { super(s, response); - this.apiResponse = apiResponse; + this.deserializedResponse = deserializedResponse; } } {{/if}} diff --git a/src/main/resources/java/src/main/java/packagename/response/DeserializedApiResponse.hbs b/src/main/resources/java/src/main/java/packagename/response/DeserializedApiResponse.hbs deleted file mode 100644 index 42a0147019a..00000000000 --- a/src/main/resources/java/src/main/java/packagename/response/DeserializedApiResponse.hbs +++ /dev/null @@ -1,8 +0,0 @@ -package {{{packageName}}}.response; - -import java.net.http.HttpResponse; - -public record DeserializedApiResponse(HttpResponse response, - SealedBodyOutputClass body, - HeaderOutputClass headers) implements ApiResponse { -} \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/response/DeserializedHttpResponse.hbs b/src/main/resources/java/src/main/java/packagename/response/DeserializedHttpResponse.hbs new file mode 100644 index 00000000000..6c7d2077a45 --- /dev/null +++ b/src/main/resources/java/src/main/java/packagename/response/DeserializedHttpResponse.hbs @@ -0,0 +1,6 @@ +package {{{packageName}}}.response; + +import java.net.http.HttpResponse; + +public record DeserializedHttpResponse(SealedBodyOutputClass body, HeaderOutputClass headers) { +} \ No newline at end of file diff --git a/src/main/resources/java/src/main/java/packagename/response/ResponseDeserializer.hbs b/src/main/resources/java/src/main/java/packagename/response/ResponseDeserializer.hbs index 289c8e0fe87..1373ade2a7c 100644 --- a/src/main/resources/java/src/main/java/packagename/response/ResponseDeserializer.hbs +++ b/src/main/resources/java/src/main/java/packagename/response/ResponseDeserializer.hbs @@ -63,7 +63,7 @@ public abstract class ResponseDeserializer deserialize(HttpResponse response, SchemaConfiguration configuration) { + public DeserializedHttpResponse deserialize(HttpResponse response, SchemaConfiguration configuration) { Optional contentTypeInfo = response.headers().firstValue("Content-Type"); if (contentTypeInfo.isEmpty()) { throw new RuntimeException("Invalid response returned, Content-Type header is missing and it must be included"); @@ -78,6 +78,6 @@ public abstract class ResponseDeserializer(response, body, headers); + return new DeserializedHttpResponse<>(body, headers); } } \ No newline at end of file diff --git a/src/main/resources/java/src/test/java/packagename/response/ResponseDeserializerTest.hbs b/src/main/resources/java/src/test/java/packagename/response/ResponseDeserializerTest.hbs index e39c223ca31..53be13892f3 100644 --- a/src/main/resources/java/src/test/java/packagename/response/ResponseDeserializerTest.hbs +++ b/src/main/resources/java/src/test/java/packagename/response/ResponseDeserializerTest.hbs @@ -157,8 +157,7 @@ public class ResponseDeserializerTest { byte[] bodyBytes = toJson(null).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -174,8 +173,7 @@ public class ResponseDeserializerTest { byte[] bodyBytes = toJson(true).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -191,8 +189,7 @@ public class ResponseDeserializerTest { byte[] bodyBytes = toJson(false).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -208,8 +205,7 @@ public class ResponseDeserializerTest { byte[] bodyBytes = toJson(1).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -225,8 +221,7 @@ public class ResponseDeserializerTest { byte[] bodyBytes = toJson(3.14).getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } @@ -242,8 +237,7 @@ public class ResponseDeserializerTest { byte[] bodyBytes = toJson("a").getBytes(StandardCharsets.UTF_8); BytesHttpResponse response = new BytesHttpResponse(bodyBytes, "application/json"); SchemaConfiguration configuration = new SchemaConfiguration(JsonSchemaKeywordFlags.ofNone()); - ApiResponse apiResponse = deserializer.deserialize(response, configuration); - Assert.assertEquals(response, apiResponse.response()); + DeserializedHttpResponse apiResponse = deserializer.deserialize(response, configuration); if (!(apiResponse.body() instanceof ApplicationjsonBody jsonBody)) { throw new RuntimeException("body must be type ApplicationjsonBody"); } From c46b486887b76d27e506a5163b1bffa5416b81af Mon Sep 17 00:00:00 2001 From: Justin Black Date: Tue, 27 Feb 2024 13:42:59 -0800 Subject: [PATCH 17/18] Fixes python files in petstore --- .../petstore/python/.openapi-generator/FILES | 134 +++++++++--------- .../patch/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../fake/get/response_responses/__init__.py | 0 .../fake/patch/response_responses/__init__.py | 0 .../fake/post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../put/response_responses/__init__.py | 0 .../put/response_responses/__init__.py | 0 .../put/response_responses/__init__.py | 0 .../patch/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../patch/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../put/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../foo/get/response_responses/__init__.py | 0 .../pet/post/response_responses/__init__.py | 0 .../pet/put/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../user/post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../delete/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../put/response_responses/__init__.py | 0 .../generators/PythonClientGenerator.java | 25 ++-- 69 files changed, 84 insertions(+), 75 deletions(-) delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/delete/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake/delete/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake/patch/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_health/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_multiple_request_body_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_pem_content_type/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_redirection/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/fake_wild_card_responses/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/foo/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet/put/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/solidus/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/store_inventory/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/store_order/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/user/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_login/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_logout/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_username/delete/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_username/get/response_responses/__init__.py delete mode 100644 samples/client/petstore/python/src/petstore_api/paths/user_username/put/response_responses/__init__.py diff --git a/samples/client/petstore/python/.openapi-generator/FILES b/samples/client/petstore/python/.openapi-generator/FILES index 5a0722d6c85..922904e5692 100644 --- a/samples/client/petstore/python/.openapi-generator/FILES +++ b/samples/client/petstore/python/.openapi-generator/FILES @@ -720,7 +720,7 @@ src/petstore_api/paths/another_fake_dummy/__init__.py src/petstore_api/paths/another_fake_dummy/patch/__init__.py src/petstore_api/paths/another_fake_dummy/patch/operation.py src/petstore_api/paths/another_fake_dummy/patch/request_body/__init__.py -src/petstore_api/paths/another_fake_dummy/patch/response_responses/__init__.py +src/petstore_api/paths/another_fake_dummy/patch/responses/__init__.py src/petstore_api/paths/another_fake_dummy/patch/responses/response_200/__init__.py src/petstore_api/paths/another_fake_dummy/patch/responses/response_200/content/__init__.py src/petstore_api/paths/another_fake_dummy/patch/responses/response_200/content/application_json/__init__.py @@ -735,7 +735,7 @@ src/petstore_api/paths/common_param_sub_dir/delete/parameters/parameter_0/schema src/petstore_api/paths/common_param_sub_dir/delete/parameters/parameter_1/__init__.py src/petstore_api/paths/common_param_sub_dir/delete/parameters/parameter_1/schema.py src/petstore_api/paths/common_param_sub_dir/delete/path_parameters.py -src/petstore_api/paths/common_param_sub_dir/delete/response_responses/__init__.py +src/petstore_api/paths/common_param_sub_dir/delete/responses/__init__.py src/petstore_api/paths/common_param_sub_dir/delete/responses/response_200/__init__.py src/petstore_api/paths/common_param_sub_dir/get/__init__.py src/petstore_api/paths/common_param_sub_dir/get/operation.py @@ -744,7 +744,7 @@ src/petstore_api/paths/common_param_sub_dir/get/parameters/parameter_0/__init__. src/petstore_api/paths/common_param_sub_dir/get/parameters/parameter_0/schema.py src/petstore_api/paths/common_param_sub_dir/get/path_parameters.py src/petstore_api/paths/common_param_sub_dir/get/query_parameters.py -src/petstore_api/paths/common_param_sub_dir/get/response_responses/__init__.py +src/petstore_api/paths/common_param_sub_dir/get/responses/__init__.py src/petstore_api/paths/common_param_sub_dir/get/responses/response_200/__init__.py src/petstore_api/paths/common_param_sub_dir/parameters/__init__.py src/petstore_api/paths/common_param_sub_dir/parameters/parameter_0/__init__.py @@ -756,7 +756,7 @@ src/petstore_api/paths/common_param_sub_dir/post/parameters/__init__.py src/petstore_api/paths/common_param_sub_dir/post/parameters/parameter_0/__init__.py src/petstore_api/paths/common_param_sub_dir/post/parameters/parameter_0/schema.py src/petstore_api/paths/common_param_sub_dir/post/path_parameters.py -src/petstore_api/paths/common_param_sub_dir/post/response_responses/__init__.py +src/petstore_api/paths/common_param_sub_dir/post/responses/__init__.py src/petstore_api/paths/common_param_sub_dir/post/responses/response_200/__init__.py src/petstore_api/paths/fake/__init__.py src/petstore_api/paths/fake/delete/__init__.py @@ -776,7 +776,7 @@ src/petstore_api/paths/fake/delete/parameters/parameter_4/schema.py src/petstore_api/paths/fake/delete/parameters/parameter_5/__init__.py src/petstore_api/paths/fake/delete/parameters/parameter_5/schema.py src/petstore_api/paths/fake/delete/query_parameters.py -src/petstore_api/paths/fake/delete/response_responses/__init__.py +src/petstore_api/paths/fake/delete/responses/__init__.py src/petstore_api/paths/fake/delete/responses/response_200/__init__.py src/petstore_api/paths/fake/delete/security/__init__.py src/petstore_api/paths/fake/delete/security/security_requirement_object_0.py @@ -801,7 +801,7 @@ src/petstore_api/paths/fake/get/request_body/__init__.py src/petstore_api/paths/fake/get/request_body/content/__init__.py src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/__init__.py src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/schema.py -src/petstore_api/paths/fake/get/response_responses/__init__.py +src/petstore_api/paths/fake/get/responses/__init__.py src/petstore_api/paths/fake/get/responses/response_200/__init__.py src/petstore_api/paths/fake/get/responses/response_404/__init__.py src/petstore_api/paths/fake/get/responses/response_404/content/__init__.py @@ -810,7 +810,7 @@ src/petstore_api/paths/fake/get/responses/response_404/content/application_json/ src/petstore_api/paths/fake/patch/__init__.py src/petstore_api/paths/fake/patch/operation.py src/petstore_api/paths/fake/patch/request_body/__init__.py -src/petstore_api/paths/fake/patch/response_responses/__init__.py +src/petstore_api/paths/fake/patch/responses/__init__.py src/petstore_api/paths/fake/patch/responses/response_200/__init__.py src/petstore_api/paths/fake/patch/responses/response_200/content/__init__.py src/petstore_api/paths/fake/patch/responses/response_200/content/application_json/__init__.py @@ -821,7 +821,7 @@ src/petstore_api/paths/fake/post/request_body/__init__.py src/petstore_api/paths/fake/post/request_body/content/__init__.py src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/__init__.py src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/schema.py -src/petstore_api/paths/fake/post/response_responses/__init__.py +src/petstore_api/paths/fake/post/responses/__init__.py src/petstore_api/paths/fake/post/responses/response_200/__init__.py src/petstore_api/paths/fake/post/responses/response_404/__init__.py src/petstore_api/paths/fake/post/security/__init__.py @@ -833,7 +833,7 @@ src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/reques src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/request_body/content/__init__.py src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_responses/__init__.py +src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/responses/__init__.py src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/responses/response_200/__init__.py src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/responses/response_200/content/application_json/__init__.py @@ -845,7 +845,7 @@ src/petstore_api/paths/fake_body_with_file_schema/put/request_body/__init__.py src/petstore_api/paths/fake_body_with_file_schema/put/request_body/content/__init__.py src/petstore_api/paths/fake_body_with_file_schema/put/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_body_with_file_schema/put/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_body_with_file_schema/put/response_responses/__init__.py +src/petstore_api/paths/fake_body_with_file_schema/put/responses/__init__.py src/petstore_api/paths/fake_body_with_file_schema/put/responses/response_200/__init__.py src/petstore_api/paths/fake_body_with_query_params/__init__.py src/petstore_api/paths/fake_body_with_query_params/put/__init__.py @@ -858,7 +858,7 @@ src/petstore_api/paths/fake_body_with_query_params/put/request_body/__init__.py src/petstore_api/paths/fake_body_with_query_params/put/request_body/content/__init__.py src/petstore_api/paths/fake_body_with_query_params/put/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_body_with_query_params/put/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_body_with_query_params/put/response_responses/__init__.py +src/petstore_api/paths/fake_body_with_query_params/put/responses/__init__.py src/petstore_api/paths/fake_body_with_query_params/put/responses/response_200/__init__.py src/petstore_api/paths/fake_case_sensitive_params/__init__.py src/petstore_api/paths/fake_case_sensitive_params/put/__init__.py @@ -871,13 +871,13 @@ src/petstore_api/paths/fake_case_sensitive_params/put/parameters/parameter_1/sch src/petstore_api/paths/fake_case_sensitive_params/put/parameters/parameter_2/__init__.py src/petstore_api/paths/fake_case_sensitive_params/put/parameters/parameter_2/schema.py src/petstore_api/paths/fake_case_sensitive_params/put/query_parameters.py -src/petstore_api/paths/fake_case_sensitive_params/put/response_responses/__init__.py +src/petstore_api/paths/fake_case_sensitive_params/put/responses/__init__.py src/petstore_api/paths/fake_case_sensitive_params/put/responses/response_200/__init__.py src/petstore_api/paths/fake_classname_test/__init__.py src/petstore_api/paths/fake_classname_test/patch/__init__.py src/petstore_api/paths/fake_classname_test/patch/operation.py src/petstore_api/paths/fake_classname_test/patch/request_body/__init__.py -src/petstore_api/paths/fake_classname_test/patch/response_responses/__init__.py +src/petstore_api/paths/fake_classname_test/patch/responses/__init__.py src/petstore_api/paths/fake_classname_test/patch/responses/response_200/__init__.py src/petstore_api/paths/fake_classname_test/patch/responses/response_200/content/__init__.py src/petstore_api/paths/fake_classname_test/patch/responses/response_200/content/application_json/__init__.py @@ -891,13 +891,13 @@ src/petstore_api/paths/fake_delete_coffee_id/delete/parameters/__init__.py src/petstore_api/paths/fake_delete_coffee_id/delete/parameters/parameter_0/__init__.py src/petstore_api/paths/fake_delete_coffee_id/delete/parameters/parameter_0/schema.py src/petstore_api/paths/fake_delete_coffee_id/delete/path_parameters.py -src/petstore_api/paths/fake_delete_coffee_id/delete/response_responses/__init__.py +src/petstore_api/paths/fake_delete_coffee_id/delete/responses/__init__.py src/petstore_api/paths/fake_delete_coffee_id/delete/responses/response_200/__init__.py src/petstore_api/paths/fake_delete_coffee_id/delete/responses/response_default/__init__.py src/petstore_api/paths/fake_health/__init__.py src/petstore_api/paths/fake_health/get/__init__.py src/petstore_api/paths/fake_health/get/operation.py -src/petstore_api/paths/fake_health/get/response_responses/__init__.py +src/petstore_api/paths/fake_health/get/responses/__init__.py src/petstore_api/paths/fake_health/get/responses/response_200/__init__.py src/petstore_api/paths/fake_health/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_health/get/responses/response_200/content/application_json/__init__.py @@ -909,7 +909,7 @@ src/petstore_api/paths/fake_inline_additional_properties/post/request_body/__ini src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/__init__.py src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_inline_additional_properties/post/response_responses/__init__.py +src/petstore_api/paths/fake_inline_additional_properties/post/responses/__init__.py src/petstore_api/paths/fake_inline_additional_properties/post/responses/response_200/__init__.py src/petstore_api/paths/fake_inline_composition/__init__.py src/petstore_api/paths/fake_inline_composition/post/__init__.py @@ -926,7 +926,7 @@ src/petstore_api/paths/fake_inline_composition/post/request_body/content/applica src/petstore_api/paths/fake_inline_composition/post/request_body/content/application_json/schema.py src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/fake_inline_composition/post/response_responses/__init__.py +src/petstore_api/paths/fake_inline_composition/post/responses/__init__.py src/petstore_api/paths/fake_inline_composition/post/responses/response_200/__init__.py src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/application_json/__init__.py @@ -940,7 +940,7 @@ src/petstore_api/paths/fake_json_form_data/get/request_body/__init__.py src/petstore_api/paths/fake_json_form_data/get/request_body/content/__init__.py src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/__init__.py src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/schema.py -src/petstore_api/paths/fake_json_form_data/get/response_responses/__init__.py +src/petstore_api/paths/fake_json_form_data/get/responses/__init__.py src/petstore_api/paths/fake_json_form_data/get/responses/response_200/__init__.py src/petstore_api/paths/fake_json_patch/__init__.py src/petstore_api/paths/fake_json_patch/patch/__init__.py @@ -949,7 +949,7 @@ src/petstore_api/paths/fake_json_patch/patch/request_body/__init__.py src/petstore_api/paths/fake_json_patch/patch/request_body/content/__init__.py src/petstore_api/paths/fake_json_patch/patch/request_body/content/application_json_patchjson/__init__.py src/petstore_api/paths/fake_json_patch/patch/request_body/content/application_json_patchjson/schema.py -src/petstore_api/paths/fake_json_patch/patch/response_responses/__init__.py +src/petstore_api/paths/fake_json_patch/patch/responses/__init__.py src/petstore_api/paths/fake_json_patch/patch/responses/response_200/__init__.py src/petstore_api/paths/fake_json_with_charset/__init__.py src/petstore_api/paths/fake_json_with_charset/post/__init__.py @@ -958,7 +958,7 @@ src/petstore_api/paths/fake_json_with_charset/post/request_body/__init__.py src/petstore_api/paths/fake_json_with_charset/post/request_body/content/__init__.py src/petstore_api/paths/fake_json_with_charset/post/request_body/content/application_json_charsetutf8/__init__.py src/petstore_api/paths/fake_json_with_charset/post/request_body/content/application_json_charsetutf8/schema.py -src/petstore_api/paths/fake_json_with_charset/post/response_responses/__init__.py +src/petstore_api/paths/fake_json_with_charset/post/responses/__init__.py src/petstore_api/paths/fake_json_with_charset/post/responses/response_200/__init__.py src/petstore_api/paths/fake_json_with_charset/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_json_with_charset/post/responses/response_200/content/application_json_charsetutf8/__init__.py @@ -972,7 +972,7 @@ src/petstore_api/paths/fake_multiple_request_body_content_types/post/request_bod src/petstore_api/paths/fake_multiple_request_body_content_types/post/request_body/content/application_json/schema.py src/petstore_api/paths/fake_multiple_request_body_content_types/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/fake_multiple_request_body_content_types/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/fake_multiple_request_body_content_types/post/response_responses/__init__.py +src/petstore_api/paths/fake_multiple_request_body_content_types/post/responses/__init__.py src/petstore_api/paths/fake_multiple_request_body_content_types/post/responses/response_200/__init__.py src/petstore_api/paths/fake_multiple_request_body_content_types/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_multiple_request_body_content_types/post/responses/response_200/content/application_json/__init__.py @@ -980,7 +980,7 @@ src/petstore_api/paths/fake_multiple_request_body_content_types/post/responses/r src/petstore_api/paths/fake_multiple_response_bodies/__init__.py src/petstore_api/paths/fake_multiple_response_bodies/get/__init__.py src/petstore_api/paths/fake_multiple_response_bodies/get/operation.py -src/petstore_api/paths/fake_multiple_response_bodies/get/response_responses/__init__.py +src/petstore_api/paths/fake_multiple_response_bodies/get/responses/__init__.py src/petstore_api/paths/fake_multiple_response_bodies/get/responses/response_200/__init__.py src/petstore_api/paths/fake_multiple_response_bodies/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_multiple_response_bodies/get/responses/response_200/content/application_json/__init__.py @@ -992,7 +992,7 @@ src/petstore_api/paths/fake_multiple_response_bodies/get/responses/response_202/ src/petstore_api/paths/fake_multiple_securities/__init__.py src/petstore_api/paths/fake_multiple_securities/get/__init__.py src/petstore_api/paths/fake_multiple_securities/get/operation.py -src/petstore_api/paths/fake_multiple_securities/get/response_responses/__init__.py +src/petstore_api/paths/fake_multiple_securities/get/responses/__init__.py src/petstore_api/paths/fake_multiple_securities/get/responses/response_200/__init__.py src/petstore_api/paths/fake_multiple_securities/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_multiple_securities/get/responses/response_200/content/application_json/__init__.py @@ -1008,7 +1008,7 @@ src/petstore_api/paths/fake_obj_in_query/get/parameters/__init__.py src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/__init__.py src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/schema.py src/petstore_api/paths/fake_obj_in_query/get/query_parameters.py -src/petstore_api/paths/fake_obj_in_query/get/response_responses/__init__.py +src/petstore_api/paths/fake_obj_in_query/get/responses/__init__.py src/petstore_api/paths/fake_obj_in_query/get/responses/response_200/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/__init__.py @@ -1060,7 +1060,7 @@ src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/request_body src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/request_body/content/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/response_responses/__init__.py +src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/responses/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/responses/response_200/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/responses/response_200/content/application_json/__init__.py @@ -1072,7 +1072,7 @@ src/petstore_api/paths/fake_pem_content_type/get/request_body/__init__.py src/petstore_api/paths/fake_pem_content_type/get/request_body/content/__init__.py src/petstore_api/paths/fake_pem_content_type/get/request_body/content/application_x_pem_file/__init__.py src/petstore_api/paths/fake_pem_content_type/get/request_body/content/application_x_pem_file/schema.py -src/petstore_api/paths/fake_pem_content_type/get/response_responses/__init__.py +src/petstore_api/paths/fake_pem_content_type/get/responses/__init__.py src/petstore_api/paths/fake_pem_content_type/get/responses/response_200/__init__.py src/petstore_api/paths/fake_pem_content_type/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_pem_content_type/get/responses/response_200/content/application_x_pem_file/__init__.py @@ -1088,7 +1088,7 @@ src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_ src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/__init__.py src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_responses/__init__.py +src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/responses/__init__.py src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/responses/response_200/__init__.py src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/responses/response_200/content/application_json/__init__.py @@ -1104,7 +1104,7 @@ src/petstore_api/paths/fake_query_param_with_json_content_type/get/parameters/pa src/petstore_api/paths/fake_query_param_with_json_content_type/get/parameters/parameter_0/content/application_json/__init__.py src/petstore_api/paths/fake_query_param_with_json_content_type/get/parameters/parameter_0/content/application_json/schema.py src/petstore_api/paths/fake_query_param_with_json_content_type/get/query_parameters.py -src/petstore_api/paths/fake_query_param_with_json_content_type/get/response_responses/__init__.py +src/petstore_api/paths/fake_query_param_with_json_content_type/get/responses/__init__.py src/petstore_api/paths/fake_query_param_with_json_content_type/get/responses/response_200/__init__.py src/petstore_api/paths/fake_query_param_with_json_content_type/get/responses/response_200/content/__init__.py src/petstore_api/paths/fake_query_param_with_json_content_type/get/responses/response_200/content/application_json/__init__.py @@ -1112,7 +1112,7 @@ src/petstore_api/paths/fake_query_param_with_json_content_type/get/responses/res src/petstore_api/paths/fake_redirection/__init__.py src/petstore_api/paths/fake_redirection/get/__init__.py src/petstore_api/paths/fake_redirection/get/operation.py -src/petstore_api/paths/fake_redirection/get/response_responses/__init__.py +src/petstore_api/paths/fake_redirection/get/responses/__init__.py src/petstore_api/paths/fake_redirection/get/responses/response_303/__init__.py src/petstore_api/paths/fake_redirection/get/responses/response_3xx/__init__.py src/petstore_api/paths/fake_ref_obj_in_query/__init__.py @@ -1122,7 +1122,7 @@ src/petstore_api/paths/fake_ref_obj_in_query/get/parameters/__init__.py src/petstore_api/paths/fake_ref_obj_in_query/get/parameters/parameter_0/__init__.py src/petstore_api/paths/fake_ref_obj_in_query/get/parameters/parameter_0/schema.py src/petstore_api/paths/fake_ref_obj_in_query/get/query_parameters.py -src/petstore_api/paths/fake_ref_obj_in_query/get/response_responses/__init__.py +src/petstore_api/paths/fake_ref_obj_in_query/get/responses/__init__.py src/petstore_api/paths/fake_ref_obj_in_query/get/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/__init__.py @@ -1131,7 +1131,7 @@ src/petstore_api/paths/fake_refs_array_of_enums/post/request_body/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_array_of_enums/post/response_responses/__init__.py +src/petstore_api/paths/fake_refs_array_of_enums/post/responses/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_array_of_enums/post/responses/response_200/content/application_json/__init__.py @@ -1143,7 +1143,7 @@ src/petstore_api/paths/fake_refs_arraymodel/post/request_body/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_arraymodel/post/response_responses/__init__.py +src/petstore_api/paths/fake_refs_arraymodel/post/responses/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_arraymodel/post/responses/response_200/content/application_json/__init__.py @@ -1155,7 +1155,7 @@ src/petstore_api/paths/fake_refs_boolean/post/request_body/__init__.py src/petstore_api/paths/fake_refs_boolean/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_boolean/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_boolean/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_boolean/post/response_responses/__init__.py +src/petstore_api/paths/fake_refs_boolean/post/responses/__init__.py src/petstore_api/paths/fake_refs_boolean/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_boolean/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_boolean/post/responses/response_200/content/application_json/__init__.py @@ -1167,7 +1167,7 @@ src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/re src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_responses/__init__.py +src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/responses/__init__.py src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/responses/response_200/content/application_json/__init__.py @@ -1179,7 +1179,7 @@ src/petstore_api/paths/fake_refs_enum/post/request_body/__init__.py src/petstore_api/paths/fake_refs_enum/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_enum/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_enum/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_enum/post/response_responses/__init__.py +src/petstore_api/paths/fake_refs_enum/post/responses/__init__.py src/petstore_api/paths/fake_refs_enum/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_enum/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_enum/post/responses/response_200/content/application_json/__init__.py @@ -1191,7 +1191,7 @@ src/petstore_api/paths/fake_refs_mammal/post/request_body/__init__.py src/petstore_api/paths/fake_refs_mammal/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_mammal/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_mammal/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_mammal/post/response_responses/__init__.py +src/petstore_api/paths/fake_refs_mammal/post/responses/__init__.py src/petstore_api/paths/fake_refs_mammal/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_mammal/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_mammal/post/responses/response_200/content/application_json/__init__.py @@ -1203,7 +1203,7 @@ src/petstore_api/paths/fake_refs_number/post/request_body/__init__.py src/petstore_api/paths/fake_refs_number/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_number/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_number/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_number/post/response_responses/__init__.py +src/petstore_api/paths/fake_refs_number/post/responses/__init__.py src/petstore_api/paths/fake_refs_number/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_number/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_number/post/responses/response_200/content/application_json/__init__.py @@ -1215,7 +1215,7 @@ src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body/_ src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_responses/__init__.py +src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/responses/__init__.py src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/responses/response_200/content/application_json/__init__.py @@ -1227,7 +1227,7 @@ src/petstore_api/paths/fake_refs_string/post/request_body/__init__.py src/petstore_api/paths/fake_refs_string/post/request_body/content/__init__.py src/petstore_api/paths/fake_refs_string/post/request_body/content/application_json/__init__.py src/petstore_api/paths/fake_refs_string/post/request_body/content/application_json/schema.py -src/petstore_api/paths/fake_refs_string/post/response_responses/__init__.py +src/petstore_api/paths/fake_refs_string/post/responses/__init__.py src/petstore_api/paths/fake_refs_string/post/responses/response_200/__init__.py src/petstore_api/paths/fake_refs_string/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_refs_string/post/responses/response_200/content/application_json/__init__.py @@ -1235,7 +1235,7 @@ src/petstore_api/paths/fake_refs_string/post/responses/response_200/content/appl src/petstore_api/paths/fake_response_without_schema/__init__.py src/petstore_api/paths/fake_response_without_schema/get/__init__.py src/petstore_api/paths/fake_response_without_schema/get/operation.py -src/petstore_api/paths/fake_response_without_schema/get/response_responses/__init__.py +src/petstore_api/paths/fake_response_without_schema/get/responses/__init__.py src/petstore_api/paths/fake_response_without_schema/get/responses/response_200/__init__.py src/petstore_api/paths/fake_test_query_paramters/__init__.py src/petstore_api/paths/fake_test_query_paramters/put/__init__.py @@ -1254,7 +1254,7 @@ src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_4/sche src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_5/__init__.py src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_5/schema.py src/petstore_api/paths/fake_test_query_paramters/put/query_parameters.py -src/petstore_api/paths/fake_test_query_paramters/put/response_responses/__init__.py +src/petstore_api/paths/fake_test_query_paramters/put/responses/__init__.py src/petstore_api/paths/fake_test_query_paramters/put/responses/response_200/__init__.py src/petstore_api/paths/fake_upload_download_file/__init__.py src/petstore_api/paths/fake_upload_download_file/post/__init__.py @@ -1263,7 +1263,7 @@ src/petstore_api/paths/fake_upload_download_file/post/request_body/__init__.py src/petstore_api/paths/fake_upload_download_file/post/request_body/content/__init__.py src/petstore_api/paths/fake_upload_download_file/post/request_body/content/application_octet_stream/__init__.py src/petstore_api/paths/fake_upload_download_file/post/request_body/content/application_octet_stream/schema.py -src/petstore_api/paths/fake_upload_download_file/post/response_responses/__init__.py +src/petstore_api/paths/fake_upload_download_file/post/responses/__init__.py src/petstore_api/paths/fake_upload_download_file/post/responses/response_200/__init__.py src/petstore_api/paths/fake_upload_download_file/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_upload_download_file/post/responses/response_200/content/application_octet_stream/__init__.py @@ -1275,7 +1275,7 @@ src/petstore_api/paths/fake_upload_file/post/request_body/__init__.py src/petstore_api/paths/fake_upload_file/post/request_body/content/__init__.py src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/fake_upload_file/post/response_responses/__init__.py +src/petstore_api/paths/fake_upload_file/post/responses/__init__.py src/petstore_api/paths/fake_upload_file/post/responses/response_200/__init__.py src/petstore_api/paths/fake_upload_file/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_upload_file/post/responses/response_200/content/application_json/__init__.py @@ -1287,7 +1287,7 @@ src/petstore_api/paths/fake_upload_files/post/request_body/__init__.py src/petstore_api/paths/fake_upload_files/post/request_body/content/__init__.py src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/fake_upload_files/post/response_responses/__init__.py +src/petstore_api/paths/fake_upload_files/post/responses/__init__.py src/petstore_api/paths/fake_upload_files/post/responses/response_200/__init__.py src/petstore_api/paths/fake_upload_files/post/responses/response_200/content/__init__.py src/petstore_api/paths/fake_upload_files/post/responses/response_200/content/application_json/__init__.py @@ -1295,7 +1295,7 @@ src/petstore_api/paths/fake_upload_files/post/responses/response_200/content/app src/petstore_api/paths/fake_wild_card_responses/__init__.py src/petstore_api/paths/fake_wild_card_responses/get/__init__.py src/petstore_api/paths/fake_wild_card_responses/get/operation.py -src/petstore_api/paths/fake_wild_card_responses/get/response_responses/__init__.py +src/petstore_api/paths/fake_wild_card_responses/get/responses/__init__.py src/petstore_api/paths/fake_wild_card_responses/get/responses/response_1xx/__init__.py src/petstore_api/paths/fake_wild_card_responses/get/responses/response_1xx/content/__init__.py src/petstore_api/paths/fake_wild_card_responses/get/responses/response_1xx/content/application_json/__init__.py @@ -1323,7 +1323,7 @@ src/petstore_api/paths/fake_wild_card_responses/get/responses/response_5xx/conte src/petstore_api/paths/foo/__init__.py src/petstore_api/paths/foo/get/__init__.py src/petstore_api/paths/foo/get/operation.py -src/petstore_api/paths/foo/get/response_responses/__init__.py +src/petstore_api/paths/foo/get/responses/__init__.py src/petstore_api/paths/foo/get/responses/response_default/__init__.py src/petstore_api/paths/foo/get/responses/response_default/content/__init__.py src/petstore_api/paths/foo/get/responses/response_default/content/application_json/__init__.py @@ -1335,7 +1335,7 @@ src/petstore_api/paths/pet/__init__.py src/petstore_api/paths/pet/post/__init__.py src/petstore_api/paths/pet/post/operation.py src/petstore_api/paths/pet/post/request_body/__init__.py -src/petstore_api/paths/pet/post/response_responses/__init__.py +src/petstore_api/paths/pet/post/responses/__init__.py src/petstore_api/paths/pet/post/responses/response_200/__init__.py src/petstore_api/paths/pet/post/responses/response_405/__init__.py src/petstore_api/paths/pet/post/security/__init__.py @@ -1345,7 +1345,7 @@ src/petstore_api/paths/pet/post/security/security_requirement_object_2.py src/petstore_api/paths/pet/put/__init__.py src/petstore_api/paths/pet/put/operation.py src/petstore_api/paths/pet/put/request_body/__init__.py -src/petstore_api/paths/pet/put/response_responses/__init__.py +src/petstore_api/paths/pet/put/responses/__init__.py src/petstore_api/paths/pet/put/responses/response_400/__init__.py src/petstore_api/paths/pet/put/responses/response_404/__init__.py src/petstore_api/paths/pet/put/responses/response_405/__init__.py @@ -1359,7 +1359,7 @@ src/petstore_api/paths/pet_find_by_status/get/parameters/__init__.py src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/__init__.py src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/schema.py src/petstore_api/paths/pet_find_by_status/get/query_parameters.py -src/petstore_api/paths/pet_find_by_status/get/response_responses/__init__.py +src/petstore_api/paths/pet_find_by_status/get/responses/__init__.py src/petstore_api/paths/pet_find_by_status/get/responses/response_200/__init__.py src/petstore_api/paths/pet_find_by_status/get/responses/response_400/__init__.py src/petstore_api/paths/pet_find_by_status/get/security/__init__.py @@ -1376,7 +1376,7 @@ src/petstore_api/paths/pet_find_by_tags/get/parameters/__init__.py src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/__init__.py src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/schema.py src/petstore_api/paths/pet_find_by_tags/get/query_parameters.py -src/petstore_api/paths/pet_find_by_tags/get/response_responses/__init__.py +src/petstore_api/paths/pet_find_by_tags/get/responses/__init__.py src/petstore_api/paths/pet_find_by_tags/get/responses/response_200/__init__.py src/petstore_api/paths/pet_find_by_tags/get/responses/response_400/__init__.py src/petstore_api/paths/pet_find_by_tags/get/security/__init__.py @@ -1392,7 +1392,7 @@ src/petstore_api/paths/pet_pet_id/delete/parameters/parameter_0/schema.py src/petstore_api/paths/pet_pet_id/delete/parameters/parameter_1/__init__.py src/petstore_api/paths/pet_pet_id/delete/parameters/parameter_1/schema.py src/petstore_api/paths/pet_pet_id/delete/path_parameters.py -src/petstore_api/paths/pet_pet_id/delete/response_responses/__init__.py +src/petstore_api/paths/pet_pet_id/delete/responses/__init__.py src/petstore_api/paths/pet_pet_id/delete/responses/response_400/__init__.py src/petstore_api/paths/pet_pet_id/delete/security/__init__.py src/petstore_api/paths/pet_pet_id/delete/security/security_requirement_object_0.py @@ -1403,7 +1403,7 @@ src/petstore_api/paths/pet_pet_id/get/parameters/__init__.py src/petstore_api/paths/pet_pet_id/get/parameters/parameter_0/__init__.py src/petstore_api/paths/pet_pet_id/get/parameters/parameter_0/schema.py src/petstore_api/paths/pet_pet_id/get/path_parameters.py -src/petstore_api/paths/pet_pet_id/get/response_responses/__init__.py +src/petstore_api/paths/pet_pet_id/get/responses/__init__.py src/petstore_api/paths/pet_pet_id/get/responses/response_200/__init__.py src/petstore_api/paths/pet_pet_id/get/responses/response_200/content/__init__.py src/petstore_api/paths/pet_pet_id/get/responses/response_200/content/application_json/__init__.py @@ -1424,7 +1424,7 @@ src/petstore_api/paths/pet_pet_id/post/request_body/__init__.py src/petstore_api/paths/pet_pet_id/post/request_body/content/__init__.py src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/__init__.py src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/schema.py -src/petstore_api/paths/pet_pet_id/post/response_responses/__init__.py +src/petstore_api/paths/pet_pet_id/post/responses/__init__.py src/petstore_api/paths/pet_pet_id/post/responses/response_405/__init__.py src/petstore_api/paths/pet_pet_id/post/security/__init__.py src/petstore_api/paths/pet_pet_id/post/security/security_requirement_object_0.py @@ -1440,19 +1440,19 @@ src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/schema.py -src/petstore_api/paths/pet_pet_id_upload_image/post/response_responses/__init__.py +src/petstore_api/paths/pet_pet_id_upload_image/post/responses/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/responses/response_200/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/security/__init__.py src/petstore_api/paths/pet_pet_id_upload_image/post/security/security_requirement_object_0.py src/petstore_api/paths/solidus/__init__.py src/petstore_api/paths/solidus/get/__init__.py src/petstore_api/paths/solidus/get/operation.py -src/petstore_api/paths/solidus/get/response_responses/__init__.py +src/petstore_api/paths/solidus/get/responses/__init__.py src/petstore_api/paths/solidus/get/responses/response_200/__init__.py src/petstore_api/paths/store_inventory/__init__.py src/petstore_api/paths/store_inventory/get/__init__.py src/petstore_api/paths/store_inventory/get/operation.py -src/petstore_api/paths/store_inventory/get/response_responses/__init__.py +src/petstore_api/paths/store_inventory/get/responses/__init__.py src/petstore_api/paths/store_inventory/get/responses/response_200/__init__.py src/petstore_api/paths/store_inventory/get/security/__init__.py src/petstore_api/paths/store_inventory/get/security/security_requirement_object_0.py @@ -1463,7 +1463,7 @@ src/petstore_api/paths/store_order/post/request_body/__init__.py src/petstore_api/paths/store_order/post/request_body/content/__init__.py src/petstore_api/paths/store_order/post/request_body/content/application_json/__init__.py src/petstore_api/paths/store_order/post/request_body/content/application_json/schema.py -src/petstore_api/paths/store_order/post/response_responses/__init__.py +src/petstore_api/paths/store_order/post/responses/__init__.py src/petstore_api/paths/store_order/post/responses/response_200/__init__.py src/petstore_api/paths/store_order/post/responses/response_200/content/__init__.py src/petstore_api/paths/store_order/post/responses/response_200/content/application_json/__init__.py @@ -1478,7 +1478,7 @@ src/petstore_api/paths/store_order_order_id/delete/parameters/__init__.py src/petstore_api/paths/store_order_order_id/delete/parameters/parameter_0/__init__.py src/petstore_api/paths/store_order_order_id/delete/parameters/parameter_0/schema.py src/petstore_api/paths/store_order_order_id/delete/path_parameters.py -src/petstore_api/paths/store_order_order_id/delete/response_responses/__init__.py +src/petstore_api/paths/store_order_order_id/delete/responses/__init__.py src/petstore_api/paths/store_order_order_id/delete/responses/response_400/__init__.py src/petstore_api/paths/store_order_order_id/delete/responses/response_404/__init__.py src/petstore_api/paths/store_order_order_id/get/__init__.py @@ -1487,7 +1487,7 @@ src/petstore_api/paths/store_order_order_id/get/parameters/__init__.py src/petstore_api/paths/store_order_order_id/get/parameters/parameter_0/__init__.py src/petstore_api/paths/store_order_order_id/get/parameters/parameter_0/schema.py src/petstore_api/paths/store_order_order_id/get/path_parameters.py -src/petstore_api/paths/store_order_order_id/get/response_responses/__init__.py +src/petstore_api/paths/store_order_order_id/get/responses/__init__.py src/petstore_api/paths/store_order_order_id/get/responses/response_200/__init__.py src/petstore_api/paths/store_order_order_id/get/responses/response_200/content/__init__.py src/petstore_api/paths/store_order_order_id/get/responses/response_200/content/application_json/__init__.py @@ -1503,19 +1503,19 @@ src/petstore_api/paths/user/post/request_body/__init__.py src/petstore_api/paths/user/post/request_body/content/__init__.py src/petstore_api/paths/user/post/request_body/content/application_json/__init__.py src/petstore_api/paths/user/post/request_body/content/application_json/schema.py -src/petstore_api/paths/user/post/response_responses/__init__.py +src/petstore_api/paths/user/post/responses/__init__.py src/petstore_api/paths/user/post/responses/response_default/__init__.py src/petstore_api/paths/user_create_with_array/__init__.py src/petstore_api/paths/user_create_with_array/post/__init__.py src/petstore_api/paths/user_create_with_array/post/operation.py src/petstore_api/paths/user_create_with_array/post/request_body/__init__.py -src/petstore_api/paths/user_create_with_array/post/response_responses/__init__.py +src/petstore_api/paths/user_create_with_array/post/responses/__init__.py src/petstore_api/paths/user_create_with_array/post/responses/response_default/__init__.py src/petstore_api/paths/user_create_with_list/__init__.py src/petstore_api/paths/user_create_with_list/post/__init__.py src/petstore_api/paths/user_create_with_list/post/operation.py src/petstore_api/paths/user_create_with_list/post/request_body/__init__.py -src/petstore_api/paths/user_create_with_list/post/response_responses/__init__.py +src/petstore_api/paths/user_create_with_list/post/responses/__init__.py src/petstore_api/paths/user_create_with_list/post/responses/response_default/__init__.py src/petstore_api/paths/user_login/__init__.py src/petstore_api/paths/user_login/get/__init__.py @@ -1526,7 +1526,7 @@ src/petstore_api/paths/user_login/get/parameters/parameter_0/schema.py src/petstore_api/paths/user_login/get/parameters/parameter_1/__init__.py src/petstore_api/paths/user_login/get/parameters/parameter_1/schema.py src/petstore_api/paths/user_login/get/query_parameters.py -src/petstore_api/paths/user_login/get/response_responses/__init__.py +src/petstore_api/paths/user_login/get/responses/__init__.py src/petstore_api/paths/user_login/get/responses/response_200/__init__.py src/petstore_api/paths/user_login/get/responses/response_200/content/__init__.py src/petstore_api/paths/user_login/get/responses/response_200/content/application_json/__init__.py @@ -1548,7 +1548,7 @@ src/petstore_api/paths/user_login/get/responses/response_400/__init__.py src/petstore_api/paths/user_logout/__init__.py src/petstore_api/paths/user_logout/get/__init__.py src/petstore_api/paths/user_logout/get/operation.py -src/petstore_api/paths/user_logout/get/response_responses/__init__.py +src/petstore_api/paths/user_logout/get/responses/__init__.py src/petstore_api/paths/user_logout/get/responses/response_default/__init__.py src/petstore_api/paths/user_username/__init__.py src/petstore_api/paths/user_username/delete/__init__.py @@ -1556,7 +1556,7 @@ src/petstore_api/paths/user_username/delete/operation.py src/petstore_api/paths/user_username/delete/parameters/__init__.py src/petstore_api/paths/user_username/delete/parameters/parameter_0/__init__.py src/petstore_api/paths/user_username/delete/path_parameters.py -src/petstore_api/paths/user_username/delete/response_responses/__init__.py +src/petstore_api/paths/user_username/delete/responses/__init__.py src/petstore_api/paths/user_username/delete/responses/response_200/__init__.py src/petstore_api/paths/user_username/delete/responses/response_404/__init__.py src/petstore_api/paths/user_username/get/__init__.py @@ -1564,7 +1564,7 @@ src/petstore_api/paths/user_username/get/operation.py src/petstore_api/paths/user_username/get/parameters/__init__.py src/petstore_api/paths/user_username/get/parameters/parameter_0/__init__.py src/petstore_api/paths/user_username/get/path_parameters.py -src/petstore_api/paths/user_username/get/response_responses/__init__.py +src/petstore_api/paths/user_username/get/responses/__init__.py src/petstore_api/paths/user_username/get/responses/response_200/__init__.py src/petstore_api/paths/user_username/get/responses/response_200/content/__init__.py src/petstore_api/paths/user_username/get/responses/response_200/content/application_json/__init__.py @@ -1582,7 +1582,7 @@ src/petstore_api/paths/user_username/put/request_body/__init__.py src/petstore_api/paths/user_username/put/request_body/content/__init__.py src/petstore_api/paths/user_username/put/request_body/content/application_json/__init__.py src/petstore_api/paths/user_username/put/request_body/content/application_json/schema.py -src/petstore_api/paths/user_username/put/response_responses/__init__.py +src/petstore_api/paths/user_username/put/responses/__init__.py src/petstore_api/paths/user_username/put/responses/response_400/__init__.py src/petstore_api/paths/user_username/put/responses/response_404/__init__.py src/petstore_api/py.typed diff --git a/samples/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/delete/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/common_param_sub_dir/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake/delete/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake/patch/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake/patch/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_health/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_health/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_request_body_content_types/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_request_body_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_pem_content_type/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_pem_content_type/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_redirection/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_redirection/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/fake_wild_card_responses/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/fake_wild_card_responses/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/foo/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/foo/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet/put/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/solidus/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/solidus/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/store_inventory/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/store_inventory/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/store_order/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/store_order/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/user/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_login/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_login/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_logout/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_logout/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_username/delete/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_username/delete/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_username/get/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_username/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/petstore/python/src/petstore_api/paths/user_username/put/response_responses/__init__.py b/samples/client/petstore/python/src/petstore_api/paths/user_username/put/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/src/main/java/org/openapijsonschematools/codegen/generators/PythonClientGenerator.java b/src/main/java/org/openapijsonschematools/codegen/generators/PythonClientGenerator.java index 3d4ea507d87..7c887e08541 100644 --- a/src/main/java/org/openapijsonschematools/codegen/generators/PythonClientGenerator.java +++ b/src/main/java/org/openapijsonschematools/codegen/generators/PythonClientGenerator.java @@ -1757,15 +1757,24 @@ public GeneratorType getTag() { @Override public String toResponseModuleName(String componentName, String jsonPath) { - if (!jsonPath.startsWith("#/components/responses/")) { - return "response_" + componentName.toLowerCase(Locale.ROOT); - } - String suffix = toModuleFilename(componentName, jsonPath); - String spacer = ""; - if (!suffix.startsWith("_")) { - spacer = "_"; + String[] pathPieces = jsonPath.split("/"); + if (jsonPath.startsWith("#/components/responses")) { + if (pathPieces.length == 3) { + return "responses"; + }// #/components/responses/SomeResponse + // #/components/responses/SomeResponse/content/schema + String suffix = toModuleFilename(componentName, jsonPath); + String spacer = ""; + if (!suffix.startsWith("_")) { + spacer = "_"; + } + return "response" + spacer + suffix; } - return "response" + spacer + suffix; + if (pathPieces.length == 5) {// #/paths/somePath/verb/responses + return "responses"; + }// #/paths/somePath/verb/responses/200 + // #/paths/somePath/verb/responses/200/content/schema + return "response_" + componentName.toLowerCase(Locale.ROOT); } @Override From 9bada29a66cd6aefba4438f47b9afc8ac5aaea95 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Tue, 27 Feb 2024 13:55:27 -0800 Subject: [PATCH 18/18] Sample regen --- .../python/.openapi-generator/FILES | 348 +++++------ .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../python/.openapi-generator/FILES | 572 +++++++++--------- .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../post/response_responses/__init__.py | 0 .../python/.openapi-generator/FILES | 2 +- .../post/response_responses/__init__.py | 0 .../security/python/.openapi-generator/FILES | 8 +- .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 .../get/response_responses/__init__.py | 0 469 files changed, 465 insertions(+), 465 deletions(-) delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_duration_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_contains_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regex_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_time_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/response_responses/__init__.py delete mode 100644 samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/response_responses/__init__.py delete mode 100644 samples/client/openapi_features/security/python/src/this_package/paths/path_with_no_explicit_security/get/response_responses/__init__.py delete mode 100644 samples/client/openapi_features/security/python/src/this_package/paths/path_with_one_explicit_security/get/response_responses/__init__.py delete mode 100644 samples/client/openapi_features/security/python/src/this_package/paths/path_with_security_from_root/get/response_responses/__init__.py delete mode 100644 samples/client/openapi_features/security/python/src/this_package/paths/path_with_two_explicit_security/get/response_responses/__init__.py diff --git a/samples/client/3_0_3_unit_test/python/.openapi-generator/FILES b/samples/client/3_0_3_unit_test/python/.openapi-generator/FILES index 27c958f9e5e..54c2a4d140f 100644 --- a/samples/client/3_0_3_unit_test/python/.openapi-generator/FILES +++ b/samples/client/3_0_3_unit_test/python/.openapi-generator/FILES @@ -783,7 +783,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_w src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py @@ -792,7 +792,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_de src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py @@ -801,7 +801,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itse src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.py @@ -810,7 +810,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_i src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py @@ -819,7 +819,7 @@ src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_reques src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py @@ -828,7 +828,7 @@ src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py @@ -837,7 +837,7 @@ src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/r src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py @@ -846,7 +846,7 @@ src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py @@ -855,7 +855,7 @@ src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_bo src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py @@ -864,7 +864,7 @@ src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_requ src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py @@ -873,7 +873,7 @@ src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_reque src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py @@ -882,7 +882,7 @@ src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_b src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py @@ -891,7 +891,7 @@ src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/ src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py @@ -900,7 +900,7 @@ src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py @@ -909,7 +909,7 @@ src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py @@ -918,7 +918,7 @@ src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_bo src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py @@ -927,7 +927,7 @@ src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py @@ -936,7 +936,7 @@ src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_ src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py @@ -945,7 +945,7 @@ src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/ src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_by_int_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py @@ -954,7 +954,7 @@ src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_bo src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_by_number_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py @@ -963,7 +963,7 @@ src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/requ src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py @@ -972,7 +972,7 @@ src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/req src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py @@ -981,7 +981,7 @@ src/unit_test_api/paths/request_body_post_email_format_request_body/post/request src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_email_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py @@ -990,7 +990,7 @@ src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_reques src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py @@ -999,7 +999,7 @@ src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py @@ -1008,7 +1008,7 @@ src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_b src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py @@ -1017,7 +1017,7 @@ src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_reques src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py @@ -1026,7 +1026,7 @@ src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py @@ -1035,7 +1035,7 @@ src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/ src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py @@ -1044,7 +1044,7 @@ src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/r src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py @@ -1053,7 +1053,7 @@ src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/requ src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py @@ -1062,7 +1062,7 @@ src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_ src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/__init__.py src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.py @@ -1071,7 +1071,7 @@ src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_erro src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/__init__.py src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.py @@ -1080,7 +1080,7 @@ src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_reque src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py @@ -1089,7 +1089,7 @@ src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py @@ -1098,7 +1098,7 @@ src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py @@ -1107,7 +1107,7 @@ src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/ src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py @@ -1116,7 +1116,7 @@ src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/r src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py @@ -1125,7 +1125,7 @@ src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integ src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py @@ -1134,7 +1134,7 @@ src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/ src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py @@ -1143,7 +1143,7 @@ src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py @@ -1152,7 +1152,7 @@ src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_emp src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py @@ -1161,7 +1161,7 @@ src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/ src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py @@ -1170,7 +1170,7 @@ src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/r src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py @@ -1179,7 +1179,7 @@ src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py @@ -1188,7 +1188,7 @@ src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/ src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py @@ -1197,7 +1197,7 @@ src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py @@ -1206,7 +1206,7 @@ src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/ src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py @@ -1215,7 +1215,7 @@ src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py @@ -1224,7 +1224,7 @@ src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py @@ -1233,7 +1233,7 @@ src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_items_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py @@ -1242,7 +1242,7 @@ src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py @@ -1251,7 +1251,7 @@ src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/p src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py @@ -1260,7 +1260,7 @@ src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/__i src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_not_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py @@ -1269,7 +1269,7 @@ src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py @@ -1278,7 +1278,7 @@ src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py @@ -1287,7 +1287,7 @@ src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_bo src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py @@ -1296,7 +1296,7 @@ src/unit_test_api/paths/request_body_post_object_properties_validation_request_b src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py @@ -1305,7 +1305,7 @@ src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_bo src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py @@ -1314,7 +1314,7 @@ src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/ src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py @@ -1323,7 +1323,7 @@ src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py @@ -1332,7 +1332,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py @@ -1341,7 +1341,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/p src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py @@ -1350,7 +1350,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/ src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py @@ -1359,7 +1359,7 @@ src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/p src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py @@ -1368,7 +1368,7 @@ src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/r src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py @@ -1377,7 +1377,7 @@ src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_req src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py @@ -1386,7 +1386,7 @@ src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_refer src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.py @@ -1395,7 +1395,7 @@ src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_bo src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.py @@ -1404,7 +1404,7 @@ src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.py @@ -1413,7 +1413,7 @@ src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.py @@ -1422,7 +1422,7 @@ src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_not_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.py @@ -1431,7 +1431,7 @@ src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_b src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.py @@ -1440,7 +1440,7 @@ src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ref_in_property_request_body/__init__.py src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.py @@ -1449,7 +1449,7 @@ src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/requ src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py @@ -1458,7 +1458,7 @@ src/unit_test_api/paths/request_body_post_required_default_validation_request_bo src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py @@ -1467,7 +1467,7 @@ src/unit_test_api/paths/request_body_post_required_validation_request_body/post/ src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_required_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py @@ -1476,7 +1476,7 @@ src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py @@ -1485,7 +1485,7 @@ src/unit_test_api/paths/request_body_post_required_with_escaped_characters_reque src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py @@ -1494,7 +1494,7 @@ src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/po src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py @@ -1503,7 +1503,7 @@ src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_bo src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/__init__.py src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.py @@ -1512,7 +1512,7 @@ src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anythi src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py @@ -1521,7 +1521,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_b src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py @@ -1530,7 +1530,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/po src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py @@ -1539,7 +1539,7 @@ src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_b src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py @@ -1548,7 +1548,7 @@ src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py @@ -1557,12 +1557,12 @@ src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/ src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1570,7 +1570,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_ src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1578,7 +1578,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_d src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1586,7 +1586,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_its src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1594,7 +1594,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_ src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1602,7 +1602,7 @@ src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_respo src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1610,7 +1610,7 @@ src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1618,7 +1618,7 @@ src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_ src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1626,7 +1626,7 @@ src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1634,7 +1634,7 @@ src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_ src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1642,7 +1642,7 @@ src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_res src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1650,7 +1650,7 @@ src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_resp src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1658,7 +1658,7 @@ src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1666,7 +1666,7 @@ src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1674,7 +1674,7 @@ src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1682,7 +1682,7 @@ src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1690,7 +1690,7 @@ src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_ src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1698,7 +1698,7 @@ src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_bo src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1706,7 +1706,7 @@ src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_respons src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1714,7 +1714,7 @@ src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_type src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1722,7 +1722,7 @@ src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_t src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1730,7 +1730,7 @@ src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_con src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1738,7 +1738,7 @@ src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_co src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1746,7 +1746,7 @@ src/unit_test_api/paths/response_body_post_email_format_response_body_for_conten src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1754,7 +1754,7 @@ src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_respo src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1762,7 +1762,7 @@ src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_respon src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1770,7 +1770,7 @@ src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1778,7 +1778,7 @@ src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_respo src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1786,7 +1786,7 @@ src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_respon src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1794,7 +1794,7 @@ src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1802,7 +1802,7 @@ src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_ src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1810,7 +1810,7 @@ src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_con src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1818,7 +1818,7 @@ src/unit_test_api/paths/response_body_post_integer_type_matches_integers_respons src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1826,7 +1826,7 @@ src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_err src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1834,7 +1834,7 @@ src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_resp src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1842,7 +1842,7 @@ src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1850,7 +1850,7 @@ src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1858,7 +1858,7 @@ src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1866,7 +1866,7 @@ src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_ src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1874,7 +1874,7 @@ src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_inte src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1882,7 +1882,7 @@ src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1890,7 +1890,7 @@ src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_fo src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1898,7 +1898,7 @@ src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_em src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1906,7 +1906,7 @@ src/unit_test_api/paths/response_body_post_maxproperties_validation_response_bod src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1914,7 +1914,7 @@ src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_ src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1922,7 +1922,7 @@ src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_intege src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1930,7 +1930,7 @@ src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1938,7 +1938,7 @@ src/unit_test_api/paths/response_body_post_minlength_validation_response_body_fo src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1946,7 +1946,7 @@ src/unit_test_api/paths/response_body_post_minproperties_validation_response_bod src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1954,7 +1954,7 @@ src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_sema src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1962,7 +1962,7 @@ src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_sema src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1970,7 +1970,7 @@ src/unit_test_api/paths/response_body_post_nested_items_response_body_for_conten src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1978,7 +1978,7 @@ src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_sema src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1986,7 +1986,7 @@ src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -1994,7 +1994,7 @@ src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/p src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2002,7 +2002,7 @@ src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_bo src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2010,7 +2010,7 @@ src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_objec src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2018,7 +2018,7 @@ src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_ src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2026,7 +2026,7 @@ src/unit_test_api/paths/response_body_post_object_properties_validation_response src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2034,7 +2034,7 @@ src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_ src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2042,7 +2042,7 @@ src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2050,7 +2050,7 @@ src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2058,7 +2058,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2066,7 +2066,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2074,7 +2074,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2082,7 +2082,7 @@ src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2090,7 +2090,7 @@ src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_ src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2098,7 +2098,7 @@ src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_re src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2106,7 +2106,7 @@ src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_refe src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2114,7 +2114,7 @@ src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_ src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2122,7 +2122,7 @@ src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_conten src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2130,7 +2130,7 @@ src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_conten src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2138,7 +2138,7 @@ src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_conten src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2146,7 +2146,7 @@ src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_ src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2154,7 +2154,7 @@ src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_conten src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2162,7 +2162,7 @@ src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_con src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2170,7 +2170,7 @@ src/unit_test_api/paths/response_body_post_required_default_validation_response_ src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2178,7 +2178,7 @@ src/unit_test_api/paths/response_body_post_required_validation_response_body_for src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2186,7 +2186,7 @@ src/unit_test_api/paths/response_body_post_required_with_empty_array_response_bo src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2194,7 +2194,7 @@ src/unit_test_api/paths/response_body_post_required_with_escaped_characters_resp src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2202,7 +2202,7 @@ src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_ src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2210,7 +2210,7 @@ src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_ src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2218,7 +2218,7 @@ src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anyth src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2226,7 +2226,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2234,7 +2234,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_ src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2242,7 +2242,7 @@ src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_ src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2250,7 +2250,7 @@ src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_fo src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/.openapi-generator/FILES b/samples/client/3_1_0_unit_test/python/.openapi-generator/FILES index f7178f75b25..2e4b994fcd8 100644 --- a/samples/client/3_1_0_unit_test/python/.openapi-generator/FILES +++ b/samples/client/3_1_0_unit_test/python/.openapi-generator/FILES @@ -1257,7 +1257,7 @@ src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/__init__.py src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/__init__.py @@ -1266,7 +1266,7 @@ src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_defaul src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py @@ -1275,7 +1275,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_de src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py @@ -1284,7 +1284,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itse src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/__init__.py @@ -1293,7 +1293,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_ src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/__init__.py @@ -1302,7 +1302,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_ src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/__init__.py @@ -1311,7 +1311,7 @@ src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_reque src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py @@ -1320,7 +1320,7 @@ src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_reques src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py @@ -1329,7 +1329,7 @@ src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py @@ -1338,7 +1338,7 @@ src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/r src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py @@ -1347,7 +1347,7 @@ src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py @@ -1356,7 +1356,7 @@ src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_bo src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py @@ -1365,7 +1365,7 @@ src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_requ src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py @@ -1374,7 +1374,7 @@ src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_reque src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py @@ -1383,7 +1383,7 @@ src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_b src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py @@ -1392,7 +1392,7 @@ src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/ src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py @@ -1401,7 +1401,7 @@ src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py @@ -1410,7 +1410,7 @@ src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py @@ -1419,7 +1419,7 @@ src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_bo src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py @@ -1428,7 +1428,7 @@ src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py @@ -1437,7 +1437,7 @@ src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_ src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py @@ -1446,7 +1446,7 @@ src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/ src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_by_int_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_by_int_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py @@ -1455,7 +1455,7 @@ src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_bo src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_by_number_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_by_number_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py @@ -1464,7 +1464,7 @@ src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/requ src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/__init__.py src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/__init__.py @@ -1473,7 +1473,7 @@ src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_reques src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/__init__.py @@ -1482,7 +1482,7 @@ src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_bo src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/__init__.py src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/__init__.py @@ -1491,7 +1491,7 @@ src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_r src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_date_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_date_format_request_body/post/__init__.py @@ -1500,7 +1500,7 @@ src/unit_test_api/paths/request_body_post_date_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_date_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_date_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_date_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_date_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_date_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_date_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py @@ -1509,7 +1509,7 @@ src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/req src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/__init__.py @@ -1518,7 +1518,7 @@ src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_es src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/__init__.py @@ -1527,7 +1527,7 @@ src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_ src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/__init__.py @@ -1536,7 +1536,7 @@ src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_re src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_duration_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_duration_format_request_body/post/__init__.py @@ -1545,7 +1545,7 @@ src/unit_test_api/paths/request_body_post_duration_format_request_body/post/requ src/unit_test_api/paths/request_body_post_duration_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_duration_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_duration_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_duration_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_duration_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_duration_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py @@ -1554,7 +1554,7 @@ src/unit_test_api/paths/request_body_post_email_format_request_body/post/request src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_email_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_email_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_empty_dependents_request_body/__init__.py src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/__init__.py @@ -1563,7 +1563,7 @@ src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/req src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py @@ -1572,7 +1572,7 @@ src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_reques src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py @@ -1581,7 +1581,7 @@ src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py @@ -1590,7 +1590,7 @@ src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_b src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py @@ -1599,7 +1599,7 @@ src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_reques src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py @@ -1608,7 +1608,7 @@ src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py @@ -1617,7 +1617,7 @@ src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/ src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/__init__.py @@ -1626,7 +1626,7 @@ src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_bo src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/__init__.py @@ -1635,7 +1635,7 @@ src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_bo src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_float_division_inf_request_body/__init__.py src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/__init__.py @@ -1644,7 +1644,7 @@ src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/r src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py @@ -1653,7 +1653,7 @@ src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/r src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py @@ -1662,7 +1662,7 @@ src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/requ src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_idn_email_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/__init__.py @@ -1671,7 +1671,7 @@ src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/req src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/__init__.py @@ -1680,7 +1680,7 @@ src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/ src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/__init__.py src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/__init__.py @@ -1689,7 +1689,7 @@ src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/ src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/__init__.py src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/__init__.py @@ -1698,7 +1698,7 @@ src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/ src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/__init__.py src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/__init__.py @@ -1707,7 +1707,7 @@ src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_ src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/__init__.py src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/__init__.py @@ -1716,7 +1716,7 @@ src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/po src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/__init__.py src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/__init__.py @@ -1725,7 +1725,7 @@ src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/__init__.py src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/__init__.py @@ -1734,7 +1734,7 @@ src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/po src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py @@ -1743,7 +1743,7 @@ src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_ src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py @@ -1752,7 +1752,7 @@ src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py @@ -1761,7 +1761,7 @@ src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_iri_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_iri_format_request_body/post/__init__.py @@ -1770,7 +1770,7 @@ src/unit_test_api/paths/request_body_post_iri_format_request_body/post/request_b src/unit_test_api/paths/request_body_post_iri_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_iri_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_iri_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_iri_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_iri_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_iri_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/__init__.py @@ -1779,7 +1779,7 @@ src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_items_contains_request_body/__init__.py src/unit_test_api/paths/request_body_post_items_contains_request_body/post/__init__.py @@ -1788,7 +1788,7 @@ src/unit_test_api/paths/request_body_post_items_contains_request_body/post/reque src/unit_test_api/paths/request_body_post_items_contains_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_items_contains_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_items_contains_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_items_contains_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_items_contains_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_items_contains_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/__init__.py src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/__init__.py @@ -1797,7 +1797,7 @@ src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_val src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/__init__.py src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/__init__.py @@ -1806,7 +1806,7 @@ src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_requ src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py @@ -1815,7 +1815,7 @@ src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/ src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/__init__.py @@ -1824,7 +1824,7 @@ src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignore src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py @@ -1833,7 +1833,7 @@ src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/r src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py @@ -1842,7 +1842,7 @@ src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integ src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py @@ -1851,7 +1851,7 @@ src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/ src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py @@ -1860,7 +1860,7 @@ src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py @@ -1869,7 +1869,7 @@ src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_emp src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py @@ -1878,7 +1878,7 @@ src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/ src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/__init__.py src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/__init__.py @@ -1887,7 +1887,7 @@ src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignore src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py @@ -1896,7 +1896,7 @@ src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/r src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py @@ -1905,7 +1905,7 @@ src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py @@ -1914,7 +1914,7 @@ src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/ src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py @@ -1923,7 +1923,7 @@ src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py @@ -1932,7 +1932,7 @@ src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/ src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/__init__.py src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/__init__.py @@ -1941,7 +1941,7 @@ src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_b src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/__init__.py src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/__init__.py @@ -1950,7 +1950,7 @@ src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternpropertie src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/__init__.py src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/__init__.py @@ -1959,7 +1959,7 @@ src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_ src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py @@ -1968,7 +1968,7 @@ src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py @@ -1977,7 +1977,7 @@ src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py @@ -1986,7 +1986,7 @@ src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_items_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_nested_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py @@ -1995,7 +1995,7 @@ src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_seman src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/__init__.py src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/__init__.py @@ -2004,7 +2004,7 @@ src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalprope src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/__init__.py src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/__init__.py @@ -2013,7 +2013,7 @@ src/unit_test_api/paths/request_body_post_non_interference_across_combined_schem src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py @@ -2022,7 +2022,7 @@ src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/p src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/__init__.py @@ -2031,7 +2031,7 @@ src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/r src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py @@ -2040,7 +2040,7 @@ src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/__i src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_not_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_not_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py @@ -2049,7 +2049,7 @@ src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py @@ -2058,7 +2058,7 @@ src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py @@ -2067,7 +2067,7 @@ src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_bo src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py @@ -2076,7 +2076,7 @@ src/unit_test_api/paths/request_body_post_object_properties_validation_request_b src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py @@ -2085,7 +2085,7 @@ src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_bo src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py @@ -2094,7 +2094,7 @@ src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/ src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py @@ -2103,7 +2103,7 @@ src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/_ src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py @@ -2112,7 +2112,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/po src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py @@ -2121,7 +2121,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/p src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py @@ -2130,7 +2130,7 @@ src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/ src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py @@ -2139,7 +2139,7 @@ src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/p src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py @@ -2148,7 +2148,7 @@ src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/r src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/__init__.py @@ -2157,7 +2157,7 @@ src/unit_test_api/paths/request_body_post_patternproperties_validates_properties src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/__init__.py @@ -2166,7 +2166,7 @@ src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_ins src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/__init__.py @@ -2175,7 +2175,7 @@ src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_sta src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/__init__.py @@ -2184,7 +2184,7 @@ src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_element src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/__init__.py src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/__init__.py @@ -2193,7 +2193,7 @@ src/unit_test_api/paths/request_body_post_properties_patternproperties_additiona src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/__init__.py src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/__init__.py @@ -2202,7 +2202,7 @@ src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_ src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py @@ -2211,7 +2211,7 @@ src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_req src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/__init__.py @@ -2220,7 +2220,7 @@ src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_p src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py @@ -2229,7 +2229,7 @@ src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_refer src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/__init__.py @@ -2238,7 +2238,7 @@ src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/ src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_regex_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_regex_format_request_body/post/__init__.py @@ -2247,7 +2247,7 @@ src/unit_test_api/paths/request_body_post_regex_format_request_body/post/request src/unit_test_api/paths/request_body_post_regex_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_regex_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_regex_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_regex_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_regex_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_regex_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/__init__.py src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/__init__.py @@ -2256,7 +2256,7 @@ src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_an src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/__init__.py @@ -2265,7 +2265,7 @@ src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_b src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py @@ -2274,7 +2274,7 @@ src/unit_test_api/paths/request_body_post_required_default_validation_request_bo src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/__init__.py @@ -2283,7 +2283,7 @@ src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_ja src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py @@ -2292,7 +2292,7 @@ src/unit_test_api/paths/request_body_post_required_validation_request_body/post/ src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_required_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_required_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py @@ -2301,7 +2301,7 @@ src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py @@ -2310,7 +2310,7 @@ src/unit_test_api/paths/request_body_post_required_with_escaped_characters_reque src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py @@ -2319,7 +2319,7 @@ src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/po src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_single_dependency_request_body/__init__.py src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/__init__.py @@ -2328,7 +2328,7 @@ src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/re src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/__init__.py src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/__init__.py @@ -2337,7 +2337,7 @@ src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_reques src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py @@ -2346,7 +2346,7 @@ src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_bo src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_time_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_time_format_request_body/post/__init__.py @@ -2355,7 +2355,7 @@ src/unit_test_api/paths/request_body_post_time_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_time_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_time_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_time_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_time_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_time_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_time_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/__init__.py src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/__init__.py @@ -2364,7 +2364,7 @@ src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/__init__.py src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/__init__.py @@ -2373,7 +2373,7 @@ src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/__init__.py src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/__init__.py @@ -2382,7 +2382,7 @@ src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_bo src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/__init__.py @@ -2391,7 +2391,7 @@ src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_bod src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/__init__.py @@ -2400,7 +2400,7 @@ src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_n src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/__init__.py @@ -2409,7 +2409,7 @@ src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_bo src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/__init__.py @@ -2418,7 +2418,7 @@ src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_el src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/__init__.py @@ -2427,7 +2427,7 @@ src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_ src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/__init__.py @@ -2436,7 +2436,7 @@ src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_b src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/__init__.py @@ -2445,7 +2445,7 @@ src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_ad src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/__init__.py @@ -2454,7 +2454,7 @@ src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py @@ -2463,7 +2463,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_b src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/__init__.py @@ -2472,7 +2472,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_ite src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py @@ -2481,7 +2481,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/po src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/__init__.py @@ -2490,7 +2490,7 @@ src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_req src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py @@ -2499,7 +2499,7 @@ src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_b src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uri_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py @@ -2508,7 +2508,7 @@ src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py @@ -2517,7 +2517,7 @@ src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/ src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_uuid_format_request_body/__init__.py src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/__init__.py @@ -2526,7 +2526,7 @@ src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/request_ src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/__init__.py src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/__init__.py @@ -2535,12 +2535,12 @@ src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_v src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/request_body/content/__init__.py src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/request_body/content/application_json/__init__.py src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/request_body/content/application_json/schema.py -src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/response_responses/__init__.py +src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/responses/__init__.py src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2548,7 +2548,7 @@ src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_respon src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2556,7 +2556,7 @@ src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_defau src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2564,7 +2564,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_d src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2572,7 +2572,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_its src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2580,7 +2580,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2588,7 +2588,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2596,7 +2596,7 @@ src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_resp src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2604,7 +2604,7 @@ src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_respo src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2612,7 +2612,7 @@ src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2620,7 +2620,7 @@ src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_ src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2628,7 +2628,7 @@ src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2636,7 +2636,7 @@ src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_ src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2644,7 +2644,7 @@ src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_res src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2652,7 +2652,7 @@ src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_resp src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2660,7 +2660,7 @@ src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2668,7 +2668,7 @@ src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2676,7 +2676,7 @@ src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2684,7 +2684,7 @@ src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2692,7 +2692,7 @@ src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_ src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2700,7 +2700,7 @@ src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_bo src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2708,7 +2708,7 @@ src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_respons src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2716,7 +2716,7 @@ src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_type src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2724,7 +2724,7 @@ src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_t src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2732,7 +2732,7 @@ src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_con src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2740,7 +2740,7 @@ src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_respo src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2748,7 +2748,7 @@ src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_ src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2756,7 +2756,7 @@ src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_ src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2764,7 +2764,7 @@ src/unit_test_api/paths/response_body_post_date_format_response_body_for_content src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2772,7 +2772,7 @@ src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_co src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2780,7 +2780,7 @@ src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_e src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2788,7 +2788,7 @@ src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2796,7 +2796,7 @@ src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_r src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2804,7 +2804,7 @@ src/unit_test_api/paths/response_body_post_duration_format_response_body_for_con src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2812,7 +2812,7 @@ src/unit_test_api/paths/response_body_post_email_format_response_body_for_conten src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2820,7 +2820,7 @@ src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_co src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2828,7 +2828,7 @@ src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_respo src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2836,7 +2836,7 @@ src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_respon src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2844,7 +2844,7 @@ src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2852,7 +2852,7 @@ src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_respo src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2860,7 +2860,7 @@ src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_respon src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2868,7 +2868,7 @@ src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2876,7 +2876,7 @@ src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_ src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2884,7 +2884,7 @@ src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_ src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2892,7 +2892,7 @@ src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_ src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2900,7 +2900,7 @@ src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_ src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2908,7 +2908,7 @@ src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_con src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2916,7 +2916,7 @@ src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_co src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2924,7 +2924,7 @@ src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2932,7 +2932,7 @@ src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_bod src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2940,7 +2940,7 @@ src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_bod src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2948,7 +2948,7 @@ src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2956,7 +2956,7 @@ src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_ src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2964,7 +2964,7 @@ src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_respon src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2972,7 +2972,7 @@ src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_ src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2980,7 +2980,7 @@ src/unit_test_api/paths/response_body_post_integer_type_matches_integers_respons src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2988,7 +2988,7 @@ src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -2996,7 +2996,7 @@ src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3004,7 +3004,7 @@ src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_ src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3012,7 +3012,7 @@ src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_fo src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3020,7 +3020,7 @@ src/unit_test_api/paths/response_body_post_items_contains_response_body_for_cont src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3028,7 +3028,7 @@ src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_va src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3036,7 +3036,7 @@ src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_res src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3044,7 +3044,7 @@ src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3052,7 +3052,7 @@ src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignor src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3060,7 +3060,7 @@ src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_ src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3068,7 +3068,7 @@ src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_inte src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3076,7 +3076,7 @@ src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3084,7 +3084,7 @@ src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_fo src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3092,7 +3092,7 @@ src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_em src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3100,7 +3100,7 @@ src/unit_test_api/paths/response_body_post_maxproperties_validation_response_bod src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3108,7 +3108,7 @@ src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignor src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3116,7 +3116,7 @@ src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_ src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3124,7 +3124,7 @@ src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_intege src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3132,7 +3132,7 @@ src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3140,7 +3140,7 @@ src/unit_test_api/paths/response_body_post_minlength_validation_response_body_fo src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3148,7 +3148,7 @@ src/unit_test_api/paths/response_body_post_minproperties_validation_response_bod src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3156,7 +3156,7 @@ src/unit_test_api/paths/response_body_post_multiple_dependents_required_response src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3164,7 +3164,7 @@ src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperti src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3172,7 +3172,7 @@ src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3180,7 +3180,7 @@ src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_sema src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3188,7 +3188,7 @@ src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_sema src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3196,7 +3196,7 @@ src/unit_test_api/paths/response_body_post_nested_items_response_body_for_conten src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3204,7 +3204,7 @@ src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_sema src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3212,7 +3212,7 @@ src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalprop src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3220,7 +3220,7 @@ src/unit_test_api/paths/response_body_post_non_interference_across_combined_sche src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3228,7 +3228,7 @@ src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3236,7 +3236,7 @@ src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_ src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3244,7 +3244,7 @@ src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/p src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3252,7 +3252,7 @@ src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_bo src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3260,7 +3260,7 @@ src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_objec src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3268,7 +3268,7 @@ src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_ src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3276,7 +3276,7 @@ src/unit_test_api/paths/response_body_post_object_properties_validation_response src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3284,7 +3284,7 @@ src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_ src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3292,7 +3292,7 @@ src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3300,7 +3300,7 @@ src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3308,7 +3308,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_ src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3316,7 +3316,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3324,7 +3324,7 @@ src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3332,7 +3332,7 @@ src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3340,7 +3340,7 @@ src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_ src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3348,7 +3348,7 @@ src/unit_test_api/paths/response_body_post_patternproperties_validates_propertie src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3356,7 +3356,7 @@ src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_in src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3364,7 +3364,7 @@ src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_st src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3372,7 +3372,7 @@ src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elemen src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3380,7 +3380,7 @@ src/unit_test_api/paths/response_body_post_properties_patternproperties_addition src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3388,7 +3388,7 @@ src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3396,7 +3396,7 @@ src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_re src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3404,7 +3404,7 @@ src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_ src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3412,7 +3412,7 @@ src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_refe src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3420,7 +3420,7 @@ src/unit_test_api/paths/response_body_post_propertynames_validation_response_bod src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3428,7 +3428,7 @@ src/unit_test_api/paths/response_body_post_regex_format_response_body_for_conten src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3436,7 +3436,7 @@ src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_a src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3444,7 +3444,7 @@ src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3452,7 +3452,7 @@ src/unit_test_api/paths/response_body_post_required_default_validation_response_ src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3460,7 +3460,7 @@ src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_j src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3468,7 +3468,7 @@ src/unit_test_api/paths/response_body_post_required_validation_response_body_for src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3476,7 +3476,7 @@ src/unit_test_api/paths/response_body_post_required_with_empty_array_response_bo src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3484,7 +3484,7 @@ src/unit_test_api/paths/response_body_post_required_with_escaped_characters_resp src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3492,7 +3492,7 @@ src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_ src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3500,7 +3500,7 @@ src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_c src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3508,7 +3508,7 @@ src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_respo src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3516,7 +3516,7 @@ src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_ src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3524,7 +3524,7 @@ src/unit_test_api/paths/response_body_post_time_format_response_body_for_content src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3532,7 +3532,7 @@ src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_bo src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3540,7 +3540,7 @@ src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_fo src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3548,7 +3548,7 @@ src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_ src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3556,7 +3556,7 @@ src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_b src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3564,7 +3564,7 @@ src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_ src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3572,7 +3572,7 @@ src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_ src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3580,7 +3580,7 @@ src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_e src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3588,7 +3588,7 @@ src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3596,7 +3596,7 @@ src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3604,7 +3604,7 @@ src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_a src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3612,7 +3612,7 @@ src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_value src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3620,7 +3620,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3628,7 +3628,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_it src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3636,7 +3636,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_ src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3644,7 +3644,7 @@ src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_re src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3652,7 +3652,7 @@ src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_ src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3660,7 +3660,7 @@ src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_fo src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3668,7 +3668,7 @@ src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py @@ -3676,7 +3676,7 @@ src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/__init__.py src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/__init__.py src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/operation.py -src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/response_responses/__init__.py +src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/responses/__init__.py src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/responses/response_200/__init__.py src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/responses/response_200/content/__init__.py src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/responses/response_200/content/application_json/__init__.py diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_a_schema_given_for_prefixitems_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additional_items_are_allowed_by_default_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_with_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_const_nul_characters_in_strings_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_keyword_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_contains_with_null_instance_elements_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_dependent_schemas_single_dependency_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_duration_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_duration_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_empty_dependents_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusivemaximum_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_exclusiveminimum_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_float_division_inf_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_email_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_idn_hostname_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_else_without_then_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_and_then_without_else_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_else_without_if_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_if_without_then_or_else_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ignore_then_without_if_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_iri_reference_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_contains_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_contains_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_items_with_null_instance_elements_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxcontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_mincontains_without_contains_is_ignored_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_dependents_required_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_non_interference_across_combined_schemas_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_multiple_types_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_prefixitems_with_null_instance_elements_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_propertynames_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regex_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regex_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_relative_json_pointer_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_single_dependency_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_small_multiple_of_large_integer_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_time_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_time_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_object_or_null_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_array_or_object_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_type_as_array_with_one_item_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_as_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_items_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_schema_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_with_an_array_of_items_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_uuid_format_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/request_body_post_validate_against_correct_branch_then_vs_else_request_body/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_duration_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_empty_dependents_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusivemaximum_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_exclusiveminimum_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_float_division_inf_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_email_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_idn_hostname_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_else_without_then_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_and_then_without_else_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_if_appears_at_the_end_when_serialized_keyword_processing_sequence_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_else_without_if_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_if_without_then_or_else_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ignore_then_without_if_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_iri_reference_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_contains_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_non_interference_across_combined_schemas_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_multiple_types_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_propertynames_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regex_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_relative_json_pointer_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_single_dependency_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_time_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_object_or_null_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_array_or_object_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_uuid_format_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/response_responses/__init__.py b/samples/client/3_1_0_unit_test/python/src/unit_test_api/paths/response_body_post_validate_against_correct_branch_then_vs_else_response_body_for_content_types/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES b/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES index 765b0f74699..4fbf59f04af 100644 --- a/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES +++ b/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES @@ -42,7 +42,7 @@ src/this_package/paths/operators/post/request_body/__init__.py src/this_package/paths/operators/post/request_body/content/__init__.py src/this_package/paths/operators/post/request_body/content/application_json/__init__.py src/this_package/paths/operators/post/request_body/content/application_json/schema.py -src/this_package/paths/operators/post/response_responses/__init__.py +src/this_package/paths/operators/post/responses/__init__.py src/this_package/paths/operators/post/responses/response_200/__init__.py src/this_package/py.typed src/this_package/rest.py diff --git a/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/response_responses/__init__.py b/samples/client/openapi_features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/openapi_features/security/python/.openapi-generator/FILES b/samples/client/openapi_features/security/python/.openapi-generator/FILES index 981864c5f8a..3e196248266 100644 --- a/samples/client/openapi_features/security/python/.openapi-generator/FILES +++ b/samples/client/openapi_features/security/python/.openapi-generator/FILES @@ -42,24 +42,24 @@ src/this_package/paths/__init__.py src/this_package/paths/path_with_no_explicit_security/__init__.py src/this_package/paths/path_with_no_explicit_security/get/__init__.py src/this_package/paths/path_with_no_explicit_security/get/operation.py -src/this_package/paths/path_with_no_explicit_security/get/response_responses/__init__.py +src/this_package/paths/path_with_no_explicit_security/get/responses/__init__.py src/this_package/paths/path_with_no_explicit_security/get/responses/response_200/__init__.py src/this_package/paths/path_with_one_explicit_security/__init__.py src/this_package/paths/path_with_one_explicit_security/get/__init__.py src/this_package/paths/path_with_one_explicit_security/get/operation.py -src/this_package/paths/path_with_one_explicit_security/get/response_responses/__init__.py +src/this_package/paths/path_with_one_explicit_security/get/responses/__init__.py src/this_package/paths/path_with_one_explicit_security/get/responses/response_200/__init__.py src/this_package/paths/path_with_one_explicit_security/get/security/__init__.py src/this_package/paths/path_with_one_explicit_security/get/security/security_requirement_object_0.py src/this_package/paths/path_with_security_from_root/__init__.py src/this_package/paths/path_with_security_from_root/get/__init__.py src/this_package/paths/path_with_security_from_root/get/operation.py -src/this_package/paths/path_with_security_from_root/get/response_responses/__init__.py +src/this_package/paths/path_with_security_from_root/get/responses/__init__.py src/this_package/paths/path_with_security_from_root/get/responses/response_200/__init__.py src/this_package/paths/path_with_two_explicit_security/__init__.py src/this_package/paths/path_with_two_explicit_security/get/__init__.py src/this_package/paths/path_with_two_explicit_security/get/operation.py -src/this_package/paths/path_with_two_explicit_security/get/response_responses/__init__.py +src/this_package/paths/path_with_two_explicit_security/get/responses/__init__.py src/this_package/paths/path_with_two_explicit_security/get/responses/response_200/__init__.py src/this_package/paths/path_with_two_explicit_security/get/security/__init__.py src/this_package/paths/path_with_two_explicit_security/get/security/security_requirement_object_0.py diff --git a/samples/client/openapi_features/security/python/src/this_package/paths/path_with_no_explicit_security/get/response_responses/__init__.py b/samples/client/openapi_features/security/python/src/this_package/paths/path_with_no_explicit_security/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/openapi_features/security/python/src/this_package/paths/path_with_one_explicit_security/get/response_responses/__init__.py b/samples/client/openapi_features/security/python/src/this_package/paths/path_with_one_explicit_security/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/openapi_features/security/python/src/this_package/paths/path_with_security_from_root/get/response_responses/__init__.py b/samples/client/openapi_features/security/python/src/this_package/paths/path_with_security_from_root/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/samples/client/openapi_features/security/python/src/this_package/paths/path_with_two_explicit_security/get/response_responses/__init__.py b/samples/client/openapi_features/security/python/src/this_package/paths/path_with_two_explicit_security/get/response_responses/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000