swagger-api / swagger-api/swagger-codegen
exclude certain HTTP verbs from the generated client
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Suggest a fix/enhancement
I have the same suggestion. I do not think is possible yet: exclude certain HTTP methods. E.g. we need to include only GET EndPoints and exclude POST, PUT and PATCH.
Is this currently possible?
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
Start by reviewing how the generated client is configured from the OpenAPI definition and where HTTP operations are selected for generation. Determine whether filtering by GET, POST, PUT, and PATCH is currently supported. Done means a documented, working way to generate only the requested HTTP verbs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100