docs
customization.md +8 -0
modules/…/…/…/…/…/…/codegen
CodegenConstants.java +1 -0
DefaultGenerator.java +12 -3
samples
client/petstore/haskell-http-client
lib/OpenAPIPetstore
API
Fake.hs +3 -3
Model.hs +253 -6
ModelLens.hs +144 -0
tests
Instances.hs +48 -0
Test.hs +6 -0
openapi3/client/…/php/OpenAPIClient-php
docs/Model
Body.md +11 -0
Body1.md +11 -0
Body2.md +11 -0
Body3.md +23 -0
Body4.md +11 -0
Body5.md +11 -0
lib/Model
Body.php +327 -0
Body1.php +327 -0
Body2.php +385 -0
Body3.php +805 -0
Body4.php +333 -0
Body5.php +330 -0
test/Model
Body1Test.php +92 -0
Body2Test.php +92 -0
Body3Test.php +176 -0
Body4Test.php +92 -0
Body5Test.php +92 -0
BodyTest.php +92 -0
README.md +6 -0
+ 8
- 0
@@ -106,6 +106,14 @@ java -Dapis -DmodelTests=false {opts}
@@ -31,6 +31,7 @@ public class CodegenConstants {
@@ -286,7 +286,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
@@ -382,6 +382,10 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
@@ -393,8 +397,13 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
@@ -73,7 +73,7 @@ fakeOuterBooleanSerialize _ =
@@ -123,7 +123,7 @@ fakeOuterNumberSerialize _ =
@@ -148,7 +148,7 @@ fakeOuterStringSerialize _ =
@@ -72,14 +72,14 @@ newtype AdditionalMetadata = AdditionalMetadata { unAdditionalMetadata :: Text }
@@ -416,6 +416,253 @@ mkArrayTest =