swagger-api / swagger-api/swagger-codegen

PHP 7 API Client generation

Open
#10,277 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Swagger Codegen tool provides generation of API client source code for language PHP 5 version; PHP 7 version is not yet covered. It could be possible to update PHP code generation so to cover PHP 7 version.

Swagger-codegen version

2.4.14

Steps to reproduce
  • Let start Swagger Codegen
  • Use Client services in order to generate API client source code passing PHP as language
Suggest a fix/enhancement

It could be possible to include the generation of PHP 7 source code on swagger-codegen roadmap.
May be it could be a new voice regarding languages that's PHP-7

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 by examining the existing PHP 5 client-generation templates and the language-selection path in Swagger Codegen 2.4.14. Generate a sample API client with PHP selected, then determine the PHP 7 compatibility requirements. Done means PHP 7 client source can be generated and used without relying on PHP 5-only behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.