Skip to content
#

open-api

Here are 120 public repositories matching this topic...

jonahbenton
jonahbenton commented Apr 27, 2020
>>> import swaggerconformance
>>> client = swaggerconformance.client.Client('http://petstore.swagger.io/v2/swagger.json')
No success responses defined - allowing 200
No success responses defined - allowing 200
No success responses defined - allowing 200
No success responses defined - allowing 200
No success responses defined - allowing 200
Only 'default' response defined - allowing any
kibertoad
kibertoad commented Sep 28, 2018

Judging by documentation, it is currently only possible to use the validator application-wide, immediately affecting all of the endpoints. It would be helpful to be able to attach middleware to specific endpoints with predefined swagger path already filled during instantiation.

This is useful for two scenarios:

  1. Google Cloud Functions: while they seem to use Express under the hood and in gen

Improve this page

Add a description, image, and links to the open-api topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the open-api topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.