From 69f00eda3fd68e012b7c9198d728100aa42057ed Mon Sep 17 00:00:00 2001 From: kaitlyn-liao <59896595+kaitlyn-liao@users.noreply.github.com> Date: Mon, 13 Jul 2020 09:23:29 -0700 Subject: [PATCH] Resolved Errors in OpenAPI Spec Ran IBM Validator --> resolved errors. Warnings remain and still need to be addressed. --- tika-server/openapi.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tika-server/openapi.yaml b/tika-server/openapi.yaml index c70bd1b0e0..e1f263cdf3 100644 --- a/tika-server/openapi.yaml +++ b/tika-server/openapi.yaml @@ -67,7 +67,7 @@ paths: headers: Content-Type: schema: - enum: [application/json] + enum: [json] example: application/json default: application/json type: string @@ -91,7 +91,7 @@ paths: headers: Content-Type: schema: - enum: [application/json, text/plain, text/html] + enum: [json, txt, html] example: application/json default: application/json type: string @@ -225,7 +225,7 @@ paths: name: metadata_key required: true schema: - example: + example: "" type: string style: simple operationId: put_document_meta_get_key_value @@ -252,7 +252,7 @@ paths: summary: PUT a document to the metadata extraction resource and get a specific metadata key's value. tags: - Metadata Resource - /mime-types: + /mime_types: get: description: Mime types, their aliases, their supertype, and the parser. Available as plain text, json or human readable HTML. operationId: get_mimetypes @@ -266,7 +266,7 @@ paths: headers: Content-Type: schema: - enum: [application/json] + enum: [json] example: application/json default: application/json type: string @@ -290,7 +290,7 @@ paths: headers: Content-Type: schema: - enum: [application/json] + enum: [json] example: application/json default: application/json type: string @@ -314,7 +314,7 @@ paths: headers: Content-Type: schema: - enum: [application/json] + enum: [json] example: application/json default: application/json type: string