Commit 09342c6f authored by Walter Featherstone's avatar Walter Featherstone

Added YAML & JSON based on MEC-014 0.0.9 draft

Change-Id: I73f072cfb241f9dbb8d66a268b6a3c873ee1e06a
Signed-off-by: Walter Featherstone's avatarfeatherstone <walter.featherstone@viavisolutions.com>
parent 997ae967
This diff is collapsed.
swagger: '2.0' swagger: '2.0'
info: info:
description: An initial attempt to describe the MEC UE Identity API using OpenAPI description: The ETSI MEC ISG MEC014 UE Identity API described using OpenAPI
version: 0.0.6 version: 0.0.9
title: UE Identity API title: UE Identity API
termsOfService: TBD
contact:
name: TBD
url: TBD
license: license:
name: ETSI MEC name: ETSI Forge copyright notice
url: TBD url: 'https://forge.etsi.org/etsi-forge-copyright-notice.txt'
externalDocs: externalDocs:
description: ETSI MEC014 V0.0.6 UE Identity API description: ETSI GS MEC014 UE Identity API, V0.0.9
url: 'https://docbox.etsi.org/ISG/MEC/70-Draft/0014UEidentityAPI' url: 'https://docbox.etsi.org/ISG/MEC/70-Draft/0014UEidentityAPI'
host: '127.0.0.1:8081' host: '127.0.0.1:8081'
basePath: /uis/v1 basePath: /uis/v1
...@@ -34,7 +30,7 @@ securityDefinitions: ...@@ -34,7 +30,7 @@ securityDefinitions:
all: Single oauth2 scope for API all: Single oauth2 scope for API
parameters: parameters:
Body.UeIdentityTagInfo: Body.UeIdentityTagInfo:
name: ueIdentityTagInfo name: UeIdentityTagInfo
in: body in: body
description: information of UE identity tag used in UE Identity feature. description: information of UE identity tag used in UE Identity feature.
required: true required: true
...@@ -68,9 +64,9 @@ paths: ...@@ -68,9 +64,9 @@ paths:
contains a representation of the resource. contains a representation of the resource.
schema: schema:
required: required:
- ueIdentityTagInfo - UeIdentityTagInfo
properties: properties:
ueIdentityTagInfo: UeIdentityTagInfo:
$ref: '#/definitions/UeIdentityTagInfo' $ref: '#/definitions/UeIdentityTagInfo'
'400': '400':
description: >- description: >-
...@@ -116,9 +112,9 @@ paths: ...@@ -116,9 +112,9 @@ paths:
updated UeIdentityTagInfo is returned. updated UeIdentityTagInfo is returned.
schema: schema:
required: required:
- ueIdentityTagInfo - UeIdentityTagInfo
properties: properties:
ueIdentityTagInfo: UeIdentityTagInfo:
$ref: '#/definitions/UeIdentityTagInfo' $ref: '#/definitions/UeIdentityTagInfo'
'400': '400':
description: >- description: >-
...@@ -217,8 +213,8 @@ definitions: ...@@ -217,8 +213,8 @@ definitions:
description: Tag presented by ME Application to ME Platform description: Tag presented by ME Application to ME Platform
type: string type: string
State: State:
description: status of the resource ueIdentityTagInfo description: Status of the resource ueIdentityTagInfo
type: string type: string
enum: enum:
- UNREGISTERED - UNREGISTERED
- REGISTERED - REGISTERED
\ No newline at end of file
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