szemul/openapi-client-generator

A tool to generate a PHP client out of an openapi documentation

Maintainers

Package info

github.com/szemul/openapi-client-generator

pkg:composer/szemul/openapi-client-generator

Statistics

Installs: 2 221

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 3


README

A tool to generate a PHP client out of an openapi documentation

Currently only supports json format as a source.

Usage

Run src/generator.php to generate the client. See it's help page

Limitations

  • Currently, only supports Json payloads
  • Requires all paths to have a tag and an operationId defined
  • Requires all properties to have a type defined