models shared True
# bodies in-process sync, in-process async
post_item
  > POST /items [application/json]
  post_item(body=Item(name='a'))
  < 204 -
  = None
post_item without a body
  > POST /items
  post_item(body=None)
  < 204 -
  = None
post_account
  > POST /accounts [application/json]
  post_account(body=Account(id=1, name='a'))
  < 204 -
  = None
post_profile profile=a
  > POST /profiles [application/json; profile=a]
  post_profile(body=ProfilesPostRequest(a=1), media_type='application/json; profile=a')
  < 204 -
  = None
post_profile profile=b
  > POST /profiles [application/json; profile=b]
  post_profile(body=ProfilesPostRequest1(b='x'), media_type='application/json; profile=b')
  < 204 -
  = None
post_variant JSON
  > POST /variants [application/json]
  post_variant(body=VariantsPostRequest1(c=True), media_type='application/json')
  < 204 -
  = None
post_variant profile=v1
  > POST /variants [application/json; profile=v1]
  post_variant(body=VariantsPostRequest(a=1), media_type='application/json; profile=v1')
  < 204 -
  = None
post_variant form
  > POST /variants [application/x-www-form-urlencoded]
  post_variant(body=VariantsPostRequest2(tags=['a', 'b']), media_type='application/x-www-form-urlencoded')
  < 204 -
  = None
put_document JSON
  > PUT /documents [application/json]
  put_document(body=Item(name='j'), media_type='application/json')
  < 204 -
  = None
put_document vendor JSON
  > PUT /documents [application/vnd.item+json]
  put_document(body=Item(name='v'), media_type='application/vnd.item+json')
  < 204 -
  = None
put_document text
  > PUT /documents [text/markdown]
  put_document(body=DocumentsPutRequest(root='hi'), media_type='text/markdown')
  < 204 -
  = None
put_archive bytes
  > PUT /archives [application/zip]
  put_archive(body=b'PK\x03\x04', media_type='application/zip')
  < 204 -
  = None
put_archive text
  > PUT /archives [text/plain]
  put_archive(body=ArchivesPutRequest(root='abc'), media_type='text/plain')
  < 204 -
  = None
put_blob
  > PUT /blobs [application/octet-stream]
  put_blob(body=b'\x00\x01\x02')
  < 204 -
  = None
post_form
  > POST /forms [application/x-www-form-urlencoded]
  post_form(body=FormsPostRequest(name='n', tags=['a', 'b c'], count=2, extra=5))
  < 204 -
  = None
post_native_form
  > POST /native-forms [application/x-www-form-urlencoded]
  post_native_form(body=NativeFormsPostRequest(name='n', count=1))
  < 204 -
  = None
upload
  > POST /uploads [multipart/form-data; boundary=<boundary>]
  upload(body=UploadsPostRequest(file=b'\x00binary\xff', note='café'))
  < 204 -
  = None
search
  > POST /searches [multipart/form-data; boundary=<boundary>]
  search(body=SearchesPostRequest(filter=Filter(color='blue', minAge=3), filters=[Filter(color='a', minAge=None), Filter(color=None, minAge=2)], tags=['a', 'b c'], limit=5))
  < 204 -
  = None
search refused parts
  > POST /searches [multipart/form-data; boundary=<boundary>]
  < 422 application/json
  ! UnprocessableEntityError: Error code: 422 - {"detail":[{"type":"greater_than_equal","loc":["body","filter","minAge"],"msg":"<msg>"},{"type":"greater_than_equal","loc":["body","filters",1,"minAge"],"msg":"<msg>"}]} [operation_id='search', status_code=422, body=b'{"detail":[{"type":"greater_than_equal","loc":["body","filter","minAge"],"msg":"<msg>"},{"type":"greater_than_equal","loc":["body","filters",1,"minAge"],"msg":"<msg>"}]}', body_bytes=b'{"detail":[{"type":"greater_than_equal","loc":["body","filter","minAge"],"msg":"<msg>"},{"type":"greater_than_equal","loc":["body","filters",1,"minAge"],"msg":"<msg>"}]}', truncated=False]
post_choices text
  > POST /choices [multipart/form-data; boundary=<boundary>]
  post_choices(body=Choices(either='plain', level=Level.a, words='s', lists=['x']))
  < 204 -
  = None
post_choices values
  > POST /choices [multipart/form-data; boundary=<boundary>]
  post_choices(body=Choices(either=Filter(color='c', minAge=None), level=Level.int_1, words=['a', 'b'], lists=[1, 2]))
  < 204 -
  = None
