From 0afc8c77915530196dc5edd443feb18855ec9ee6 Mon Sep 17 00:00:00 2001 From: Nils Van Zuijlen Date: Mon, 10 Jun 2024 12:14:40 +0200 Subject: [PATCH] Update OpenAPI docs links They are currently using snake case for their anchors. --- drf_spectacular/extensions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drf_spectacular/extensions.py b/drf_spectacular/extensions.py index 3f407a6c..052be3a0 100644 --- a/drf_spectacular/extensions.py +++ b/drf_spectacular/extensions.py @@ -30,7 +30,7 @@ class OpenApiAuthenticationExtension(OpenApiGeneratorExtension['OpenApiAuthentic required (AND). If you need alternate variations (OR), return a list of those dicts instead. ``get_security_definition()`` is expected to return a valid `OpenAPI security scheme object - `_ + `_ """ _registry: List[Type['OpenApiAuthenticationExtension']] = [] @@ -60,7 +60,7 @@ class OpenApiSerializerExtension(OpenApiGeneratorExtension['OpenApiSerializerExt can be accessed via ``self.target``. ``map_serializer()`` is expected to return a valid `OpenAPI schema object - `_. + `_. """ _registry: List[Type['OpenApiSerializerExtension']] = [] @@ -83,7 +83,7 @@ class OpenApiSerializerFieldExtension(OpenApiGeneratorExtension['OpenApiSerializ warnings, in which case manual construction is advisable. ``map_serializer_field()`` is expected to return a valid `OpenAPI schema object - `_. + `_. """ _registry: List[Type['OpenApiSerializerFieldExtension']] = [] @@ -128,7 +128,7 @@ class OpenApiFilterExtension(OpenApiGeneratorExtension['OpenApiFilterExtension'] ``get_schema_operation_parameters()`` is expected to return either an empty list or a list of valid raw `OpenAPI parameter objects - `_. + `_. Using ``drf_spectacular.plumbing.build_parameter_type`` is recommended to generate the appropriate raw dict objects. """