Transform your Swagger (Open API) spec examples into a Symfony REST mock server
This project uses the Kleijnweb\SwaggerBundle to provide the routes and definition validation.
By default it will use the examples specified in your definition. To be able to adjust the examples for each and every project you can add example files. As an example I've added such an example in the directory the examples should go. The files should be named as follows:
Eg:
url = /pets/{id}?debug=0&auth=1 // where id=1 and ROUTE_NAME=swagger.default.pets.id.findPetById
filename = swagger.default.pets.id.findPetById&id=1&auth=1&debug=0
Content type
Image
Digest
Size
498.4 MB
Last updated
about 9 years ago
docker pull zwartpet/swagger-mocker