swagger-api / swagger-api/swagger-codegen
[Perl] Support Patch (HTTP method)
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
HTTP::Request::Common does not support PATCH (HTTP verb) at the moment.
Suggested implementation: using HTTP::Request instead
If you have questions or want to work on this, please reply to let the community know.
Ref: https://github.com/swagger-api/swagger-codegen/wiki/Guidelines-for-Contribution
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 at modules/swagger-codegen/src/main/resources/perl/ApiClient.mustache, line 117, and review how the template currently uses HTTP::Request::Common. Compare the linked HTTP::Request documentation and verify that the generated Perl client can represent PATCH requests without losing the existing request behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100