Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 28be828

Browse files
committed
remove fields deepObject placeholder
- <typename> gets added e.g. in swagger-ui and breaks queries
1 parent e715638 commit 28be828

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

rest_framework_json_api/schemas/openapi.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,6 @@ class SchemaGenerator(drf_openapi.SchemaGenerator):
267267
'style': 'deepObject',
268268
'schema': {
269269
'type': 'object',
270-
'properties': {
271-
'<typename>': { # placeholder for actual type names
272-
'type': 'string'
273-
}
274-
}
275270
},
276271
'explode': True
277272
},

0 commit comments

Comments
 (0)