Correl Roush
3573a4b75d
Bump version to 1.2.0
2024-10-20 23:52:47 -04:00
Correl Roush
3dae8b3b29
Add publishing github workflow
2024-10-20 23:51:25 -04:00
Correl Roush
4a5c0507bf
Configure codecov token
2024-10-20 23:27:13 -04:00
Correl Roush
4e6b596b5b
Set test badge to track only master branch
2024-10-20 23:16:37 -04:00
Correl Roush
526171bd95
Add name to test workflow
2024-10-20 23:16:30 -04:00
Correl Roush
49abe61e8f
Add a test badge to the README
2024-10-20 23:13:27 -04:00
Correl Roush
4f802ed0dd
Skip missing interpreters in the test workflow
2024-10-20 23:10:03 -04:00
Correl Roush
4093dbcea6
Add github actions test workflow
2024-10-20 22:58:20 -04:00
Correl Roush
5d442073ad
Update openapi-core to 0.19.4+
2024-10-20 22:40:05 -04:00
Correl Roush
10de1bd477
Remove Travis CI
2024-10-20 22:40:05 -04:00
Correl Roush
a2c25247d9
Update supported tornado and python versions
...
- Drop support for tornado<6
- Drop support for Python<3.9
- Add support for Python 3.10, 3.11, 3.12, and 3.13
2024-10-20 22:19:57 -04:00
Correl Roush
dc3a00ba8a
Bump version to 1.1.2
2024-08-05 11:09:10 -04:00
6de69fc771
Merge pull request #6 from in-op/no-body
...
Use None for no request body instead of b""
2024-08-05 11:03:41 -04:00
Alexander Campbell
3dce6ca7b5
Use None for no request body instead of b""
...
This is how openapi-core expects a lack of request body. Currently
it can cause issues with validation because requests without a
body will be send to the validator with a request a body of empty
bytes that can't be validated.
2024-08-05 10:42:54 -04:00
ae0b8c09b4
Bump dependency versions
...
Most notably, updates the typing-extensions constraint to version 4.0.1
or higher, when it previously wanted 3.x.
2022-01-27 11:12:11 -05:00
f2b6a5a660
Bump version to 1.1.0
2021-05-07 14:52:48 -04:00
c3e4009eb2
Upgrade openapi-core to 0.14.0
...
Update exception paths and use new SpecPath type.
2021-05-07 14:37:55 -04:00
8ae5937631
Upgrade openapi-core to 0.13.8
...
Handle updated exceptions.
2021-05-07 14:24:45 -04:00
79e4792d47
Bump version to 1.0.1
2021-04-05 14:13:07 -04:00
118c23e704
Do not validate test requests using absolute URLs
...
The response validation in the fetch method of AsyncOpenAPITestCase is
intended for requests made to the application under test only, and must
not be executed on requests made to other services using absolute URLs.
2021-04-03 01:14:42 -04:00
c804381b15
Bump version to 1.0.0
2021-03-19 13:30:54 -04:00
3ec7bbbc3a
Update README
2021-03-19 13:20:03 -04:00
e7e740a274
Ignore docs directory when running pytest
2021-03-19 13:14:12 -04:00
a04edb6ff9
Document usage with examples
2021-03-19 13:03:44 -04:00
d1cd04f3e3
Restructure documentation
2021-03-18 18:13:28 -04:00
88f56bb64d
Annotate formatter and deserializer types
2021-03-18 16:47:40 -04:00
5fe5b75285
Add an overrideable custom formatters property
2021-03-18 16:36:23 -04:00
98cbaec514
Reformat request handler docstring
2021-03-17 16:16:04 -04:00
72cead3683
Handle additional validation errors
2021-03-17 16:13:35 -04:00
7a8f195712
Allow overriding of spec as a dictionary
2021-03-05 15:23:23 -05:00
3a622e0306
Use spec objects rather than dictionaries
2021-02-26 23:03:33 -05:00
7543654e7c
Set readthedocs python version to 3.8
2021-02-26 15:48:48 -05:00
1920e45049
Add readthedocs configuration
2021-02-26 15:48:00 -05:00
16250d8f90
Blacken code
2021-02-26 15:34:54 -05:00
12813757d1
Add documentation
2021-02-26 15:28:32 -05:00
10e5784543
Remove 418 responses from tests
...
Older versions of Tornado raise a ValueError when supplied with HTTP
status code 418. I guess it's anti-teapot.
2021-02-26 12:17:30 -05:00
3b3085652d
Ignore types on tornado includes
...
Older versions of Tornado supported by this library lack type annotations.
2021-02-26 12:04:47 -05:00
8b243ee565
Add a test case base class
...
Add a unittest test case class based on Tornado's AsyncHTTPTestCase
which validates responses against an OpenAPI 3 specification.
2021-02-25 22:55:07 -05:00
d05f5dfd32
Add a request handler
...
Add a request handler class that validates incoming requests against an
OpenAPI 3 specification and translates errors to appropriate HTTP
response codes.
2021-02-25 22:53:51 -05:00
69ffb92c06
Run tests on Python 3.9
2021-01-22 00:10:43 -05:00
a0799642ae
Bump version to 0.2.4
2021-01-18 13:38:32 -05:00
ecd5709a87
Merge pull request #2 from gmr/include-cookies
...
Include cookies in the Request validation
2021-01-18 13:32:18 -05:00
Gavin M. Roy
4896a5d5e0
Include cookies in the Request validation
2021-01-18 13:23:31 -05:00
2b57d71113
Disable deadline in hypothesis profiles
...
The deadline was not being overridden as described in the README, as the
default profile is not mutable. This registers an additional CI profile
disabling the deadline.
2021-01-13 16:55:03 -05:00
c7cc5ab05d
Bump version to 0.2.3
2021-01-13 14:58:02 -05:00
513166456a
Parse mimetype from content-type
...
OpenAPI objects expect lowercased mimetypes, with parameters stripped.
2021-01-13 14:33:39 -05:00
15a30bb1cf
Bump version to 0.2.2
2021-01-06 15:15:01 -05:00
4102a14883
Leave request and response bodies as binary data
...
Decoding to UTF-8 text is the responsibility of the content-type loader
used in the validator, and should not be done prior.
2021-01-06 14:50:15 -05:00
b69f690d50
Remove the ci Hypothesis profile
...
It is slow and there's no real benefit from it at this time.
2020-12-04 23:34:57 -05:00
3de1f9c430
Configure coverage reporting
...
Require 100% code coverage and report missing lines.
2020-12-04 23:04:14 -05:00