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
  • #13022
Closed
Open
Issue created Jul 26, 2022 by Administrator@rootContributor

[REQ] [PHP-Symfony] Encurage Symfony 5 bundle directory structure best practices

Created by: lukadschaak

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

When working with the PHP-Symfony Generator, the output was not as i expected. Especially because there was already a PR who updated the generator to PHP 8.1 and Symfony 5: #11810

I wish it to be more like explained here: https://symfony.com/doc/current/bundles/best_practices.html#directory-structure

Describe the solution you'd like

Refactor the code of PhpSymfonyServerCodegen.java.

Describe alternatives you've considered

Add an generator config option that enables the Symfony 5 directory structure.

Additional context

Already started a PR: #13014

Assignee
Assign to
Time tracking