Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Wiki
  • Mustache Template Variables

Mustache Template Variables · Changes

Page history
replace -l with -g authored Apr 14, 2019 by William Cheng's avatar William Cheng
Hide whitespace changes
Inline Side-by-side
Mustache-Template-Variables.md
View page @ 96c2af97
...@@ -10,7 +10,7 @@ To obtain a list of variables (tags) available in the mustache template. Please ...@@ -10,7 +10,7 @@ To obtain a list of variables (tags) available in the mustache template. Please
``` ```
java -DdebugModels -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \ java -DdebugModels -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
-i http://petstore.swagger.io/v2/swagger.json \ -i http://petstore.swagger.io/v2/swagger.json \
-l csharp \ -g csharp \
``` ```
and here is part of the output: and here is part of the output:
``` ```
...@@ -43,7 +43,7 @@ For operation (resource) templates, please use `debugOperations` instead: ...@@ -43,7 +43,7 @@ For operation (resource) templates, please use `debugOperations` instead:
``` ```
java -DdebugOperations -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \ java -DdebugOperations -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
-i http://petstore.swagger.io/v2/swagger.json \ -i http://petstore.swagger.io/v2/swagger.json \
-l csharp \ -g csharp \
``` ```
Here is part of the result Here is part of the result
``` ```
......
Clone repository
  • API client generator HOWTO
  • Building your own Templates
  • Customizing client code generation
  • FAQ
  • Git Branches
  • Home
  • How to add a generator for a new language or framework
  • Integration Tests
  • Migration Guide
  • Mustache Template Variables
  • Pull Request Checklist
  • Release Checklist
  • Samples folder
  • Server stub generator HOWTO
  • Vendor Extensions
View All Pages