o
    iA                  
   @   s  d dl 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dlmZ ddlmZ ddlmZ ddddddiddddddddiddddddddidddddddddddd dd!dddddd"d#d$id#d%id&d'd(d)d*iiid+d,d-d.d/d0d1d2d3d4d5d6d7id8d9d:gZ G d;d< d<eZ!d=S )>    )DictOptionalUnion)	BaseModel)PYDANTIC_V2
ConfigDictExtra   )Callback)Example)Header)Link)	Parameter)PathItem)	Reference)RequestBody)Response)Schema)SecuritySchemeobjectintegerint32)typeformatr   string)codemessage)r   
propertiesint64)idname)GeneralErrorCategoryTagskipqueryznumber of items to skipT)r    indescriptionrequiredschemalimitzmax records to return)	skipParam
limitParamr'   zEntity not found.zIllegal input for operation.zGeneral Errorzapplication/jsonr)   z$refz!#/components/schemas/GeneralError)r'   content)NotFoundIllegalInputr!   apiKeyapi_keyheader)r   r    r&   oauth2implicitz#http://example.org/api/oauth/dialogzmodify pets in your accountzread your pets)z
write:petsz	read:pets)authorizationUrlscopes)r   flows)r1   petstore_auth)schemas
parameters	responsessecuritySchemesc                   @   s  e Zd ZU dZdZeeeef  e	d< 	 dZ
eeeeeef f  e	d< 	 dZeeeeeef f  e	d< 	 dZeeeeeef f  e	d< 	 dZeeeeeef f  e	d< 	 dZeeeeeef f  e	d< 	 dZeeeeeef f  e	d	< 	 dZeeeeeef f  e	d
< 	 dZeeeeeef f  e	d< 	 dZeeeeeef f  e	d< 	 eredde idZ!dS G dd dZ"dS )
Componentsz
    Holds a set of reusable objects for different aspects of the OAS.
    All objects defined within the components object will have no effect on the API
    unless they are explicitly referenced from properties outside the components object.
    Nr9   r;   r:   examplesrequestBodiesheadersr<   links	callbacks	pathItemsallow)extrajson_schema_extrac                   @   s   e Zd ZejZdeiZdS )zComponents.Configr>   N)__name__
__module____qualname__r   rD   rE   	_examplesschema_extra rL   rL   i/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/openapi_pydantic/v3/v3_1/components.pyConfig   s    rN   )#rG   rH   rI   __doc__r9   r   r   strr   __annotations__r;   r   r   r   r:   r   r>   r   r?   r   r@   r   r<   r   rA   r   rB   r
   rC   r   r   r   rJ   model_configrN   rL   rL   rL   rM   r=   _   s8   
          
r=   N)"typingr   r   r   pydanticr   openapi_pydantic.compatr   r   r   callbackr
   exampler   r2   r   linkr   	parameterr   	path_itemr   	referencer   request_bodyr   responser   r)   r   security_schemer   rJ   r=   rL   rL   rL   rM   <module>   s    L