You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
anyOf in responses generates invalid body parser #1263
def_parse_response_200(data: object) ->Union["Response200", Literal["Why have a fixed response? I dunno"]]:
response_200_type_0=cast(Literal["Why have a fixed response? I dunno"], data)
ifresponse_200_type_0!="Why have a fixed response? I dunno":
raiseValueError(
f"response_200_type_0 must match const 'Why have a fixed response? I dunno', got '{response_200_type_0}'"
)
returnresponse_200_type_0ifnotisinstance(data, dict):
raiseTypeError()
response_200_type_1=Response200.from_dict(data)
returnresponse_200_type_1
Reacted by Caleb Courier, Brennon Lee, Kit Axelrod, William Zeng and RenegadeE
Activity