
    Ki                     ,   d dl mZmZmZmZ d dlmZ d dlmZm	Z	m
Z
 ddlmZ ddlmZ ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ dgddddddddidgddddddddddddgd iiid!i i d"d#d$i i d"d#d%d&d'd(gigd)gZ G d* d+e      Zy,)-    )DictListOptionalUnion)	BaseModel)PYDANTIC_V2
ConfigDictExtra   )Callback)ExternalDocumentation)	Parameter)	Reference)RequestBody)	Responses)SecurityRequirement)Serverpetz)Updates a pet in the store with form dataupdatePetWithFormpetIdpathz"ID of pet that needs to be updatedTtypestring)nameindescriptionrequiredschemacontentz!application/x-www-form-urlencodedr   objectzUpdated name of the pet)r   r   zUpdated status of the pet)r   statusr!   )r   
propertiesr   zPet updated.)zapplication/jsonzapplication/xml)r   r   zMethod Not Allowed)200405petstore_authz
write:petsz	read:pets)tagssummaryoperationId
parametersrequestBody	responsessecurityc                      e Zd ZU dZdZeee      ed<   	 dZ	ee   ed<   	 dZ
ee   ed<   	 dZee   ed<   	 dZee   ed<   	 dZeeeeef         ed<   	 dZeeeef      ed	<   	 dZee   ed
<   	 dZeeeeeef   f      ed<   	 dZeed<   	 dZeee      ed<   	 dZeee      ed<   	 er e dde!i      Z"y G d d      Z#y)	Operationz+Describes a single API operation on a path.Nr&   r'   r   externalDocsr(   r)   r*   r+   	callbacksF
deprecatedr,   serversallowexamples)extrajson_schema_extrac                   ,    e Zd Zej                  ZdeiZy)Operation.Configr4   N)__name__
__module____qualname__r
   r3   r5   	_examplesschema_extra     n/home/jay/workspace/scripts/.codegraph-venv/lib/python3.12/site-packages/openapi_pydantic/v3/v3_1/operation.pyConfigr8      s    KKE&	2Lr?   rA   )$r9   r:   r;   __doc__r&   r   r   str__annotations__r'   r   r/   r   r(   r)   r   r   r   r*   r   r+   r   r0   r   r   r1   boolr,   r   r2   r   r   r	   r<   model_configrA   r>   r?   r@   r.   r.   A   sg   5 $D(49
$ "GXc]! "&K#% 59L(018 "&K#% ?CJeIy$89:;B	 <@K%Y 678? &*Ix	") BFIxS%)(;"<<=>E J 59Hht/018 '+GXd6l#* !)95
	3 	3r?   r.   N)typingr   r   r   r   pydanticr   openapi_pydantic.compatr   r	   r
   callbackr   external_documentationr   	parameterr   	referencer   request_bodyr   r+   r   security_requirementr   serverr   r<   r.   r>   r?   r@   <module>rQ      s    . .  B B  9     %   5  >*  C !8,
 3 ( 0I(0%
 0K(0'	' &.J6
,  .02rJ
  402rJ	
 &k'BCDW,.	bo3	 o3r?   