wave-framework / sdk-generator
Generates a schema file describing a wave app, then builds a PHP SDK from it
Installs: 14 863
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- phindmarsh/statham: 1.0.1
- twig/twig: 3.*
This package is auto-updated.
Last update: 2024-12-16 04:28:15 UTC
README
Generates a swagger spec file from routes in a wave app
Usage
Add this project with composer to an existing wave application, then just run bin/swagger-gen
from the root of the project directory.
A (hopefully) valid swagger.io file will be printed to STDOUT. By default this is YAML, but supplying --format=json
or --format=php
will output JSON or PHP using var_export respectively.