Skip to content

SoftFineWare/openapi-php-dto-generator

 
 

Repository files navigation

PHP DTO code generator form OpenAPI spect

To set up

./php composer i

To use

./generator create-dto ./examples/publisher.json  

or via image

Development Tools

To fix code style issues

vendor/bin/php-cs-fixer fix

To run test

vendor/bin/phpunit

To run static analizer

vendor/bin/psalm --no-cache

TODO

  • Support allOf, onOff, anyOf
  • Discriminator
  • Enums
  • SDK client generation
  • Image tag generation automation
  • Extention for codeception (in separate repository)

Run for project

Clients

./clients.sh                                                                                                                                                          

About

Generate PHP DTO classes from OpenAPI specification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 87.8%
  • Makefile 5.5%
  • Dockerfile 3.5%
  • Shell 3.2%