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
  • FAQ

FAQ · Changes

Page history
add an entry to explain the update script authored Jun 10, 2020 by William Cheng's avatar William Cheng
Hide whitespace changes
Inline Side-by-side
FAQ.md
View page @ d17b75c1
...@@ -139,6 +139,14 @@ Primitive types are usually mapped to primitive types in the corresponding progr ...@@ -139,6 +139,14 @@ Primitive types are usually mapped to primitive types in the corresponding progr
Mustache tags such as `isString`, `isNumber` are for enum models only. Mustache tags such as `isString`, `isNumber` are for enum models only.
### How can I update the samples? I couldn't find the script under `./bin/` or Windows batch files under `.\bin\windows`?
As of Jun 2020, we've switched to `./bin/generate-samples.sh` for updating Petstore samples. For example, to update Ruby petstore client samples, please run `./bin/generate-samples.sh ./bin/configs/ruby*`.
`./bin/configs/other/` is another folder that stores the config files for generators that are less active.
For Windows users, please run the script in [Git BASH](https://gitforwindows.org/)
## git ## git
### How can I rebase my PR on the latest master? ### How can I rebase my PR on the latest master?
......
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