Commit 01961096 authored by Laurent Velez's avatar Laurent Velez
Browse files

added Container3

parent c7968889
---
openapi: 3.0.1
info:
title: defaultTitle
description: defaultDescription
version: "0.1"
servers:
- url: http://192.168.1.30:8080
paths:
/cse-in:
post:
description: Auto generated using Swagger Inspector
parameters:
- name: X-M2M-Origin
in: header
required: false
style: simple
explode: false
schema:
type: string
example: CAdmin
- 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=2:
schema:
type: object
examples:
"0":
value: |-
{
"m2m:ae" : {
"rn": "temperature",
"api": "N01.com.company.temperature ",
"lbl": ["key1", "key2"],
"rr": true,
"srv": ["3"],
"poa": ["http://192.168.1.30:8080"]
}
}
responses:
"201":
description: create AE
content:
application/json:
schema:
$ref: '#/components/schemas/inline_response_201'
examples:
rcn=0:
value: '{"m2m:ae": {"rn": "temperature", "api": "N01.com.company.temperature ", "lbl": ["key1", "key2"], "rr": true, "srv": ["3"], "poa": ["http://192.168.1.30:8080"], "ri": "CAdmin", "ct": "20210330T153934,791690", "lt": "20210330T153934,791690", "et": "20220330T153934,791714", "pi": "id-in", "ty": 2, "aei": "CAdmin"}}'
rcn=2:
value: '{"m2m:ae": {"rn": "temperature", "api": "N01.com.company.temperature ", "lbl": ["key1", "key2"], "rr": true, "srv": ["3"], "poa": ["http://192.168.1.30:8080"], "ri": "CAdmin", "ct": "20210330T153934,791690", "lt": "20210330T153934,791690", "et": "20220330T153934,791714", "pi": "id-in", "ty": 2, "aei": "CAdmin"}}'
servers:
- url: http://192.168.1.30:8080
servers:
- url: http://192.168.1.30:8080
/cse-in/temperature:
get:
description: Auto generated using Swagger Inspector
parameters:
- name: X-M2M-Origin
in: header
required: false
style: simple
explode: false
schema:
type: string
example: CAdmin
- 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"
responses:
"200":
description: Auto generated using Swagger Inspector
content:
application/json:
schema:
$ref: '#/components/schemas/inline_response_201'
examples:
"0":
value: '{"m2m:ae": {"rn": "temperature", "api": "N01.com.company.temperature ", "lbl": ["key1", "key2"], "rr": true, "srv": ["3"], "poa": ["http://192.168.1.30:8080"], "ri": "CAdmin", "ct": "20210330T153934,791690", "lt": "20210330T153934,791690", "et": "20220330T153934,791714", "pi": "id-in", "ty": 2, "aei": "CAdmin"}}'
servers:
- url: http://192.168.1.30:8080
servers:
- url: http://192.168.1.30:8080
components:
schemas:
Schema:
type: object
properties:
id:
type: integer
format: int64
inline_response_201:
type: object
properties:
m2m:ae:
$ref: '#/components/schemas/inline_response_201_m2mae'
inline_response_201_m2mae:
type: object
properties:
rr:
type: boolean
poa:
type: array
items:
type: string
aei:
type: string
ty:
type: integer
lt:
type: string
et:
type: string
ct:
type: string
srv:
type: array
items:
type: string
lbl:
type: array
items:
type: string
ri:
type: string
pi:
type: string
api:
type: string
rn:
type: string
......@@ -66,11 +66,10 @@ paths:
"rcn=3":
value: '{"m2m:ae": {"rn": "lolo", "api": "N01.com.company.temperature ", "lbl": ["key1", "key2"], "rr": true, "srv": ["3"], "poa": ["http://192.168.1.30:8080"], "ri": "CAdmin", "ct": "20210330T153934,791690", "lt": "20210330T153934,791690", "et": "20220330T153934,791714", "pi": "id-in", "ty": 2, "aei": "CAdmin"}}'
servers:
- url: http://192.168.1.30:8080
servers:
- url: http://192.168.1.30:8080
/cse-in/temperature:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment