openapi-core/openapi_core
Peter Bašista a0305fb97d Add the default value for the 'servers' array
The specification:

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#oasObject

requires that if the 'servers' array is not provided or empty,
its default value is an array of a single Server Object
with 'url' of '/'.
2018-02-18 09:38:00 +01:00
..
__init__.py Version 0.4.0 2017-11-14 16:21:32 +00:00
components.py Use appropriate default values for OpenAPI object fields 2018-02-09 17:41:39 +01:00
enums.py Schema enum 2017-11-14 13:36:05 +00:00
exceptions.py Responses and headers objects 2017-11-06 11:00:13 +00:00
infos.py components and infos modules; schema registry; models module 2017-09-22 09:14:07 +01:00
media_types.py Factories and exceptions cleanup 2017-11-03 11:18:48 +00:00
models.py components and infos modules; schema registry; models module 2017-09-22 09:14:07 +01:00
operations.py Use a more generic test for path item object's operations 2018-02-09 19:55:25 +01:00
parameters.py Parameter deserializers 2017-11-14 16:05:03 +00:00
paths.py schemas registry 2017-09-22 09:54:37 +01:00
request_bodies.py Factories and exceptions cleanup 2017-11-03 11:18:48 +00:00
responses.py Response dereference support 2017-11-06 14:57:08 +00:00
schemas.py Schema enum 2017-11-14 13:36:05 +00:00
servers.py Add the default value for the 'servers' array 2018-02-18 09:38:00 +01:00
shortcuts.py Response validated_data shortcut 2017-11-06 14:32:46 +00:00
specs.py Use appropriate default values for OpenAPI object fields 2018-02-09 17:41:39 +01:00
validators.py Add the default value for the 'servers' array 2018-02-18 09:38:00 +01:00
wrappers.py Parameter deserializers 2017-11-14 16:05:03 +00:00