swagger-api / swagger-api/swagger-codegen-generators

[PHP] updated to 1.0.42 Enum data generate Array missing delimiter

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

Nobody has claimed this yet.

Dominant language
Mustache
Stars
299
Forks
439
PR merge metrics
No merged PRs in 30d

Description

image
missing delimiter

request data

 "transcation_type": {
          "type": "string",
          "description": "Transaction type",
          "enum": [
            "common",
            "eth_signTypedData_v4",
            "personal_sign",
            "eth_sign"
          ]
}

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

Reproduce PHP generator version 1.0.42 with the provided schema, focusing on the generated array for the transcation_type enum. Trace the PHP generator templates or entry point that formats enum values and compare the output with the expected delimiter-separated array syntax; done means the generated PHP is valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.