Skip to content
Snippets Groups Projects
Commit 86b8f81a authored by Laurent Velez's avatar Laurent Velez
Browse files

added Container3

parent f80e8747
Branches MAS-2018-0050
No related tags found
No related merge requests found
...@@ -55,7 +55,13 @@ ...@@ -55,7 +55,13 @@
}, },
"examples": { "examples": {
"0": { "0": {
"value": "{\n \"m2m:cnt\" : {\n \"rn\": \"cont_name\",\n }\n}" "value": "{
"m2m:cnt":
{
"rn": "cont_name1"
}
}
"
} }
} }
} }
...@@ -67,12 +73,6 @@ ...@@ -67,12 +73,6 @@
"content": { "content": {
"application/json": { "application/json": {
"examples": { "examples": {
"with no rcn or rcn=1 in the request": { "with no rcn or rcn=1 in the request": {
"value": "{\n \"m2m:cnt\": {\n \"rn\": \"aename\",\n \"api\": \"N01.com.company.aename \",\n \"lbl\": [\"key1\", \"key2\"],\n \"rr\": true,\n \"srv\": [\"3\"],\n \"poa\": [\"http://cse-address:8080\"],\n \"ri\": \"CAdmin\",\n \"ct\": \"20210330T153934,791690\",\n \"lt\": \"20210330T153934,791690\",\n \"et\": \"20220330T153934,791714\",\n \"pi\": \"cse-id\",\n \"ty\": 2,\n \"aei\": \"CAdmin\"\n }\n}" "value": "{\n \"m2m:cnt\": {\n \"rn\": \"aename\",\n \"api\": \"N01.com.company.aename \",\n \"lbl\": [\"key1\", \"key2\"],\n \"rr\": true,\n \"srv\": [\"3\"],\n \"poa\": [\"http://cse-address:8080\"],\n \"ri\": \"CAdmin\",\n \"ct\": \"20210330T153934,791690\",\n \"lt\": \"20210330T153934,791690\",\n \"et\": \"20220330T153934,791714\",\n \"pi\": \"cse-id\",\n \"ty\": 2,\n \"aei\": \"CAdmin\"\n }\n}"
......
---
openapi: 3.0.1
info:
title: defaultTitle
description: defaultDescription
version: "0.1"
servers:
- url: http://localhost:8080
paths:
/cse-in/aename:
post:
description: Auto generated using Swagger Inspector
parameters:
- name: X-M2M-Origin
in: header
required: false
style: simple
explode: false
schema:
type: string
example: Caename
- name: X-M2M-RVI
in: header
required: false
style: simple
explode: false
schema:
type: string
example: "3"
- name: X-M2M-RI
in: header
required: false
style: simple
explode: false
schema:
type: string
example: "1234"
requestBody:
content:
application/json;ty=3:
schema:
type: string
examples:
"0":
value: |
{
"m2m:cnt": {
"rn": "cont_name1"
}
}
responses:
"201":
description: Auto generated using Swagger Inspector
content:
application/json:
schema:
$ref: '#/components/schemas/inline_response_201'
examples:
"0":
value: '{"m2m:cnt": {"rn": "cont_name1", "ri": "cnt1741911386948132408", "ct": "20210727T134151,226489", "lt": "20210727T134151,226489", "et": "20220727T134151,226489", "pi": "Caename", "st": 0, "ty": 3, "cni": 0, "cbs": 0}}'
servers:
- url: http://localhost:8080
servers:
- url: http://localhost:8080
components:
schemas:
inline_response_201:
type: object
properties:
m2m:cnt:
type: object
properties:
ct:
type: string
st:
type: integer
ty:
type: integer
cbs:
type: integer
ri:
type: string
lt:
type: string
pi:
type: string
rn:
type: string
et:
type: string
cni:
type: integer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment