o
    i                     @   s&  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+ d+eZd,S )-    )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                   @   s<  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re dde!idZ"dS G dd dZ#dS )	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                   @   s   e Zd ZejZdeiZdS )zOperation.Configr2   N)__name__
__module____qualname__r	   r1   r3   	_examplesschema_extra r:   r:   h/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/openapi_pydantic/v3/v3_1/operation.pyConfig   s    r<   )$r5   r6   r7   __doc__r%   r   r   str__annotations__r&   r   r-   r   r'   r(   r   r   r   r)   r   r*   r   r.   r   r   r/   boolr+   r   r0   r   r   r   r8   model_configr<   r:   r:   r:   r;   r,   A   s@   
  

r,   N)typingr   r   r   r   pydanticr   openapi_pydantic.compatr   r   r	   callbackr   external_documentationr   	parameterr   	referencer   request_bodyr   r*   r   security_requirementr   serverr   r8   r,   r:   r:   r:   r;   <module>   s`    


1