swagger-api / swagger-api/swagger-codegen

[Perl] Delete (HTTP method) supports form data

Open
#1,675 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: Perl help wanted
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

Line: https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/resources/perl/ApiClient.mustache#L113

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.