post_choice_files text
  > POST /choice-files [multipart/form-data; boundary=<boundary>]
  post_choice_files(body=ChoiceFilesPostRequest(either='plain', level=Level.a, words='s', lists=['x'], file=None))
  < 204 -
  = None
post_choice_files values
  > POST /choice-files [multipart/form-data; boundary=<boundary>]
  post_choice_files(body=ChoiceFilesPostRequest(either=Filter(color='c', minAge=None), level=Level.int_1, words=['a', 'b'], lists=[1, 2], file=None))
  < 204 -
  = None
post_extras
  > POST /extras [multipart/form-data; boundary=<boundary>]
  post_extras(body=ExtrasPostRequest(name='n', first=Filter(color='blue', minAge=None), second=Filter(color=None, minAge=3)))
  < 204 -
  = None
post_extras refused
  > POST /extras [multipart/form-data; boundary=<boundary>]
  < 422 application/json
  ! UnprocessableEntityError: Error code: 422 - {"detail":[{"type":"greater_than_equal","loc":["body","second","minAge"],"msg":"<msg>"}]} [operation_id='postExtras', status_code=422, body=b'{"detail":[{"type":"greater_than_equal","loc":["body","second","minAge"],"msg":"<msg>"}]}', body_bytes=b'{"detail":[{"type":"greater_than_equal","loc":["body","second","minAge"],"msg":"<msg>"}]}', truncated=False]
post_extra_lists
  > POST /extra-lists [multipart/form-data; boundary=<boundary>]
  post_extra_lists(body=ExtraListsPostRequest(name='n', first=[Filter(color='blue', minAge=None), Filter(color=None, minAge=3)], second=[Filter(color=None, minAge=3)]))
  < 204 -
  = None
post_extra_lists refused
  > POST /extra-lists [multipart/form-data; boundary=<boundary>]
  < 422 application/json
  ! UnprocessableEntityError: Error code: 422 - {"detail":[{"type":"greater_than_equal","loc":["body","first",1,"minAge"],"msg":"<msg>"}]} [operation_id='postExtraLists', status_code=422, body=b'{"detail":[{"type":"greater_than_equal","loc":["body","first",1,"minAge"],"msg":"<msg>"}]}', body_bytes=b'{"detail":[{"type":"greater_than_equal","loc":["body","first",1,"minAge"],"msg":"<msg>"}]}', truncated=False]
post_extra_counts
  > POST /extra-counts [multipart/form-data; boundary=<boundary>]
  post_extra_counts(body=ExtraCountsPostRequest(name='n', first=1, second=2))
  < 204 -
  = None
post_extra_counts refused
  > POST /extra-counts [multipart/form-data; boundary=<boundary>]
  < 422 application/json
  ! UnprocessableEntityError: Error code: 422 - {"detail":[{"type":"greater_than_equal","loc":["body","second"],"msg":"<msg>"}]} [operation_id='postExtraCounts', status_code=422, body=b'{"detail":[{"type":"greater_than_equal","loc":["body","second"],"msg":"<msg>"}]}', body_bytes=b'{"detail":[{"type":"greater_than_equal","loc":["body","second"],"msg":"<msg>"}]}', truncated=False]
post_extra_files
  > POST /extra-files [multipart/form-data; boundary=<boundary>]
  post_extra_files(body=ExtraFilesPostRequest(file=b'\x00', name='n', first=[Filter(color='blue', minAge=None), Filter(color=None, minAge=3)], second=[Filter(color=None, minAge=3)]))
  < 204 -
  = None
post_extra_files without parts
  > POST /extra-files [multipart/form-data; boundary=<boundary>]
  post_extra_files(body=ExtraFilesPostRequest(file=None, name=None))
  < 204 -
  = None
post_extra_files refused
  > POST /extra-files [multipart/form-data; boundary=<boundary>]
  < 422 application/json
  ! UnprocessableEntityError: Error code: 422 - {"detail":[{"type":"greater_than_equal","loc":["body","first",1,"minAge"],"msg":"<msg>"}]} [operation_id='postExtraFiles', status_code=422, body=b'{"detail":[{"type":"greater_than_equal","loc":["body","first",1,"minAge"],"msg":"<msg>"}]}', body_bytes=b'{"detail":[{"type":"greater_than_equal","loc":["body","first",1,"minAge"],"msg":"<msg>"}]}', truncated=False]
post_extra_scores
  > POST /extra-scores [application/x-www-form-urlencoded]
  post_extra_scores(body=ExtraScoresPostRequest(name='n', first=[1, 2], second=[3]))
  < 204 -
  = None
