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
  • Issues
  • #12118
Closed
Open
Issue created Apr 12, 2022 by Administrator@rootContributor

[REQ] [python-fastapi] change src folder in python-fastapi generator

Created by: rk0n

Is your feature request related to a problem? Please describe.

The FastAPI generator template generates a openapi_server package in folder src and leads to src/openapi_server as path. The src part of the path cannot be changed although there is a constant in the python-fastapi codegen script

Describe the solution you'd like

Use a variable in python-fastapi.yaml file (e.g.: sourceFolder) variable to define the path of the generated openapi_server code So that the openapi_server package can be generated to src/apis/openapi_server or openapi_server for example.

Describe alternatives you've considered

Tried to change this by template

Additional context

Could deliver code for this feature and open to discuss about it

Assignee
Assign to
Time tracking