# generated by datamodel-codegen:
#   filename:  api.json

"""The operation registry of this package; regenerate it instead of editing."""

from __future__ import annotations

from typing import Final

from ._generated import model_bindings
from ._runtime.client.operations import (
    OperationPlan,
    ParameterSpec,
    ResponseDecoder,
    ServerPlan,
    model_branch,
)
from ._runtime.model_codecs.parameters import ParameterPlan
from .types.pets import ListPetsResponse

_SERVERS_0: Final = (ServerPlan(url='https://example.com'),)

OPERATION_0: Final[OperationPlan[ListPetsResponse]] = OperationPlan(
    operation_id='listPets',
    method='GET',
    path='/pets',
    servers=_SERVERS_0,
    responses=ResponseDecoder((model_branch('200', 'application/json', 'json', model_bindings.codec_1),), ()),
    parameters=(ParameterSpec(plan=ParameterPlan(location='query', name='q𞓐', style='form', explode=True), codec=model_bindings.codec_0),),
)
