diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2024-06-05 07:13:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-06-05 07:13:43 +0000 |
commit | 92de0b14a9fca76ce2da53c9533c16d7c17eab5e (patch) | |
tree | 053e18f527e5a8b8148250a447c5a2715a8c28ee /docs/api/swagger | |
parent | 3adc1d6bc4400b37c1cb23c0204d7f09d4ff380b (diff) | |
parent | daf2ba8f11d98b26e871961d1c6bd1b4c5c89aab (diff) |
Merge "Implement ACK in DMI Plugin"
Diffstat (limited to 'docs/api/swagger')
-rw-r--r-- | docs/api/swagger/openapi-datajob.yaml | 53 |
1 files changed, 37 insertions, 16 deletions
diff --git a/docs/api/swagger/openapi-datajob.yaml b/docs/api/swagger/openapi-datajob.yaml index b3baa168..e58591e0 100644 --- a/docs/api/swagger/openapi-datajob.yaml +++ b/docs/api/swagger/openapi-datajob.yaml @@ -10,7 +10,7 @@ tags: - description: DMI plugin rest apis name: dmi-datajob paths: - /dmi/v1/readJob/{requestId}: + /v1/readJob/{requestId}: post: description: Create a read request operationId: readDataJob @@ -31,15 +31,19 @@ paths: $ref: '#/components/schemas/SubjobReadRequest' description: Operation body responses: - "200": + "501": content: application/json: + example: + status: 501 + message: Not Implemented + details: Method Not Implemented schema: - $ref: '#/components/schemas/readDataJob_200_response' - description: Response for subjob + $ref: '#/components/schemas/ErrorMessage' + description: Not Implemented tags: - dmi-datajob - /dmi/v1/writeJob/{requestId}: + /v1/writeJob/{requestId}: post: description: Create a write request operationId: writeDataJob @@ -60,12 +64,16 @@ paths: $ref: '#/components/schemas/SubjobWriteRequest' description: Operation body responses: - "200": + "501": content: application/json: + example: + status: 501 + message: Not Implemented + details: Method Not Implemented schema: - $ref: '#/components/schemas/readDataJob_200_response' - description: Response for subjob + $ref: '#/components/schemas/ErrorMessage' + description: Not Implemented tags: - dmi-datajob components: @@ -80,7 +88,28 @@ components: example: some-identifier type: string style: simple + responses: + NotImplemented: + content: + application/json: + example: + status: 501 + message: Not Implemented + details: Method Not Implemented + schema: + $ref: '#/components/schemas/ErrorMessage' + description: Not Implemented schemas: + ErrorMessage: + properties: + status: + type: string + message: + type: string + details: + type: string + title: Error + type: object SubjobReadRequest: properties: dataAcceptType: @@ -165,14 +194,6 @@ components: type: object Object: type: object - readDataJob_200_response: - example: - dataProducerJobId: dataProducerJobId - properties: - dataProducerJobId: - description: The data job ID. - type: string - type: object SubjobReadRequest_data_inner: properties: path: |