diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index c16c64152..c2d51ea54 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -32,7 +32,7 @@ paths: oauth: $ref: '#/components/examples/AccountCreateRequestOAuthExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -50,7 +50,7 @@ paths: $ref: '#/components/examples/AccountCreateResponseExample' oauth: $ref: '#/components/examples/AccountCreateOAuthResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -147,7 +147,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -163,7 +163,7 @@ paths: examples: default_example: $ref: '#/components/examples/AccountGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -248,7 +248,7 @@ paths: default_example: $ref: '#/components/examples/AccountUpdateRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -264,7 +264,7 @@ paths: examples: default_example: $ref: '#/components/examples/AccountUpdateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -351,7 +351,7 @@ paths: default_example: $ref: '#/components/examples/AccountVerifyRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -369,7 +369,7 @@ paths: $ref: '#/components/examples/AccountVerifyFoundResponseExample' not_found: $ref: '#/components/examples/AccountVerifyNotFoundResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -457,7 +457,7 @@ paths: schema: $ref: '#/components/schemas/ApiAppCreateRequest' responses: - 201: + '201': description: 'successful operation' headers: X-RateLimit-Limit: @@ -473,7 +473,7 @@ paths: examples: default_example: $ref: '#/components/examples/ApiAppCreateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -560,7 +560,7 @@ paths: type: string example: 0dd3b823a682527788c4e40cb7b6f7e9 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -576,7 +576,7 @@ paths: examples: default_example: $ref: '#/components/examples/ApiAppGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -676,7 +676,7 @@ paths: schema: $ref: '#/components/schemas/ApiAppUpdateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -692,7 +692,7 @@ paths: examples: default_example: $ref: '#/components/examples/ApiAppUpdateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -780,7 +780,7 @@ paths: type: string example: 0dd3b823a682527788c4e40cb7b6f7e9 responses: - 204: + '204': description: 'successful operation' headers: X-RateLimit-Limit: @@ -789,7 +789,7 @@ paths: $ref: '#/components/headers/X-RateLimit-Remaining' X-Ratelimit-Reset: $ref: '#/components/headers/X-Ratelimit-Reset' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -882,7 +882,7 @@ paths: type: integer default: 20 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -898,7 +898,7 @@ paths: examples: default_example: $ref: '#/components/examples/ApiAppListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -997,7 +997,7 @@ paths: type: integer default: 20 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1013,7 +1013,7 @@ paths: examples: default_example: $ref: '#/components/examples/BulkSendJobGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1105,7 +1105,7 @@ paths: type: integer default: 20 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1121,7 +1121,7 @@ paths: examples: default_example: $ref: '#/components/examples/BulkSendJobListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1216,7 +1216,7 @@ paths: default_example: $ref: '#/components/examples/EmbeddedEditUrlRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1232,7 +1232,7 @@ paths: examples: default_example: $ref: '#/components/examples/EmbeddedEditUrlResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1319,7 +1319,7 @@ paths: type: string example: 50e3542f738adfa7ddd4cbd4c00d2a8ab6e4194b responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1335,7 +1335,7 @@ paths: examples: default_example: $ref: '#/components/examples/EmbeddedSignUrlResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1426,7 +1426,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1442,7 +1442,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1527,7 +1527,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 204: + '204': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1536,7 +1536,7 @@ paths: $ref: '#/components/headers/X-RateLimit-Remaining' X-Ratelimit-Reset: $ref: '#/components/headers/X-Ratelimit-Reset' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1622,7 +1622,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1636,7 +1636,7 @@ paths: schema: type: string format: binary - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1724,7 +1724,7 @@ paths: default_example: $ref: '#/components/examples/FaxLineAddUserRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1740,7 +1740,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1911,7 +1911,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1927,7 +1927,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineAreaCodeGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2009,7 +2009,7 @@ paths: default_example: $ref: '#/components/examples/FaxLineCreateRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2025,7 +2025,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2108,7 +2108,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2124,7 +2124,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2207,7 +2207,7 @@ paths: default_example: $ref: '#/components/examples/FaxLineDeleteRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2218,7 +2218,7 @@ paths: $ref: '#/components/headers/X-Ratelimit-Reset' content: application/json: {} - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2323,7 +2323,7 @@ paths: schema: type: boolean responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2339,7 +2339,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2421,7 +2421,7 @@ paths: default_example: $ref: '#/components/examples/FaxLineRemoveUserRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2437,7 +2437,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2532,7 +2532,7 @@ paths: minimum: 1 example: 20 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2548,7 +2548,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2633,7 +2633,7 @@ paths: schema: $ref: '#/components/schemas/FaxSendRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2649,7 +2649,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2735,7 +2735,7 @@ paths: default_example: $ref: '#/components/examples/OAuthTokenGenerateRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2751,7 +2751,7 @@ paths: examples: default_example: $ref: '#/components/examples/OAuthTokenGenerateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2835,7 +2835,7 @@ paths: default_example: $ref: '#/components/examples/OAuthTokenRefreshRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2851,7 +2851,7 @@ paths: examples: default_example: $ref: '#/components/examples/OAuthTokenRefreshResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2938,7 +2938,7 @@ paths: default_example: $ref: '#/components/examples/ReportCreateRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2954,7 +2954,7 @@ paths: examples: default_example: $ref: '#/components/examples/ReportCreateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3042,7 +3042,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestBulkCreateEmbeddedWithTemplateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3058,7 +3058,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestBulkCreateEmbeddedWithTemplateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3152,7 +3152,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestBulkSendWithTemplateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3168,7 +3168,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestBulkSendWithTemplateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3265,7 +3265,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3276,7 +3276,7 @@ paths: $ref: '#/components/headers/X-Ratelimit-Reset' content: application/json: {} - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3373,7 +3373,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestCreateEmbeddedRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3389,7 +3389,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestCreateEmbeddedResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3481,7 +3481,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestCreateEmbeddedWithTemplateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3497,7 +3497,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestCreateEmbeddedWithTemplateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3599,7 +3599,7 @@ paths: - pdf - zip responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3617,7 +3617,7 @@ paths: schema: type: string format: binary - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3714,7 +3714,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3730,7 +3730,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestFilesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3834,7 +3834,7 @@ paths: type: integer default: 1 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3850,7 +3850,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestFilesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3944,7 +3944,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3960,7 +3960,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4072,7 +4072,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4088,7 +4088,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4176,7 +4176,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4192,7 +4192,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestReleaseHoldResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4291,7 +4291,7 @@ paths: default_example: $ref: '#/components/examples/SignatureRequestRemindRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4307,7 +4307,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestRemindResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4406,7 +4406,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4417,7 +4417,7 @@ paths: $ref: '#/components/headers/X-Ratelimit-Reset' content: application/json: {} - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4510,7 +4510,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestSendRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4526,7 +4526,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestSendResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4619,7 +4619,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestSendWithTemplateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4635,7 +4635,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestSendWithTemplateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4737,7 +4737,7 @@ paths: default_example: $ref: '#/components/examples/SignatureRequestUpdateRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4753,7 +4753,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestUpdateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4851,7 +4851,7 @@ paths: account_id: $ref: '#/components/examples/TeamAddMemberRequestAccountIdExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4867,7 +4867,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamAddMemberResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4954,7 +4954,7 @@ paths: default_example: $ref: '#/components/examples/TeamCreateRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4970,7 +4970,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamCreateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5046,7 +5046,7 @@ paths: description: 'Deletes your Team. Can only be invoked when you have a Team with only one member (yourself).' operationId: teamDelete responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5055,7 +5055,7 @@ paths: $ref: '#/components/headers/X-RateLimit-Remaining' X-Ratelimit-Reset: $ref: '#/components/headers/X-Ratelimit-Reset' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5131,7 +5131,7 @@ paths: description: 'Returns information about your Team as well as a list of its members. If you do not belong to a Team, a 404 error with an error_name of "not_found" will be returned.' operationId: teamGet responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5147,7 +5147,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5233,7 +5233,7 @@ paths: default_example: $ref: '#/components/examples/TeamUpdateRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5249,7 +5249,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamUpdateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5334,7 +5334,7 @@ paths: type: string example: 4fea99bfcf2b26bfccf6cea3e127fb8bb74d8d9c responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5350,7 +5350,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamGetInfoResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5438,7 +5438,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5454,7 +5454,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamInvitesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5556,7 +5556,7 @@ paths: maximum: 100 minimum: 1 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5572,7 +5572,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamMembersResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5663,7 +5663,7 @@ paths: account_id: $ref: '#/components/examples/TeamRemoveMemberRequestAccountIdExample' responses: - 201: + '201': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5679,7 +5679,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamRemoveMemberResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5782,7 +5782,7 @@ paths: maximum: 100 minimum: 1 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5798,7 +5798,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamSubTeamsResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5896,7 +5896,7 @@ paths: default_example: $ref: '#/components/examples/TemplateAddUserRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5912,7 +5912,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateAddUserResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6008,7 +6008,7 @@ paths: schema: $ref: '#/components/schemas/TemplateCreateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6024,7 +6024,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateCreateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6122,7 +6122,7 @@ paths: schema: $ref: '#/components/schemas/TemplateCreateEmbeddedDraftRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6138,7 +6138,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateCreateEmbeddedDraftResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6227,7 +6227,7 @@ paths: type: string example: f57db65d3f933b5316d398057a36176831451a35 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6238,7 +6238,7 @@ paths: $ref: '#/components/headers/X-Ratelimit-Reset' content: application/json: {} - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6339,7 +6339,7 @@ paths: - pdf - zip responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6357,7 +6357,7 @@ paths: schema: type: string format: binary - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6453,7 +6453,7 @@ paths: type: string example: f57db65d3f933b5316d398057a36176831451a35 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6469,7 +6469,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateFilesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6572,7 +6572,7 @@ paths: type: integer default: 1 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6588,7 +6588,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateFilesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6681,7 +6681,7 @@ paths: type: string example: f57db65d3f933b5316d398057a36176831451a35 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6697,7 +6697,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6809,7 +6809,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6825,7 +6825,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6923,7 +6923,7 @@ paths: default_example: $ref: '#/components/examples/TemplateRemoveUserRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6939,7 +6939,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateRemoveUserResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -7050,7 +7050,7 @@ paths: schema: $ref: '#/components/schemas/TemplateUpdateFilesRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -7066,7 +7066,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateUpdateFilesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -7166,7 +7166,7 @@ paths: schema: $ref: '#/components/schemas/UnclaimedDraftCreateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -7182,7 +7182,7 @@ paths: examples: default_example: $ref: '#/components/examples/UnclaimedDraftCreateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -7279,7 +7279,7 @@ paths: schema: $ref: '#/components/schemas/UnclaimedDraftCreateEmbeddedRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -7295,7 +7295,7 @@ paths: examples: default_example: $ref: '#/components/examples/UnclaimedDraftCreateEmbeddedResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -7391,7 +7391,7 @@ paths: schema: $ref: '#/components/schemas/UnclaimedDraftCreateEmbeddedWithTemplateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -7407,7 +7407,7 @@ paths: examples: default_example: $ref: '#/components/examples/UnclaimedDraftCreateEmbeddedWithTemplateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -7510,7 +7510,7 @@ paths: default_example: $ref: '#/components/examples/UnclaimedDraftEditAndResendRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -7526,7 +7526,7 @@ paths: examples: default_example: $ref: '#/components/examples/UnclaimedDraftEditAndResendExample' - 4XX: + '4XX': description: failed_operation content: application/json: diff --git a/openapi.yaml b/openapi.yaml index 00ff9635c..f6ae63aec 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -32,7 +32,7 @@ paths: oauth: $ref: '#/components/examples/AccountCreateRequestOAuthExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -50,7 +50,7 @@ paths: $ref: '#/components/examples/AccountCreateResponseExample' oauth: $ref: '#/components/examples/AccountCreateOAuthResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -147,7 +147,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -163,7 +163,7 @@ paths: examples: default_example: $ref: '#/components/examples/AccountGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -248,7 +248,7 @@ paths: default_example: $ref: '#/components/examples/AccountUpdateRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -264,7 +264,7 @@ paths: examples: default_example: $ref: '#/components/examples/AccountUpdateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -351,7 +351,7 @@ paths: default_example: $ref: '#/components/examples/AccountVerifyRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -369,7 +369,7 @@ paths: $ref: '#/components/examples/AccountVerifyFoundResponseExample' not_found: $ref: '#/components/examples/AccountVerifyNotFoundResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -457,7 +457,7 @@ paths: schema: $ref: '#/components/schemas/ApiAppCreateRequest' responses: - 201: + '201': description: 'successful operation' headers: X-RateLimit-Limit: @@ -473,7 +473,7 @@ paths: examples: default_example: $ref: '#/components/examples/ApiAppCreateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -560,7 +560,7 @@ paths: type: string example: 0dd3b823a682527788c4e40cb7b6f7e9 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -576,7 +576,7 @@ paths: examples: default_example: $ref: '#/components/examples/ApiAppGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -676,7 +676,7 @@ paths: schema: $ref: '#/components/schemas/ApiAppUpdateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -692,7 +692,7 @@ paths: examples: default_example: $ref: '#/components/examples/ApiAppUpdateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -780,7 +780,7 @@ paths: type: string example: 0dd3b823a682527788c4e40cb7b6f7e9 responses: - 204: + '204': description: 'successful operation' headers: X-RateLimit-Limit: @@ -789,7 +789,7 @@ paths: $ref: '#/components/headers/X-RateLimit-Remaining' X-Ratelimit-Reset: $ref: '#/components/headers/X-Ratelimit-Reset' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -882,7 +882,7 @@ paths: type: integer default: 20 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -898,7 +898,7 @@ paths: examples: default_example: $ref: '#/components/examples/ApiAppListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -997,7 +997,7 @@ paths: type: integer default: 20 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1013,7 +1013,7 @@ paths: examples: default_example: $ref: '#/components/examples/BulkSendJobGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1105,7 +1105,7 @@ paths: type: integer default: 20 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1121,7 +1121,7 @@ paths: examples: default_example: $ref: '#/components/examples/BulkSendJobListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1216,7 +1216,7 @@ paths: default_example: $ref: '#/components/examples/EmbeddedEditUrlRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1232,7 +1232,7 @@ paths: examples: default_example: $ref: '#/components/examples/EmbeddedEditUrlResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1319,7 +1319,7 @@ paths: type: string example: 50e3542f738adfa7ddd4cbd4c00d2a8ab6e4194b responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1335,7 +1335,7 @@ paths: examples: default_example: $ref: '#/components/examples/EmbeddedSignUrlResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1426,7 +1426,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1442,7 +1442,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1527,7 +1527,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 204: + '204': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1536,7 +1536,7 @@ paths: $ref: '#/components/headers/X-RateLimit-Remaining' X-Ratelimit-Reset: $ref: '#/components/headers/X-Ratelimit-Reset' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1622,7 +1622,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1636,7 +1636,7 @@ paths: schema: type: string format: binary - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1724,7 +1724,7 @@ paths: default_example: $ref: '#/components/examples/FaxLineAddUserRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1740,7 +1740,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -1911,7 +1911,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -1927,7 +1927,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineAreaCodeGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2009,7 +2009,7 @@ paths: default_example: $ref: '#/components/examples/FaxLineCreateRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2025,7 +2025,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2108,7 +2108,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2124,7 +2124,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2207,7 +2207,7 @@ paths: default_example: $ref: '#/components/examples/FaxLineDeleteRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2218,7 +2218,7 @@ paths: $ref: '#/components/headers/X-Ratelimit-Reset' content: application/json: {} - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2323,7 +2323,7 @@ paths: schema: type: boolean responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2339,7 +2339,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2421,7 +2421,7 @@ paths: default_example: $ref: '#/components/examples/FaxLineRemoveUserRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2437,7 +2437,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxLineResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2532,7 +2532,7 @@ paths: minimum: 1 example: 20 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2548,7 +2548,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2633,7 +2633,7 @@ paths: schema: $ref: '#/components/schemas/FaxSendRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2649,7 +2649,7 @@ paths: examples: default_example: $ref: '#/components/examples/FaxGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2735,7 +2735,7 @@ paths: default_example: $ref: '#/components/examples/OAuthTokenGenerateRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2751,7 +2751,7 @@ paths: examples: default_example: $ref: '#/components/examples/OAuthTokenGenerateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2835,7 +2835,7 @@ paths: default_example: $ref: '#/components/examples/OAuthTokenRefreshRequestExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2851,7 +2851,7 @@ paths: examples: default_example: $ref: '#/components/examples/OAuthTokenRefreshResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -2938,7 +2938,7 @@ paths: default_example: $ref: '#/components/examples/ReportCreateRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -2954,7 +2954,7 @@ paths: examples: default_example: $ref: '#/components/examples/ReportCreateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3042,7 +3042,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestBulkCreateEmbeddedWithTemplateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3058,7 +3058,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestBulkCreateEmbeddedWithTemplateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3152,7 +3152,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestBulkSendWithTemplateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3168,7 +3168,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestBulkSendWithTemplateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3265,7 +3265,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3276,7 +3276,7 @@ paths: $ref: '#/components/headers/X-Ratelimit-Reset' content: application/json: {} - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3373,7 +3373,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestCreateEmbeddedRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3389,7 +3389,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestCreateEmbeddedResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3481,7 +3481,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestCreateEmbeddedWithTemplateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3497,7 +3497,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestCreateEmbeddedWithTemplateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3599,7 +3599,7 @@ paths: - pdf - zip responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3617,7 +3617,7 @@ paths: schema: type: string format: binary - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3714,7 +3714,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3730,7 +3730,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestFilesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3834,7 +3834,7 @@ paths: type: integer default: 1 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3850,7 +3850,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestFilesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -3944,7 +3944,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -3960,7 +3960,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4072,7 +4072,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4088,7 +4088,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4176,7 +4176,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4192,7 +4192,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestReleaseHoldResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4291,7 +4291,7 @@ paths: default_example: $ref: '#/components/examples/SignatureRequestRemindRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4307,7 +4307,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestRemindResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4406,7 +4406,7 @@ paths: type: string example: fa5c8a0b0f492d768749333ad6fcc214c111e967 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4417,7 +4417,7 @@ paths: $ref: '#/components/headers/X-Ratelimit-Reset' content: application/json: {} - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4510,7 +4510,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestSendRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4526,7 +4526,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestSendResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4619,7 +4619,7 @@ paths: schema: $ref: '#/components/schemas/SignatureRequestSendWithTemplateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4635,7 +4635,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestSendWithTemplateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4737,7 +4737,7 @@ paths: default_example: $ref: '#/components/examples/SignatureRequestUpdateRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4753,7 +4753,7 @@ paths: examples: default_example: $ref: '#/components/examples/SignatureRequestUpdateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4851,7 +4851,7 @@ paths: account_id: $ref: '#/components/examples/TeamAddMemberRequestAccountIdExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4867,7 +4867,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamAddMemberResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -4954,7 +4954,7 @@ paths: default_example: $ref: '#/components/examples/TeamCreateRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -4970,7 +4970,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamCreateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5046,7 +5046,7 @@ paths: description: 'Deletes your Team. Can only be invoked when you have a Team with only one member (yourself).' operationId: teamDelete responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5055,7 +5055,7 @@ paths: $ref: '#/components/headers/X-RateLimit-Remaining' X-Ratelimit-Reset: $ref: '#/components/headers/X-Ratelimit-Reset' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5131,7 +5131,7 @@ paths: description: 'Returns information about your Team as well as a list of its members. If you do not belong to a Team, a 404 error with an error_name of "not_found" will be returned.' operationId: teamGet responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5147,7 +5147,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5233,7 +5233,7 @@ paths: default_example: $ref: '#/components/examples/TeamUpdateRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5249,7 +5249,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamUpdateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5334,7 +5334,7 @@ paths: type: string example: 4fea99bfcf2b26bfccf6cea3e127fb8bb74d8d9c responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5350,7 +5350,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamGetInfoResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5438,7 +5438,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5454,7 +5454,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamInvitesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5556,7 +5556,7 @@ paths: maximum: 100 minimum: 1 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5572,7 +5572,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamMembersResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5663,7 +5663,7 @@ paths: account_id: $ref: '#/components/examples/TeamRemoveMemberRequestAccountIdExample' responses: - 201: + '201': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5679,7 +5679,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamRemoveMemberResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5782,7 +5782,7 @@ paths: maximum: 100 minimum: 1 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5798,7 +5798,7 @@ paths: examples: default_example: $ref: '#/components/examples/TeamSubTeamsResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -5896,7 +5896,7 @@ paths: default_example: $ref: '#/components/examples/TemplateAddUserRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -5912,7 +5912,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateAddUserResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6008,7 +6008,7 @@ paths: schema: $ref: '#/components/schemas/TemplateCreateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6024,7 +6024,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateCreateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6122,7 +6122,7 @@ paths: schema: $ref: '#/components/schemas/TemplateCreateEmbeddedDraftRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6138,7 +6138,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateCreateEmbeddedDraftResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6227,7 +6227,7 @@ paths: type: string example: f57db65d3f933b5316d398057a36176831451a35 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6238,7 +6238,7 @@ paths: $ref: '#/components/headers/X-Ratelimit-Reset' content: application/json: {} - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6339,7 +6339,7 @@ paths: - pdf - zip responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6357,7 +6357,7 @@ paths: schema: type: string format: binary - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6453,7 +6453,7 @@ paths: type: string example: f57db65d3f933b5316d398057a36176831451a35 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6469,7 +6469,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateFilesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6572,7 +6572,7 @@ paths: type: integer default: 1 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6588,7 +6588,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateFilesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6681,7 +6681,7 @@ paths: type: string example: f57db65d3f933b5316d398057a36176831451a35 responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6697,7 +6697,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateGetResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6809,7 +6809,7 @@ paths: schema: type: string responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6825,7 +6825,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateListResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -6923,7 +6923,7 @@ paths: default_example: $ref: '#/components/examples/TemplateRemoveUserRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -6939,7 +6939,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateRemoveUserResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -7050,7 +7050,7 @@ paths: schema: $ref: '#/components/schemas/TemplateUpdateFilesRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -7066,7 +7066,7 @@ paths: examples: default_example: $ref: '#/components/examples/TemplateUpdateFilesResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -7166,7 +7166,7 @@ paths: schema: $ref: '#/components/schemas/UnclaimedDraftCreateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -7182,7 +7182,7 @@ paths: examples: default_example: $ref: '#/components/examples/UnclaimedDraftCreateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -7279,7 +7279,7 @@ paths: schema: $ref: '#/components/schemas/UnclaimedDraftCreateEmbeddedRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -7295,7 +7295,7 @@ paths: examples: default_example: $ref: '#/components/examples/UnclaimedDraftCreateEmbeddedResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -7391,7 +7391,7 @@ paths: schema: $ref: '#/components/schemas/UnclaimedDraftCreateEmbeddedWithTemplateRequest' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -7407,7 +7407,7 @@ paths: examples: default_example: $ref: '#/components/examples/UnclaimedDraftCreateEmbeddedWithTemplateResponseExample' - 4XX: + '4XX': description: failed_operation content: application/json: @@ -7510,7 +7510,7 @@ paths: default_example: $ref: '#/components/examples/UnclaimedDraftEditAndResendRequestDefaultExample' responses: - 200: + '200': description: 'successful operation' headers: X-RateLimit-Limit: @@ -7526,7 +7526,7 @@ paths: examples: default_example: $ref: '#/components/examples/UnclaimedDraftEditAndResendExample' - 4XX: + '4XX': description: failed_operation content: application/json: diff --git a/src/Hello/OpenApi/RawFile.php b/src/Hello/OpenApi/RawFile.php index 85f902fb5..0ecfe46a2 100644 --- a/src/Hello/OpenApi/RawFile.php +++ b/src/Hello/OpenApi/RawFile.php @@ -98,6 +98,20 @@ public function getLogs(): array public function saveFile(string $targetFile): void { + foreach ($this->openapi['paths'] as $path => $path_item) { + foreach ($path_item as $method => $operation) { + if (empty($operation['responses'])) { + continue; + } + + foreach ($operation['responses'] as $code => $response) { + unset($this->openapi['paths'][$path][$method]['responses'][$code]); + $new_code = "{$code}_response_code_remove_me"; + $this->openapi['paths'][$path][$method]['responses'][$new_code] = $response; + } + } + } + $yaml = Yaml::dump( $this->openapi, 10, @@ -112,6 +126,7 @@ public function saveFile(string $targetFile): void $yaml = str_replace('metadata: []', 'metadata: {}', $yaml); $yaml = str_replace('additionalProperties: []', 'additionalProperties: {}', $yaml); $yaml = str_replace('application/json: []', 'application/json: {}', $yaml); + $yaml = preg_replace('/([0-9x]+)_response_code_remove_me:/i', '\'${1}\':', $yaml); file_put_contents($targetFile, $yaml); }