solo-io / gloo-portal-issues

Public tracker for issues related to Gloo Portal
https://docs.solo.io/gloo-portal/latest/
1 stars 3 forks source link

response mocks for openAPI specifications #181

Open bcollard opened 2 years ago

bcollard commented 2 years ago

Is your feature request related to a problem? Please describe. Sometimes, openAPI specs are ready but the underlying API is still under development. Developer Portal users would like to try out API endpoints with mocked responses.

Describe the solution you'd like Produce mocks based on examples present in the openAPI spec See https://swagger.io/docs/specification/adding-examples/

For example, an API mocking tool can use sample values to generate mock requests. 

See also https://learning.postman.com/docs/designing-and-developing-your-api/mocking-data/mocking-with-examples/