swagger-api / swagger-api/swagger-codegen

[Perl] Support Patch (HTTP method)

Open
#1,674 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

HTTP::Request::Common does not support PATCH (HTTP verb) at the moment.

Suggested implementation: using HTTP::Request instead

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.