Skip to content

Commit

Permalink
fix: update openapi.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wsocha committed Sep 5, 2023
1 parent f06bd91 commit bacc24b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
yarn install
yarn build:schema
- name: Verify openapi.json file is up to date
- name: Verify openapi.json file is up to date (run 'yarn build:schema' and commit changes in openapi.json file if this command returns error)
run: git diff --quiet openapi.json

# The deploy task actually deploys any changes to the en branch
Expand Down
33 changes: 6 additions & 27 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -6657,7 +6657,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Metadata"
"$ref": "#/components/schemas/Metadata--Full"
}
}
}
Expand Down Expand Up @@ -25781,10 +25781,10 @@
},
"type": {
"type": "string",
"description": "`collaboration_whitelist`",
"example": "collaboration_whitelist",
"description": "`collaboration_whitelist_exempt_target`",
"example": "collaboration_whitelist_exempt_target",
"enum": [
"collaboration_whitelist"
"collaboration_whitelist_exempt_target"
]
},
"enterprise": {
Expand Down Expand Up @@ -25822,29 +25822,7 @@
"user": {
"allOf": [
{
"title": "Enterprise",
"type": "object",
"description": "A representation of a Box enterprise",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier for this enterprise.",
"example": "11446498"
},
"type": {
"type": "string",
"description": "`enterprise`",
"example": "enterprise",
"enum": [
"enterprise"
]
},
"name": {
"description": "The name of the enterprise",
"example": "Acme Inc.",
"type": "string"
}
}
"$ref": "#/components/schemas/User--Mini"
},
{
"description": "The user that has been exempt"
Expand Down Expand Up @@ -35140,6 +35118,7 @@
"x-box-variant": "base",
"description": "A mini representation of a user, used when\nnested within another resource.",
"required": [
"id",
"type"
],
"properties": {
Expand Down

0 comments on commit bacc24b

Please sign in to comment.