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
  • #14729
Closed
Open
Issue created Feb 17, 2023 by Administrator@rootContributor

[python-flask] Move `test` directory out of code directory

Created by: alfechner

Description

In my org we want the structure of Python packages to be consistent. I try to adjust the output of the python-flask generator.

After generating I end up with a directory structure like this:

/my_service
|_ controllers
|_ models
|_ ...
|_ test

I'd like to generate the test directory outside of my_service and call it tests:

/my_service
|_ controllers
|_ models
|_ ...
/tests

Is that possible?

openapi-generator version

6.0.1

Assignee
Assign to
Time tracking