-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): OpenAPI spec update via Stainless API (#1076)
- Loading branch information
1 parent
c1c61cf
commit 799cc90
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
configured_endpoints: 1348 | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6cbe8add32f8acdbd62db2535ff05cb698247f12ffc69168fc121409a8b05bec.yml | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7c1749e86a3410071f606dc2289ff66d9c63b3fd27fb01c8f67bef49e521170d.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import Optional | ||
from typing_extensions import Literal | ||
|
||
from ..._models import BaseModel | ||
|
||
__all__ = ["Caption"] | ||
|
||
|
||
class Caption(BaseModel): | ||
generated: Optional[bool] = None | ||
"""Whether the caption was generated via AI.""" | ||
|
||
label: Optional[str] = None | ||
"""The language label displayed in the native language to users.""" | ||
|
||
language: Optional[str] = None | ||
"""The language tag in BCP 47 format.""" | ||
|
||
status: Optional[Literal["ready", "inprogress", "error"]] = None | ||
"""The status of a generated caption.""" |