feat: OpenAPI spec update via Stainless API (#122)

This commit is contained in:
stainless-app[bot] 2024-03-12 17:29:07 +00:00
parent cae2868592
commit 383c2db34c
5 changed files with 35 additions and 15 deletions

View file

@ -2,8 +2,9 @@
from typing import List, Union, Optional
from datetime import datetime
from typing_extensions import Literal
from typing_extensions import Literal, Annotated
from ..._utils import PropertyInfo
from ..._models import BaseModel
__all__ = [
@ -1659,6 +1660,9 @@ class URI(BaseModel):
"""The domain of the record."""
RecordCreateResponse = Union[
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
RecordCreateResponse = Annotated[
Union[
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
],
PropertyInfo(discriminator="type"),
]

View file

@ -2,8 +2,9 @@
from typing import List, Union, Optional
from datetime import datetime
from typing_extensions import Literal
from typing_extensions import Literal, Annotated
from ..._utils import PropertyInfo
from ..._models import BaseModel
__all__ = [
@ -1659,6 +1660,9 @@ class URI(BaseModel):
"""The domain of the record."""
RecordEditResponse = Union[
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
RecordEditResponse = Annotated[
Union[
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
],
PropertyInfo(discriminator="type"),
]

View file

@ -2,8 +2,9 @@
from typing import List, Union, Optional
from datetime import datetime
from typing_extensions import Literal
from typing_extensions import Literal, Annotated
from ..._utils import PropertyInfo
from ..._models import BaseModel
__all__ = [
@ -1659,6 +1660,9 @@ class URI(BaseModel):
"""The domain of the record."""
RecordGetResponse = Union[
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
RecordGetResponse = Annotated[
Union[
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
],
PropertyInfo(discriminator="type"),
]

View file

@ -2,8 +2,9 @@
from typing import List, Union, Optional
from datetime import datetime
from typing_extensions import Literal
from typing_extensions import Literal, Annotated
from ..._utils import PropertyInfo
from ..._models import BaseModel
__all__ = [
@ -1659,6 +1660,9 @@ class URI(BaseModel):
"""The domain of the record."""
RecordListResponse = Union[
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
RecordListResponse = Annotated[
Union[
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
],
PropertyInfo(discriminator="type"),
]

View file

@ -2,8 +2,9 @@
from typing import List, Union, Optional
from datetime import datetime
from typing_extensions import Literal
from typing_extensions import Literal, Annotated
from ..._utils import PropertyInfo
from ..._models import BaseModel
__all__ = [
@ -1659,6 +1660,9 @@ class URI(BaseModel):
"""The domain of the record."""
RecordUpdateResponse = Union[
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
RecordUpdateResponse = Annotated[
Union[
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
],
PropertyInfo(discriminator="type"),
]