diff options
author | 2024-11-06 10:54:19 +0000 | |
---|---|---|
committer | 2024-11-06 10:54:19 +0000 | |
commit | 3399fdea15b9c7e6d05148f82f9ceeeee813b84a (patch) | |
tree | fa77f5d5d5ace6bfcd9cdcd1280198deb6d1b0fd /docs | |
parent | edc650a3a5f5e86c9b82667b90a6bf759a095627 (diff) | |
parent | 14d6a9b990005965307bbab66b0ffe15327a8758 (diff) |
Merge "XML content support on get a node"
Diffstat (limited to 'docs')
-rw-r--r-- | docs/api/swagger/cps/openapi.yaml | 52 |
1 files changed, 40 insertions, 12 deletions
diff --git a/docs/api/swagger/cps/openapi.yaml b/docs/api/swagger/cps/openapi.yaml index 3069b18d1e..3f889c1e6c 100644 --- a/docs/api/swagger/cps/openapi.yaml +++ b/docs/api/swagger/cps/openapi.yaml @@ -1162,6 +1162,15 @@ paths: default: none example: "3" type: string + - description: Content type in header + in: header + name: Content-Type + required: true + schema: + enum: + - application/json + - application/xml + type: string responses: "200": content: @@ -1172,6 +1181,15 @@ paths: value: null schema: type: object + application/xml: + examples: + dataSample: + $ref: '#/components/examples/dataSampleXml' + value: null + schema: + type: object + xml: + name: stores description: OK "400": content: @@ -1347,7 +1365,9 @@ paths: name: Content-Type required: true schema: - example: application/json + enum: + - application/json + - application/xml type: string requestBody: content: @@ -1472,7 +1492,9 @@ paths: name: Content-Type required: true schema: - example: application/json + enum: + - application/json + - application/xml type: string requestBody: content: @@ -1597,7 +1619,9 @@ paths: name: Content-Type required: true schema: - example: application/json + enum: + - application/json + - application/xml type: string requestBody: content: @@ -1788,7 +1812,9 @@ paths: name: Content-Type required: true schema: - example: application/json + enum: + - application/json + - application/xml type: string requestBody: content: @@ -2543,6 +2569,16 @@ components: default: none example: "3" type: string + contentTypeInHeader: + description: Content type in header + in: header + name: Content-Type + required: true + schema: + enum: + - application/json + - application/xml + type: string observedTimestampInQuery: description: observed-timestamp in: query @@ -2551,14 +2587,6 @@ components: schema: example: 2021-03-21T00:10:34.030-0100 type: string - contentTypeInHeader: - description: Content type in header - in: header - name: Content-Type - required: true - schema: - example: application/json - type: string dryRunInQuery: description: "Boolean flag to validate data, without persisting it. Default\ \ value is set to false." |