dapr / sig-api

Repository for Dapr API Special Interest Group
Apache License 2.0
18 stars 5 forks source link

Add example bodies to the spec to automatically generate tests #13

Open salaboy opened 1 year ago

salaboy commented 1 year ago

Adding example bodies to the spec will add examples available to the Swagger UI, but it will also create tests into the generated Postman collection defined in the GitHub actions. This allows test requests to be sent to daprd for testing purposes every time we change the spec by the GH action configured for each PR.

Example PR: https://github.com/dapr/sig-api/pull/12