Daniel Alvarez
659375ffe6
Fixed a typo on the ExampleValidatedAPIView
...
Cherry-picked from #6819
2019-07-24 11:13:30 +02:00
Carlton Gibson
1b66d1b819
Move serializer field introspection tests to correct test case.
...
From SchemaGenerator tests to Operation Introspection.
2019-07-24 11:13:30 +02:00
Carlton Gibson
e309a4f0b8
Fix OpenAPI path generation with common prefixes.
...
Closes #6675 . Closes #6823 .
2019-07-24 11:13:30 +02:00
Carlton Gibson
30a21a98dc
Add test for OpenAPI SchemaGenerator url argument.
2019-07-24 11:13:30 +02:00
Carlton Gibson
178a2dc786
Correct OpenAPI test for common prefixes.
2019-07-24 11:13:30 +02:00
Daniel Alvarez
2138f558ce
Added mapping of ListField.child type for OpenAPI Schemas.
2019-07-24 11:09:57 +02:00
Alan Crosswell
819c46ea80
Add --generator_class CLI option to generateschema ( #6735 )
...
* add --generator_class CLI option to generateschema
* Add test for generateschema —generator_class flag.
2019-06-09 14:43:54 +02:00
Alan Crosswell
2d65f82dd7
Generate OpenAPI schema field types from validators. ( #6674 )
2019-06-09 14:42:56 +02:00
Alan Crosswell
a63860fc8b
Corrected openapi.SchemaGenerator path prefixes. ( #6724 )
2019-06-09 14:29:55 +02:00
Rodolfo Carvalho
62ed1f8270
Use yaml.safe_load instead of load ( #6719 )
...
Use of PyYAML's yaml.load function without specifying the Loader
parameter has been deprecated, see https://msg.pyyaml.org/load .
Earlier versions of PyYAML already had the alternative safe_load
function, which limits the loader to a subset of YAML constructs, that
is enough for what we need here.
Fixes #6677
2019-05-29 09:51:24 -07:00
Carlton Gibson
37f210a455
Added OpenAPI Schema Generation. ( #6532 )
...
Co-authored-by: Lucidiot <lucidiot@protonmail.com>
Co-authored-by: dongfangtianyu <dongfangtianyu@qq.com>
2019-05-13 16:07:03 +02:00