From b1bb3fc80da294d49cb7e29c7efa68a5b055779a Mon Sep 17 00:00:00 2001 From: Conner <59540839+TheConner@users.noreply.github.com> Date: Mon, 20 Jan 2025 12:16:22 -0500 Subject: [PATCH] Fix semantic errors in OpenAPI spec For the /api/texttranslator/v1.0/documents/{id}/files/{fileid}/content and /api/texttranslator/v1.0/documents/import/jobs/{jobid} endpoints, the "fileid" and "jobid" path paramaters do not match their paramater name declaration which is "fileId" and "jobId". This commit fixes this casing mismatch, which in turn fixes the semantic errors in this OpenAPI spec. --- docs/swagger.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 0881910..fd7d209 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -148,7 +148,7 @@ paths: $ref: '#/components/schemas/TextTranslatorFileInfo' security: - subscription_key: [] - /api/texttranslator/v1.0/documents/{id}/files/{fileid}/content: + /api/texttranslator/v1.0/documents/{id}/files/{fileId}/content: get: tags: - Documents @@ -265,7 +265,7 @@ paths: description: Not Found security: - subscription_key: [] - /api/texttranslator/v1.0/documents/import/jobs/{jobid}: + /api/texttranslator/v1.0/documents/import/jobs/{jobId}: get: tags: - Documents