- Documentation.
- Schema serving with
SpectacularAPIView
(configureable) - Add generator stats and
--fail-on-warn
command option. - Schema validation with
--validation
against OpenAPI JSON specification - Added various settings.
- Bugfix/add support for basic type responses (parity with requests)
- Bugfix required in parameters. failed schema validation.
- Add validation against OpenAPI schema specification.
- Improve parameter resolution, warnings and tests.
- Allow default parameter override. (e.g.
id
) - Fix queryset function call. [p.g.alekseev]
- Supporting enum values in params. [p.g.alekseev]
- Allow
@extend_schema
request basic type annotation. - Add support for typing Optional[*]
- Bugfix: handle proxy models where pk is a OnetoOne relation.
- Warn on duplicate serializer names.
- Added explicit exclude flag for operation.
- Bugfix: PrimaryKeyRelatedField(read_only=True) failing to find type.
- Change operation sorting to alphanumeric with option (#6)
- Robustify serializer field support for
@extend_schema_field
. - Enable field serializers support. [p.g.alekseev]
- Adding custom tags support [p.g.alekseev]
- Document extend_schema.
- Allow operation hiding.
- Catch unknown model traversals. custom fields can be tricky.
- Improve model field mapping. extend field tests.
- Add deprecated method to extend_schema decorator. [p.g.alekseev]
Breaking changes:
@extend_schema
renamedextra_parameters
->parameters
ExtraParameter
renamed toOpenApiParameter
- Generalize
PolymorphicResponse
intoPolymorphicProxySerializer
. - Type dict is resolved as object.
- Simplify hint resolution.
- Allow
@extend_schema_field
for custom serializer fields.
@extend_schema_field
accepts Serializers and OpenApiTypes- Generalize query parameter.
- Bugfix serializer init.
- Fix unused get_request_serializer.
- Refactor and robustify typing system.
- Helper scripts for swagger and generator.
- Fix license.
- Fix parameter type resolution.
- Remove empty parameters.
- Improved assert message.
- Working release.
- Bugfix wrong call & remove yaml aliases.
- Initial published version.