Update api spec (#302)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
zoo-github-actions-auth[bot]
2024-10-10 16:56:30 -07:00
committed by GitHub
parent fe55464136
commit 79bf86abe7
8 changed files with 1075 additions and 995 deletions

View File

@ -1,9 +1,13 @@
from typing import Optional
from pydantic import BaseModel, ConfigDict
class UpdateShortlinkRequest(BaseModel):
"""Request to update a shortlink."""
password: Optional[str] = None
restrict_to_org: bool
model_config = ConfigDict(protected_namespaces=())