diff options
author | 2024-11-29 10:28:06 +0000 | |
---|---|---|
committer | 2024-11-29 10:28:06 +0000 | |
commit | a27a62c1ca4f87d126cb5e40cc797aed9aa590db (patch) | |
tree | 3fdcba0ecc089065040ed54db84d12b9586dcfef /cps-rest/docs | |
parent | b97d522cb3d08b596241aea88aafe3bd08b4ef77 (diff) | |
parent | dfcc95236daf7d45687fa42446a7d236ac12637e (diff) |
Merge "XML content support on Replace list content"
Diffstat (limited to 'cps-rest/docs')
-rw-r--r-- | cps-rest/docs/openapi/cpsData.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/cps-rest/docs/openapi/cpsData.yml b/cps-rest/docs/openapi/cpsData.yml index daf59bbfbf..36000fd7d8 100644 --- a/cps-rest/docs/openapi/cpsData.yml +++ b/cps-rest/docs/openapi/cpsData.yml @@ -71,15 +71,24 @@ listElementByDataspaceAndAnchor: - $ref: 'components.yml#/components/parameters/anchorNameInPath' - $ref: 'components.yml#/components/parameters/requiredXpathInQuery' - $ref: 'components.yml#/components/parameters/observedTimestampInQuery' + - $ref: 'components.yml#/components/parameters/contentTypeInHeader' requestBody: required: true content: application/json: schema: - type: object + type: string examples: dataSample: $ref: 'components.yml#/components/examples/dataSample' + application/xml: + schema: + type: object + xml: + name: stores + examples: + dataSample: + $ref: 'components.yml#/components/examples/dataSampleXml' responses: '200': $ref: 'components.yml#/components/responses/Ok' |