Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions rest_framework-stubs/schemas/openapi.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,13 @@ class DRFOpenAPIInfo(TypedDict, total=False):
version: str
description: str

class ExternalDocumentationObject(TypedDict, total=False):
description: str
url: str

class DRFOpenAPISchema(TypedDict, total=False):
openapi: str
info: DRFOpenAPIInfo
paths: dict[str, dict[str, Any]]
components: dict[str, dict[str, Any]]
security: list[dict[str, list[Any]]]
tags: list[dict[str, Any]]
externalDocs: ExternalDocumentationObject
servers: list[dict[str, Any]]

class SchemaGenerator(BaseSchemaGenerator):
Expand Down
1 change: 0 additions & 1 deletion scripts/stubtest/allowlist_todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ rest_framework.schemas.get_schema_view
rest_framework.schemas.openapi.AutoSchema.__init__
rest_framework.schemas.openapi.DRFOpenAPIInfo
rest_framework.schemas.openapi.DRFOpenAPISchema
rest_framework.schemas.openapi.ExternalDocumentationObject
rest_framework.schemas.openapi.SchemaGenerator.get_schema
rest_framework.schemas.views.SchemaView.__init__
rest_framework.schemas.views.SchemaView.renderer_classes
Expand Down
Loading