forked from loafle/openapi-generator-original
* Add key to each model field Add a `[@key "someField"]` annotation to each model field, to avoid mismatches when the JSON field is not in snake_case. Closes https://github.com/OpenAPITools/openapi-generator/issues/20765 * update ocaml samples --------- Co-authored-by: William Cheng <wing328hk@gmail.com>
7 lines
253 B
YAML
7 lines
253 B
YAML
generatorName: ocaml
|
|
outputDir: samples/client/petstore/ocaml
|
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
|
templateDir: modules/openapi-generator/src/main/resources/ocaml
|
|
additionalProperties:
|
|
packageName: petstore_client
|