forked from loafle/openapi-generator-original
* Add java-jersey2 sample with mixed oneOf * [java][jersey2]Fix client generation if oneOf contains an array type Changes: * Change jersey2/oneof_model template to use composed schema data * Change adding of imports in AbstractJavaCodegen to use composed schema data * Add escapedDataType property to CodegenProperty so that the data type may be part of identifiers (e.g. in getters) * Update samples * Add sample for multiple array in oneOf * Fix generation of constructors with same erasures * Update samples again * Version bump * Add new sample folders to CI * Make primitive handling more explicit * Replace escapedDataType property with Mustache lambda * Update samples with new primitive handling and sanitization lambda
8 lines
303 B
YAML
8 lines
303 B
YAML
generatorName: java
|
|
outputDir: samples/client/others/java/jersey2-oneOf-Mixed
|
|
library: jersey2
|
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf_primitiveAndArray.yaml
|
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
|
additionalProperties:
|
|
hideGenerationTimestamp: "true"
|