post_extra_scores refused
  > POST /extra-scores [application/x-www-form-urlencoded]
  < 422 application/json
  ! UnprocessableEntityError: Error code: 422 - {"detail":[{"type":"greater_than_equal","loc":["body","first",1],"msg":"<msg>"}]} [operation_id='postExtraScores', status_code=422, body=b'{"detail":[{"type":"greater_than_equal","loc":["body","first",1],"msg":"<msg>"}]}', body_bytes=b'{"detail":[{"type":"greater_than_equal","loc":["body","first",1],"msg":"<msg>"}]}', truncated=False]
post_extra_bases
  > POST /extra-bases [multipart/form-data; boundary=<boundary>]
  post_extra_bases(body=ExtraBasesPostRequest(base='b', name='n', first=Filter(color='blue', minAge=None), second=Filter(color=None, minAge=3)))
  < 204 -
  = None
post_nullable_search
  > POST /nullable-searches [multipart/form-data; boundary=<boundary>]
  post_nullable_search(body=NullableSearchesPostRequest(root=Search(filter=Filter(color='blue', minAge=None), limit=5, first=Filter(color=None, minAge=3))))
  < 204 -
  = None
post_nullable_search refused
  > POST /nullable-searches [multipart/form-data; boundary=<boundary>]
  < 422 application/json
  ! UnprocessableEntityError: Error code: 422 - {"detail":[{"type":"greater_than_equal","loc":["body","filter","minAge"],"msg":"<msg>"},{"type":"greater_than_equal","loc":["body","first","minAge"],"msg":"<msg>"}]} [operation_id='postNullableSearch', status_code=422, body=b'{"detail":[{"type":"greater_than_equal","loc":["body","filter","minAge"],"msg":"<msg>"},{"type":"greater_than_equal","loc":["body","first","minAge"],"msg":"<msg>"}]}', body_bytes=b'{"detail":[{"type":"greater_than_equal","loc":["body","filter","minAge"],"msg":"<msg>"},{"type":"greater_than_equal","loc":["body","first","minAge"],"msg":"<msg>"}]}', truncated=False]
post_closed_form
  > POST /closed-forms [application/x-www-form-urlencoded]
  post_closed_form(body=ClosedFormsPostRequest(name='n'))
  < 204 -
  = None
post_closed_parts
  > POST /closed-parts [multipart/form-data; boundary=<boundary>]
  post_closed_parts(body=ClosedPartsPostRequest(name='n'))
  < 204 -
  = None
post_closed_parts without members
  > POST /closed-parts [multipart/form-data; boundary=<boundary>]
  post_closed_parts(body=ClosedPartsPostRequest(name=None))
  < 204 -
  = None
/closed-forms with another member
  > POST /closed-forms [application/x-www-form-urlencoded]
  < 422 application/json
  = (422, [('extra_forbidden', ['body', 'other'])])
/closed-parts with another member
  > POST /closed-parts [multipart/form-data; boundary=<boundary>]
  < 422 application/json
  = (422, [('extra_forbidden', ['body', 'other'])])
post_check
  > POST /checks [application/json]
  post_check(body=Check(code=7, scores=[1, 2]))
  < 204 -
  = None
post_note null
  > POST /notes [application/json]
  post_note(body=None)
  < 204 -
  = None
post_note item
  > POST /notes [application/json]
  post_note(body=NotesPostRequest(root=Item(name='i')))
  < 204 -
  = None
post_label null
  > POST /labels [application/json]
  post_label(body=LabelsPostRequest(root=None))
  < 204 -
  = None
post_label text
  > POST /labels [application/json]
  post_label(body=LabelsPostRequest(root='a'))
  < 204 -
  = None
post_label None
  > POST /labels [application/json]
  post_label(body=LabelsPostRequest(root=None))
  < 204 -
  = None
post_label refused
  > POST /labels [application/json]
  < 422 application/json
  ! UnprocessableEntityError: Error code: 422 - {"detail":[{"type":"string_too_long","loc":["body"],"msg":"<msg>"}]} [operation_id='postLabel', status_code=422, body=b'{"detail":[{"type":"string_too_long","loc":["body"],"msg":"<msg>"}]}', body_bytes=b'{"detail":[{"type":"string_too_long","loc":["body"],"msg":"<msg>"}]}', truncated=False]
post_account None
  > POST /accounts [application/json]
  < 422 application/json
  ! UnprocessableEntityError: Error code: 422 - {"detail":[{"type":"missing","loc":["body"],"msg":"<msg>"}]} [operation_id='postAccount', status_code=422, body=b'{"detail":[{"type":"missing","loc":["body"],"msg":"<msg>"}]}', body_bytes=b'{"detail":[{"type":"missing","loc":["body"],"msg":"<msg>"}]}', truncated=False]
post_raw
  > POST /raw [application/json]
  post_raw(body=RawPostRequest())
  < 204 -
  = None
post_anything values
  > POST /anythings [multipart/form-data; boundary=<boundary>]
  post_anything(body=Anythings(anything={'a': 1}, many=[{'b': 2}, [3], 's']))
  < 204 -
  = None
post_anything arrays
  > POST /anythings [multipart/form-data; boundary=<boundary>]
  post_anything(body=Anythings(anything=[1, '2'], many=[None, 1.5]))
  < 204 -
  = None
post_anything strings
  > POST /anythings [multipart/form-data; boundary=<boundary>]
  post_anything(body=Anythings(anything='1', many=['s', 'true']))
  < 204 -
  = None
post_anything_extras values
  > POST /anything-extras [multipart/form-data; boundary=<boundary>]
  post_anything_extras(body=AnythingExtrasPostRequest(anything={'a': 1}, first=Filter(color='blue', minAge=None)))
  < 204 -
  = None
post_anything_extras arrays
  > POST /anything-extras [multipart/form-data; boundary=<boundary>]
  post_anything_extras(body=AnythingExtrasPostRequest(anything=[1, '2'], first=Filter(color='blue', minAge=None)))
  < 204 -
  = None
post_anything_extras strings
  > POST /anything-extras [multipart/form-data; boundary=<boundary>]
  post_anything_extras(body=AnythingExtrasPostRequest(anything='1', first=Filter(color='blue', minAge=None)))
  < 204 -
  = None
post_anything_files values
  > POST /anything-files [multipart/form-data; boundary=<boundary>]
  post_anything_files(body=AnythingFilesPostRequest(anything={'a': 1}, many=[{'b': 2}, [3], 's'], file=None))
  < 204 -
  = None
post_anything_files arrays
  > POST /anything-files [multipart/form-data; boundary=<boundary>]
  post_anything_files(body=AnythingFilesPostRequest(anything=[1, '2'], many=[None, 1.5], file=None))
  < 204 -
  = None
post_anything_files strings
  > POST /anything-files [multipart/form-data; boundary=<boundary>]
  post_anything_files(body=AnythingFilesPostRequest(anything='1', many=['s', 'true'], file=None))
  < 204 -
  = None
post_untyped_others values
  > POST /untyped-others [multipart/form-data; boundary=<boundary>]
  post_untyped_others(body=UntypedOthersPostRequest(name='n', anything={'a': 1}, many=[{'b': 2}, [3], 's']))
  < 204 -
  = None
post_untyped_others arrays
  > POST /untyped-others [multipart/form-data; boundary=<boundary>]
  post_untyped_others(body=UntypedOthersPostRequest(name='n', anything=[1, '2'], many=[None, 1.5]))
  < 204 -
  = None
post_untyped_others strings
  > POST /untyped-others [multipart/form-data; boundary=<boundary>]
  post_untyped_others(body=UntypedOthersPostRequest(name='n', anything='1', many=['s', 'true']))
  < 204 -
  = None
post_open_others values
  > POST /open-others [multipart/form-data; boundary=<boundary>]
  post_open_others(body=OpenOthersPostRequest(name='n', anything={'a': 1}, many=[{'b': 2}, [3], 's']))
  < 204 -
  = None
post_open_others arrays
  > POST /open-others [multipart/form-data; boundary=<boundary>]
  post_open_others(body=OpenOthersPostRequest(name='n', anything=[1, '2'], many=[None, 1.5]))
  < 204 -
  = None
post_open_others strings
  > POST /open-others [multipart/form-data; boundary=<boundary>]
  post_open_others(body=OpenOthersPostRequest(name='n', anything='1', many=['s', 'true']))
  < 204 -
  = None
/untyped-others other text and file parts
  > POST /untyped-others [multipart/form-data; boundary=<boundary>]
  post_untyped_others(body=UntypedOthersPostRequest(name=None, other='plain', more=b'plain'))
  < 204 -
  = 204
/open-others other text and file parts
  > POST /open-others [multipart/form-data; boundary=<boundary>]
  post_open_others(body=OpenOthersPostRequest(name=None, other='plain', more=b'plain'))
  < 204 -
  = 204
/anythings text parts
  > POST /anythings [multipart/form-data; boundary=<boundary>]
  post_anything(body=Anythings(anything='plain', many=[[1], 'x y']))
  < 204 -
  = 204
/anythings file part
  > POST /anythings [multipart/form-data; boundary=<boundary>]
  post_anything(body=Anythings(anything=b'plain', many=None))
  < 204 -
  = 204
