swagger-parser
swagger-parser copied to clipboard
Give useful informations about your swagger files
Fix originally from @jakedialpad.
With new jsonschema I got this error `app-python_1 | from swagger_parser import SwaggerParser app-python_1 | File "/usr/local/lib/python3.8/site-packages/swagger_parser/__init__.py", line 3, in app-python_1 | from .swagger_parser import SwaggerParser # noqa: F401 app-python_1...
When we send some query parameters which are not defined in spec, it will not effect the request. But I think it is worth considering to give a warning message...
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.2b1 to 5.4. Changelog Sourced from pyyaml's changelog. 5.4 (2021-01-19) yaml/pyyaml#407 -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA yaml/pyyaml#472 -- Fix for...
I'm trying to parse a swagger file: ```python from swagger_parser import SwaggerParser p = SwaggerParser(swagger_path='swagger.yaml') ``` The same file is valid in editor.swagger.io and http://bigstickcarpet.com/swagger-parser/www/index.html I'd like at least a...
Swagger_parser does not return the proper format or mock data for the following definition property: ``` "exampleFile": { "type": "array", "items": { "type": "string", "format": "byte" } } ``` Instead...
my swagger.yml contains: ``` definitions: User: type: "object" required: - "email" - "uid" - "password" - "username" properties: uid: type: "string" description: "Usually a UUID" example: "234" # readOnly: true...
unable to parse valid file with error Object of type 'datetime' is not JSON serializable
relevant part of the spec: ``` yaml properties: ... artifactBucket: type: string minLength: 5 pattern: "arn:aws:([a-zA-Z0-9-])+:([a-z]{2}-[a-z]+-d{1})?:(d{12})?:(.*)" example: bla ``` this is how I use `validate_request`: ``` python my_config = {...
in my opinion swagger-parser is `not handling $ref correctly` (see trace at the bottom). I tried with both python2.7 and python3.6. This relates to `validate_request` - `definitions_example` works fine. relevant...