# bodies
serve pydantic_v2.BaseModel
service DefaultService: post_account, post_anything, post_anything_extras, post_anything_files, post_check, post_choice_files, post_choices, post_closed_form, post_closed_parts, post_extra_bases, post_extra_counts, post_extra_files, post_extra_lists, post_extra_scores, post_extras, post_form, post_item, post_label, post_native_form, post_note, post_nullable_search, post_open_others, post_profile, post_raw, post_untyped_others, post_variant, put_archive, put_blob, put_document, search, upload
service DefaultService without its methods: TypeError
> POST /items
  post_item(body=None)
< 204 - b''
> POST /items
  post_item(body=Item(name='a'))
< 204 - b''
> POST /items
< 422 application/json [{"type": "extra_forbidden", "loc": ["body", "extra"]}]
> POST /items
< 422 application/json [{"type": "json_invalid", "loc": ["body", 1]}]
> POST /items
< 422 application/json [{"type": "model_attributes_type", "loc": ["body"]}]
> POST /items
< 422 application/json [{"type": "model_attributes_type", "loc": ["body"]}]
> POST /items
< 422 application/json [{"type": "model_attributes_type", "loc": ["body"]}]
> POST /accounts
< 422 application/json [{"type": "missing", "loc": ["body", "id"]}]
> POST /accounts
  post_account(body=Account(id=1, name='a'))
< 204 - b''
> POST /accounts
< 422 application/json [{"type": "missing", "loc": ["body"]}]
> POST /profiles
  post_profile(body=ProfilesPostRequest1(b='x'), media_type='application/json; profile=b')
< 204 - b''
> POST /profiles
  post_profile(body=ProfilesPostRequest(a=1), media_type='application/json; profile=a')
< 204 - b''
> POST /profiles
< 422 application/json [{"type": "extra_forbidden", "loc": ["body", "b"]}]
> POST /profiles
  post_profile(body=ProfilesPostRequest(a=2), media_type='application/json; profile=a')
< 204 - b''
> POST /profiles
  post_profile(body=None, media_type=None)
< 204 - b''
> POST /variants
  post_variant(body=VariantsPostRequest1(c=True), media_type='application/json')
< 204 - b''
> POST /variants
  post_variant(body=VariantsPostRequest(a=1), media_type='application/json; profile=v1')
< 204 - b''
> POST /variants
  post_variant(body=VariantsPostRequest2(tags=['a', 'b']), media_type='application/x-www-form-urlencoded')
< 204 - b''
> PUT /documents
< 422 application/json [{"type": "missing", "loc": ["body"]}]
> PUT /documents
< 415 application/json {"detail":"Unsupported media type"}
> PUT /documents
  put_document(body=Item(name='a'), media_type='application/json')
< 204 - b''
> PUT /documents
  put_document(body=Item(name='b'), media_type='application/vnd.item+json')
< 204 - b''
> PUT /documents
  put_document(body=DocumentsPutRequest(root='hello'), media_type='text/markdown')
< 204 - b''
> PUT /documents
< 422 application/json [{"type": "string_too_long", "loc": ["body"]}]
> PUT /documents
  put_document(body=DocumentsPutRequest(root='ÿ'), media_type='text/plain')
< 204 - b''
> PUT /blobs
  put_blob(body=b'raw bytes')
< 204 - b''
> PUT /archives
  put_archive(body=ArchivesPutRequest(root='hello'), media_type='text/plain')
< 204 - b''
> PUT /archives
< 422 application/json [{"type": "string_too_long", "loc": ["body"]}]
> PUT /archives
  put_archive(body=b'PK', media_type='application/zip')
< 204 - b''
> POST /forms
  post_form(body=FormsPostRequest(name='a', tags=['x', 'y'], count=2, other=3))
< 204 - b''
> POST /forms
< 422 application/json [{"type": "int_parsing", "loc": ["body", "count"]}]
> POST /forms
  post_form(body=FormsPostRequest(name='b', tags=None, count=None))
< 204 - b''
> POST /native-forms
  post_native_form(body=NativeFormsPostRequest(name='a', count=1))
< 204 - b''
> POST /uploads
  upload(body=UploadsPostRequest(file=b'file body', note='n'))
< 204 - b''
> POST /checks
  post_check(body=Check(code=12, scores=[1, 2]))
< 204 - b''
> POST /checks
< 422 application/json [{"type": "int_parsing", "loc": ["body", "code"]}]
> POST /checks
< 422 application/json [{"type": "greater_than_equal", "loc": ["body", "scores", 1]}]
> POST /checks
< 400 application/json {"detail":"There was an error parsing the body"}
> POST /items
  post_item(body=None)
< 204 - b''
> POST /notes
  post_note(body=None)
< 204 - b''
> POST /notes
  post_note(body=None)
< 204 - b''
> POST /notes
  post_note(body=NotesPostRequest(root=Item(name='a')))
< 204 - b''
> POST /labels
  post_label(body=LabelsPostRequest(root=None))
< 204 - b''
> POST /labels
  post_label(body=LabelsPostRequest(root='a'))
< 204 - b''
> POST /labels
< 422 application/json [{"type": "missing", "loc": ["body"]}]
> POST /labels
< 422 application/json [{"type": "missing", "loc": ["body"]}]
> POST /labels
< 422 application/json [{"type": "string_too_long", "loc": ["body"]}]
> POST /raw
  post_raw(request=POST /raw, body=b'{"any":"thing"}')
< 204 - b''
