... | ... | @@ -14,7 +14,7 @@ |
|
|
To obtain a list of variables (tags) available in the mustache template. Please use `debugOperations` and `debugModels`. Heres is an example for variables in the model templates:
|
|
|
```
|
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
|
|
-i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml \
|
|
|
-g csharp --global-property debugModels=true
|
|
|
```
|
|
|
and here is part of the output:
|
... | ... | @@ -47,7 +47,7 @@ and here is part of the output: |
|
|
For operation (resource) templates, please use `debugOperations` instead:
|
|
|
```
|
|
|
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
|
|
|
-i http://petstore.swagger.io/v2/swagger.json \
|
|
|
-i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml \
|
|
|
-g csharp --global-property debugOperations=true
|
|
|
```
|
|
|
Here is part of the result
|
... | ... | |