Skip to content

Commit

Permalink
Upgrade api-specification (#417)
Browse files Browse the repository at this point in the history
This pull-request was generated automatically from the
api-specification.

Co-authored-by: github-actions <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
janza and github-actions[bot] authored Aug 23, 2024
1 parent 72e312a commit 1da462b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/generator/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"schema": {
"title": "Token information",
"type": "object",
"required": ["type", "team", "createdBy", "user"],
"required": ["type", "organization", "team", "createdBy", "user"],
"properties": {
"type": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TokenInformation(BaseModel):
""" # noqa: E501

type: StrictStr
organization: Optional[OrganizationInformation] = None
organization: OrganizationInformation
team: TeamInformation
created_by: UserInformation = Field(alias="createdBy")
user: UserInformation
Expand Down
2 changes: 1 addition & 1 deletion packages/miro-api/model/tokenInformation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {UserInformation} from './userInformation'

export class TokenInformation {
'type': string
'organization'?: OrganizationInformation
'organization': OrganizationInformation
'team': TeamInformation
'createdBy': UserInformation
'user': UserInformation
Expand Down

0 comments on commit 1da462b

Please sign in to comment.