-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mapping features to Julia generators (#16370)
* add mapping features to julia generators * additional changes required for mapped names (#16383) --------- Co-authored-by: Tanmay Mohapatra <tanmaykm@gmail.com>
- Loading branch information
Showing
16 changed files
with
880 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
generatorName: julia-client | ||
outputDir: samples/client/petstore/julia | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/julia/petstore.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/julia-client | ||
additionalProperties: | ||
hideGenerationTimestamp: "true" | ||
packageName: OpenAPIGenPetStoreClient | ||
exportOperations: "true" | ||
exportModels: "true" | ||
exportModels: "true" | ||
modelNameMappings: | ||
another_model: MappedModel | ||
nameMappings: | ||
another_property: mappedProperty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
generatorName: julia-server | ||
outputDir: samples/server/petstore/julia | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/julia/petstore.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/julia-server | ||
additionalProperties: | ||
hideGenerationTimestamp: "true" | ||
packageName: OpenAPIGenPetStoreServer | ||
exportOperations: "true" | ||
exportModels: "true" | ||
exportModels: "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.