An open API service indexing awesome lists of open source software.

https://github.com/pguso/openapi-symfony

Skeleton for integrating a generated OpenAPI Symfony Bundle from OpenAPI Spec.
https://github.com/pguso/openapi-symfony

Last synced: over 1 year ago
JSON representation

Skeleton for integrating a generated OpenAPI Symfony Bundle from OpenAPI Spec.

Awesome Lists containing this project

README

          

This repository is part of the medium article https://pguso.medium.com/openapi-generator-use-symfony-bundle-in-your-project-28034505548d

## Setup Project

1. Clone the project via git or https.
2. install dependencies ``composer install``
3. Change DATABASE_URL in .env file to your connection config
4. Implement your Api Classes in the src/Api folder
5. Add your new Service to config/services.yaml and tag it

### Generate / Regenerate Symfony Bundle

``composer run generate-openapi-bundle``

### API implementation

Check the docs here src/OpenApiBundle/Resources/docs