swagger-api / swagger-api/swagger-codegen
[Perl] Delete (HTTP method) supports form data
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Technically, Delete supports form data in the HTTP request body.
HTTP::Request::Common does not seem to support that for Delete
One alternative is to use 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
Read modules/swagger-codegen/src/main/resources/perl/ApiClient.mustache at line 113 and compare the Delete handling with HTTP::Request::Common and HTTP::Request. Confirm how form data is represented in the HTTP request body, then update the template so generated Perl clients support it for Delete requests.
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