How to create PHP v7.4x class from swagger JSON file?
I’ve tried to goggle, but there’s no tool found. Somewhere I’ve got suggestion like composer require openapi/swagger-codegen-cli
, but I got Could not find a matching version of package openapi/swagger-codegen-cli. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).
.
How to automatically create a PHP class from swagger.json?