From 2e67567bb900fd45572155a19cf3739ac9e21e4e Mon Sep 17 00:00:00 2001 From: Mitch Dawson Date: Tue, 7 Nov 2023 22:46:49 +0000 Subject: [PATCH 1/2] :fire: Remove delete table schema references --- containers/daap-docs/src/var/task/swagger.json | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/containers/daap-docs/src/var/task/swagger.json b/containers/daap-docs/src/var/task/swagger.json index 9d69a57755..4b680cd29f 100644 --- a/containers/daap-docs/src/var/task/swagger.json +++ b/containers/daap-docs/src/var/task/swagger.json @@ -19,7 +19,7 @@ ], "paths": { "/data-product/{data-product-name}/table/{table-name}/upload": { - "get": { + "post": { "tags": [ "Upload Data" ], @@ -84,9 +84,6 @@ "description": "bad request", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/deleteTable" - }, "examples": { "Not string inputs": { "summary": "Inputs not convertible to type string", @@ -124,9 +121,6 @@ "description": "not found", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/deleteTable" - }, "examples": { "Data product registration not found": { "summary": "Data product registration not found", @@ -702,9 +696,6 @@ "description": "bad request", "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/deleteTable" - }, "examples": { "Glue: Table Not Found": { "summary": "Glue: Table Not Found", @@ -802,8 +793,7 @@ }, "UploadDataRequest": { "required": [ - "database", - "table", + "filename", "contentMD5" ], "type": "object", From c4181d34df3f094b3dacbdfa6a00eb44148499f3 Mon Sep 17 00:00:00 2001 From: Mitch Dawson Date: Tue, 7 Nov 2023 22:49:30 +0000 Subject: [PATCH 2/2] :memo: Update changelog and config.json for v1.0.11 --- containers/daap-docs/CHANGELOG.md | 10 ++++++++++ containers/daap-docs/config.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/containers/daap-docs/CHANGELOG.md b/containers/daap-docs/CHANGELOG.md index 6138b59a9d..b66e23a459 100644 --- a/containers/daap-docs/CHANGELOG.md +++ b/containers/daap-docs/CHANGELOG.md @@ -9,6 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.11] 2023-11-07 + +### Changed + +- upload data now reflects POST + +### Removed + +- references to deleteTable schema + ## [1.0.10] 2023-11-07 ### Added diff --git a/containers/daap-docs/config.json b/containers/daap-docs/config.json index 94e1d1d7bb..94b05ef403 100644 --- a/containers/daap-docs/config.json +++ b/containers/daap-docs/config.json @@ -1,6 +1,6 @@ { "name": "daap-docs", - "version": "1.0.10", + "version": "1.0.11", "registry": "ecr", "ecr": { "role": "arn:aws:iam::013433889002:role/modernisation-platform-oidc-cicd",