nextapps-be / laravel-swagger-ui

Add Swagger UI to a Laravel application.
MIT License
160 stars 20 forks source link

Add support fort OpenAPI Spec in YAML format #6

Closed ls-paul-julien-vauthier closed 2 years ago

ls-paul-julien-vauthier commented 2 years ago

I would like to use this library in a project, however I work with YAML OpenAPI files.

This PR allows to serve YAML OpenAPI files (YAML -> PHP Array -> JSON)

ls-paul-julien-vauthier commented 2 years ago

I can squash my commits after review if you want

ls-paul-julien-vauthier commented 2 years ago

There is also an issue with the linting github action. Can you change docker://oskarstark/php-cs-fixer-ga to docker://oskarstark/php-cs-fixer-ga@v2? That should normally fix it.

Looks like it's not working, I don't think there is a Docker image tagged 2

gdebrauwer commented 2 years ago

Thanks! 👌

gdebrauwer commented 2 years ago

This feature is now available in v0.3.0