feat: test oas; feat: v1.120.7
This commit is contained in:
@@ -34,7 +34,8 @@ class _OASResponseBuilder:
|
||||
).copy()
|
||||
if def_sub_schemas := response_schema.pop("definitions", None):
|
||||
self._oas.components.schemas.update(def_sub_schemas)
|
||||
return response_schema
|
||||
self._oas.components.schemas.update({response_schema['title']: response_schema})
|
||||
return {'$ref': f'#/components/schemas/{response_schema["title"]}'}
|
||||
return {}
|
||||
|
||||
def _handle_list(self, obj):
|
||||
|
||||
Reference in New Issue
Block a user