# Generated by smithplates HTTP codegen. Do not edit.
from typing import Annotated, Protocol  # noqa: F401

from generated.example.get_widget404 import GetWidget404
from generated.example.widget_list_output import WidgetListOutput
from generated.example.widget_output import WidgetOutput
from pydantic import Field  # noqa: F401


class V1WidgetsApiServiceProtocol(Protocol):
    async def get_widget(
        self,
        id_: str,
    ) -> WidgetOutput | GetWidget404: ...
    async def list_widgets(
        self,
    ) -> WidgetListOutput: ...
