diff --git a/OpenAPI/openapi.yaml b/OpenAPI/openapi.yaml new file mode 100644 index 0000000000000000000000000000000000000000..064fce19a16dd68bdbb9f8387c4c33460bffb46f --- /dev/null +++ b/OpenAPI/openapi.yaml @@ -0,0 +1,91 @@ +--- +openapi: 3.0.1 +info: + title: defaultTitle + description: defaultDescription + version: "0.1" +servers: +- url: http://192.168.1.30:8080 +paths: + /cse-in/buzzer: + 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: 2a + - 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_200' + examples: + "0": + value: '{"m2m:ae": {"rn": "buzzer", "api": "app.company.com", "rr": true, "srv": ["2a"], "poa": ["http://192.168.1.20:80/buzzer"], "ri": "Cae-buzzer", "ct": "20210317T093809,263613", "lt": "20210317T093809,263613", "et": "20220317T093809,263656", "pi": "id-in", "ty": 2, "aei": "Cae-buzzer", "acpi": ["acp5912935353305183899"]}}' + servers: + - url: http://192.168.1.30:8080 + servers: + - url: http://192.168.1.30:8080 +components: + schemas: + inline_response_200: + type: object + properties: + m2m:ae: + 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 + acpi: + type: array + items: + type: string + ri: + type: string + pi: + type: string + api: + type: string + rn: + type: string