swagger-api / swagger-api/swagger-codegen
[PHP][Slim] Multiple tags lead to multiple generations
Open
Nobody has claimed this yet.
General: Question
Server: PHP
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
When setting multiple tags for a single path, the Slim code is generated multiple times, once for each tag.
Swagger-codegen version
using http://editor.swagger.io/
Swagger declaration file content or url
Any YAML will work, just add two or more tags to path.
Steps to reproduce
Export above YAML to Slim on editor.swagger.io
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by exporting a YAML definition with two or more tags on one path to Slim through editor.swagger.io. Then inspect the PHP/Slim generator and trace why the path produces one generation per tag; done means the path is generated once while retaining the expected tag-related output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100