Skip to content

Commit

Permalink
chore: update oai specs (twilio#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanholtz committed Feb 8, 2021
1 parent cdd2964 commit 3312861
Show file tree
Hide file tree
Showing 33 changed files with 8,585 additions and 13,249 deletions.
99 changes: 46 additions & 53 deletions src/services/twilio-api/twilio_accounts_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,19 @@
"accounts.v1.auth_token_promotion": {
"properties": {
"account_sid": {
"maxLength": 34,
"minLength": 34,
"pattern": "^AC[0-9a-fA-F]{32}$",
"type": "string"
"$ref": "#/components/schemas/sid_AC"
},
"auth_token": {
"type": "string"
"$ref": "#/components/schemas/string"
},
"date_created": {
"format": "date-time",
"type": "string"
"$ref": "#/components/schemas/date_time_iso8601"
},
"date_updated": {
"format": "date-time",
"type": "string"
"$ref": "#/components/schemas/date_time_iso8601"
},
"url": {
"format": "uri",
"type": "string"
"$ref": "#/components/schemas/url"
}
},
"type": "object"
Expand All @@ -34,92 +28,91 @@
"accounts.v1.credential.credential_aws": {
"properties": {
"account_sid": {
"maxLength": 34,
"minLength": 34,
"pattern": "^AC[0-9a-fA-F]{32}$",
"type": "string"
"$ref": "#/components/schemas/sid_AC"
},
"date_created": {
"format": "date-time",
"type": "string"
"$ref": "#/components/schemas/date_time_iso8601"
},
"date_updated": {
"format": "date-time",
"type": "string"
"$ref": "#/components/schemas/date_time_iso8601"
},
"friendly_name": {
"type": "string"
"$ref": "#/components/schemas/string"
},
"sid": {
"maxLength": 34,
"minLength": 34,
"pattern": "^CR[0-9a-fA-F]{32}$",
"type": "string"
"$ref": "#/components/schemas/sid_CR"
},
"url": {
"format": "uri",
"type": "string"
"$ref": "#/components/schemas/url"
}
},
"type": "object"
},
"accounts.v1.credential.credential_public_key": {
"properties": {
"account_sid": {
"maxLength": 34,
"minLength": 34,
"pattern": "^AC[0-9a-fA-F]{32}$",
"type": "string"
"$ref": "#/components/schemas/sid_AC"
},
"date_created": {
"format": "date-time",
"type": "string"
"$ref": "#/components/schemas/date_time_iso8601"
},
"date_updated": {
"format": "date-time",
"type": "string"
"$ref": "#/components/schemas/date_time_iso8601"
},
"friendly_name": {
"type": "string"
"$ref": "#/components/schemas/string"
},
"sid": {
"maxLength": 34,
"minLength": 34,
"pattern": "^CR[0-9a-fA-F]{32}$",
"type": "string"
"$ref": "#/components/schemas/sid_CR"
},
"url": {
"format": "uri",
"type": "string"
"$ref": "#/components/schemas/url"
}
},
"type": "object"
},
"accounts.v1.secondary_auth_token": {
"properties": {
"account_sid": {
"maxLength": 34,
"minLength": 34,
"pattern": "^AC[0-9a-fA-F]{32}$",
"type": "string"
"$ref": "#/components/schemas/sid_AC"
},
"date_created": {
"format": "date-time",
"type": "string"
"$ref": "#/components/schemas/date_time_iso8601"
},
"date_updated": {
"format": "date-time",
"type": "string"
"$ref": "#/components/schemas/date_time_iso8601"
},
"secondary_auth_token": {
"type": "string"
"$ref": "#/components/schemas/string"
},
"url": {
"format": "uri",
"type": "string"
"$ref": "#/components/schemas/url"
}
},
"type": "object"
},
"date_time_iso8601": {
"format": "date-time",
"type": "string"
},
"sid_AC": {
"maxLength": 34,
"minLength": 34,
"pattern": "^AC[0-9a-fA-F]{32}$",
"type": "string"
},
"sid_CR": {
"maxLength": 34,
"minLength": 34,
"pattern": "^CR[0-9a-fA-F]{32}$",
"type": "string"
},
"string": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"securitySchemes": {
Expand All @@ -142,7 +135,7 @@
},
"termsOfService": "https://www.twilio.com/legal/tos",
"title": "Twilio - Accounts",
"version": "5.16.1"
"version": "1.8.0"
},
"openapi": "3.0.1",
"paths": {
Expand Down
Loading

0 comments on commit 3312861

Please sign in to comment.