Konrad Cempura
b8c03d90f4
Python 2.7: Copy list using slice
2018-07-15 23:46:38 +02:00
Konrad Cempura
88efa69cfd
Python 2.7: Check instance on string_types from six instead of str
2018-07-15 23:46:34 +02:00
Konrad Cempura
1b9bb11114
Python 2.7: Remove Yarl from requirements
2018-07-15 23:46:30 +02:00
Konrad Cempura
64ac723e54
Python 2.7: Declare UTF-8 in files with non-ascii characters
2018-07-15 23:46:26 +02:00
Konrad Cempura
9b7c55e9cb
.pytest_cache added to .gitignore
2018-07-15 23:46:16 +02:00
A
11f0233ef2
Merge pull request #55 from p1c2u/feature/pyramid-openapi3-related-project
...
pyramid_openapi3 related project
2018-07-10 17:26:56 +01:00
Artur Maciag
de1eb5f2a7
pyramid_openapi3 related project
2018-07-10 17:24:57 +01:00
A
08aee67c19
Merge pull request #50 from domenkozar/patch-1
...
README: there's no such module as openapi_core.validators
2018-07-09 12:15:53 +01:00
Domen Kožar
597f6f983f
README: there's no such module as openapi_core.validators
2018-06-28 15:01:35 +01:00
A
9e16cc564a
Merge pull request #45 from erpheus/master
...
Fixed flask wrapper imports in readme doc
2018-06-18 15:27:00 +01:00
Guillermo Guridi
b37510b0e3
Fixed flask wrapper imports in readme doc
2018-06-01 10:52:28 +02:00
Artur Maciag
8f22b6a30a
Version 0.5.0
2018-05-30 15:13:34 +01:00
A
bb4bdc49d2
Merge pull request #44 from p1c2u/feature/mimetype-wildcards-support
...
Mimetype wildcards support
2018-05-30 15:08:30 +01:00
Artur Maciag
54b8011603
Mimetype wildcards support
2018-05-30 15:01:01 +01:00
A
469c558edd
Merge pull request #43 from p1c2u/feature/schema-additional-properties-support
...
Schema additional properties support
2018-05-30 11:36:02 +01:00
Artur Maciag
78f55ee80f
Schema additional properties support
2018-05-30 11:20:35 +01:00
A
19bfff89dc
Merge pull request #42 from p1c2u/fix/schema-format-accept-any-value
...
Schema format accepts any value
2018-05-30 09:51:21 +01:00
Artur Maciag
d87b60ade7
Schema format accepts any value
2018-05-30 09:41:34 +01:00
A
4669c4763a
Merge pull request #40 from p1c2u/feature/one-of-schema-support
...
OneOf schema support
2018-05-30 09:13:30 +01:00
Artur Maciag
4c75f0f9b7
OneOf schema support
2018-05-25 16:50:09 +01:00
A
5d9a671ca1
Merge pull request #25 from p1c2u/feature/restructure
...
Restructure
2018-05-25 12:37:44 +02:00
Artur Maciag
36f7d4edf4
PEP8 fixes
2018-05-25 11:30:50 +01:00
Artur Maciag
4e1a61aace
Exceptions restructure
2018-05-25 11:30:50 +01:00
Artur Maciag
9b05d7b271
Wrapper restructure
2018-05-25 11:30:50 +01:00
Artur Maciag
bd1b0117a4
Schema objects tests moved
2018-05-25 11:30:50 +01:00
Artur Maciag
7111a91cef
Validators restructure
2018-05-25 11:30:50 +01:00
Artur Maciag
734a4673f8
Schema objects restructure
2018-05-25 11:30:50 +01:00
A
548a7d6565
Merge pull request #39 from p1c2u/fix/yarl-with-py34-support-requirements-fix
...
Yarl with python 3.4 support requirements fix
2018-05-25 12:30:21 +02:00
Artur Maciag
b314658d10
Yarl with python 3.4 support requirements fix
2018-05-25 11:24:47 +01:00
A
de0c9e06d9
Merge pull request #30 from p1c2u/fix/validate-data-shortcut-import-fix
...
validate_data shortcut import fix
2018-04-24 14:08:06 +01:00
Artur Maciag
353db1f4f8
validate_data shortcut import fix
2018-04-24 12:51:38 +01:00
Artur Maciag
7214eac33d
Version 0.4.3
2018-04-24 12:44:26 +01:00
A
64af4d019a
Merge pull request #29 from p1c2u/fix/response-json-array-fix
...
Response JSON text as array fix
2018-04-23 23:02:00 +01:00
p1c2u
0350562b54
Response JSON text as array fix
2018-04-23 20:40:54 +01:00
A
4fc02af09c
Merge pull request #22 from AMcManigal/master
...
Fixing Subschema Required Properties Validation
2018-04-13 17:16:12 +02:00
amcmanigal
84d36e33c5
Revert "Updating Version"
...
This reverts commit c18c4a53f2
.
2018-04-09 10:30:41 -04:00
amcmanigal
c18c4a53f2
Updating Version
2018-04-05 10:57:08 -04:00
amcmanigal
56be4b10eb
Fixing Subschema Required Properties Validation
...
Currently if valid swagger syntax is used for model composition an
error will be thrown due to the lack of a type property. This was
corrected by making object the default type.
schema_type = schema_deref.get('type', 'object')
I changed the swagger definition to test for this. Now PetCreate is a
composite of PetCreatePartOne and PetCreatePartTwo. However, this
caused `test_post_pets_empty_body` to fail, which turned out to be a
bug in the required properties.
In `_unmarshal_object` the `get_all_properties` method is called to get
all properties from the subschemas. However, this is not done for
required properties, meaning that only top level required properties
will be correctly validated. I have added a
`get_all_required_properties’ to fix this.
This caused `test_get_pets` to fail. In this case the bug allowed an
incorrect test case to be introduced. Pet requires `id`, but it also
requires name because it inherits from PetCreate. I have fixed this
test case by adding the missing required property.
After these changes `test_get_pet_not_found` failed due to a string
formatting error (double quotes vs single quotes). I fixed this by
switching to dictionary comparisons.
2018-04-04 10:15:45 -04:00
Artur Maciag
8d92c25c11
Version 0.4.2
2018-04-04 11:52:41 +01:00
A
4e95523f95
Merge pull request #20 from p1c2u/fix/allow-undefined-schema-type
...
Allow undefined schema type
2018-04-04 12:32:50 +02:00
Artur Maciag
c733f9434a
Allow undefined schema type
2018-04-04 11:26:21 +01:00
A
c954275b5a
Merge pull request #18 from p1c2u/fix/werkzeug-as-extra-requirement-fix
...
Werkzeug as extra requirement fix
2018-03-05 16:07:42 +00:00
Artur Maciag
4a9cd2b1cb
Werkzeug as extra requirement fix
2018-03-05 15:57:12 +00:00
Artur Maciag
e186e17556
Version 0.4.1
2018-02-28 15:11:43 +00:00
A
a3853da056
Merge pull request #15 from pbasista/bugfix/empty-servers
...
Add the default value for the 'servers' array
2018-02-28 15:09:05 +00:00
A
3cc1101288
Merge pull request #13 from pbasista/bugfix/default-values
...
Use appropriate default values for OpenAPI object fields
2018-02-28 15:02:59 +00:00
A
c30bef179d
Merge pull request #16 from p1c2u/fix/boolean-value-cast-fix
...
Boolean value cast fix
2018-02-28 13:47:43 +00:00
Artur Maciag
b1f58d7261
Boolean value cast fix
2018-02-28 13:39:23 +00:00
A
a9d17601b6
Merge pull request #14 from pbasista/bugfix/path-item-operations
...
Use a more generic test for path item object's operations
2018-02-28 12:14:13 +00:00
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