Commit a1bd6c4d authored by M. Rehan Abbasi's avatar M. Rehan Abbasi
Browse files

update OAS from 3.0.0 to 3.1.0

parent bd8593c7
Pipeline #9679 passed with stage
in 0 seconds
{ {
"openapi": "3.0.0", "openapi": "3.1.0",
"info": { "info": {
"contact": { "contact": {
"url": "https://forge.etsi.org/rep/mec/gs016-dev-app-api" "url": "https://forge.etsi.org/rep/mec/gs016-dev-app-api"
...@@ -29,9 +29,7 @@ ...@@ -29,9 +29,7 @@
"paths": { "paths": {
"/app_list": { "/app_list": {
"get": { "get": {
"tags": [ "tags": ["dev_app"],
"dev_app"
],
"summary": "Get available application information.", "summary": "Get available application information.",
"description": "Used to query information about the available MEC applications.", "description": "Used to query information about the available MEC applications.",
"operationId": "meAppListGET", "operationId": "meAppListGET",
...@@ -80,9 +78,7 @@ ...@@ -80,9 +78,7 @@
}, },
"/app_contexts": { "/app_contexts": {
"post": { "post": {
"tags": [ "tags": ["dev_app"],
"dev_app"
],
"summary": "Creation of a new application context.", "summary": "Creation of a new application context.",
"description": "Used to create a new application context. Upon success, the response contains entity body describing the created application context.", "description": "Used to create a new application context. Upon success, the response contains entity body describing the created application context.",
"operationId": "devAppContextsGET", "operationId": "devAppContextsGET",
...@@ -157,9 +153,7 @@ ...@@ -157,9 +153,7 @@
}, },
"/app_contexts/{contextId}": { "/app_contexts/{contextId}": {
"put": { "put": {
"tags": [ "tags": ["dev_app"],
"dev_app"
],
"summary": "Updating the callbackReference and/or appLocation of an existing application context.", "summary": "Updating the callbackReference and/or appLocation of an existing application context.",
"description": "Used to update the callback reference and/or application location constraints of an existing application context. Upon successful operation, the target resource is updated with the new application context information.", "description": "Used to update the callback reference and/or application location constraints of an existing application context. Upon successful operation, the target resource is updated with the new application context information.",
"operationId": "devAppContextPUT", "operationId": "devAppContextPUT",
...@@ -198,9 +192,7 @@ ...@@ -198,9 +192,7 @@
} }
}, },
"delete": { "delete": {
"tags": [ "tags": ["dev_app"],
"dev_app"
],
"summary": "Deletion of an existing application context.", "summary": "Deletion of an existing application context.",
"description": "Used to delete the resource that represents the existing application context.", "description": "Used to delete the resource that represents the existing application context.",
"operationId": "devAppContextDELETE", "operationId": "devAppContextDELETE",
...@@ -230,9 +222,7 @@ ...@@ -230,9 +222,7 @@
}, },
"/obtain_app_loc_availability": { "/obtain_app_loc_availability": {
"post": { "post": {
"tags": [ "tags": ["dev_app"],
"dev_app"
],
"summary": "Obtain the location constraints for a new application context.", "summary": "Obtain the location constraints for a new application context.",
"description": "Used to obtain the locations available for instantiation of a specific user application in the MEC system.", "description": "Used to obtain the locations available for instantiation of a specific user application in the MEC system.",
"operationId": "appLocationAvailabilityPOST", "operationId": "appLocationAvailabilityPOST",
...@@ -381,10 +371,7 @@ ...@@ -381,10 +371,7 @@
"required": false, "required": false,
"schema": { "schema": {
"type": "integer", "type": "integer",
"enum": [ "enum": [0, 1]
0,
1
]
} }
}, },
"Path.contextId": { "Path.contextId": {
...@@ -560,10 +547,7 @@ ...@@ -560,10 +547,7 @@
"x-etsi-mec-origin-type": "String" "x-etsi-mec-origin-type": "String"
} }
}, },
"required": [ "required": ["associateDevAppId", "appInfo"],
"associateDevAppId",
"appInfo"
],
"type": "object", "type": "object",
"x-etsi-notes": "NOTE 1:\tIf a value of the attribute is included in the request, the same value shall be included in the response.\nNOTE 2:\tThe design of the current operation with callback reference assumes no web proxy between the entity that originates the notification and the entity that receives it.\nNOTE 3:\tThe language support for the application description may be limited.\nNOTE 4:\tAttribute appLocationUpdates and appAutoInstantiation shall not both be set to TRUE.", "x-etsi-notes": "NOTE 1:\tIf a value of the attribute is included in the request, the same value shall be included in the response.\nNOTE 2:\tThe design of the current operation with callback reference assumes no web proxy between the entity that originates the notification and the entity that receives it.\nNOTE 3:\tThe language support for the application description may be limited.\nNOTE 4:\tAttribute appLocationUpdates and appAutoInstantiation shall not both be set to TRUE.",
"x-etsi-ref": "6.2.3" "x-etsi-ref": "6.2.3"
...@@ -583,10 +567,7 @@ ...@@ -583,10 +567,7 @@
"x-etsi-mec-origin-type": "String" "x-etsi-mec-origin-type": "String"
} }
}, },
"required": [ "required": ["notificationType", "contextId"],
"notificationType",
"contextId"
],
"type": "object", "type": "object",
"x-etsi-ref": "6.4.3" "x-etsi-ref": "6.4.3"
}, },
...@@ -628,21 +609,14 @@ ...@@ -628,21 +609,14 @@
} }
}, },
"minItems": 1, "minItems": 1,
"required": [ "required": ["appInstanceId", "referenceURI"],
"appInstanceId",
"referenceURI"
],
"type": "array", "type": "array",
"x-etsi-mec-cardinality": "1..N", "x-etsi-mec-cardinality": "1..N",
"x-etsi-mec-origin-type": "array (Structure inlined)" "x-etsi-mec-origin-type": "array (Structure inlined)"
} }
}, },
"type": "object", "type": "object",
"required": [ "required": ["notificationType", "contextId", "userAppInstanceInfo"],
"notificationType",
"contextId",
"userAppInstanceInfo"
],
"x-etsi-ref": "6.4.4" "x-etsi-ref": "6.4.4"
}, },
"ApplicationList": { "ApplicationList": {
...@@ -681,10 +655,7 @@ ...@@ -681,10 +655,7 @@
}, },
"serviceCont": { "serviceCont": {
"description": "Required service continuity mode for this application. Permitted values: 0 = SERVICE_CONTINUITY_NOT_REQUIRED. 1 = SERVICE_CONTINUITY_REQUIRED.", "description": "Required service continuity mode for this application. Permitted values: 0 = SERVICE_CONTINUITY_NOT_REQUIRED. 1 = SERVICE_CONTINUITY_REQUIRED.",
"enum": [ "enum": [0, 1],
0,
1
],
"type": "integer", "type": "integer",
"x-etsi-mec-cardinality": "0..1", "x-etsi-mec-cardinality": "0..1",
"x-etsi-mec-origin-type": "Enum" "x-etsi-mec-origin-type": "Enum"
...@@ -775,9 +746,7 @@ ...@@ -775,9 +746,7 @@
"x-etsi-mec-origin-type": "String" "x-etsi-mec-origin-type": "String"
} }
}, },
"required": [ "required": ["vendorId"],
"vendorId"
],
"type": "object", "type": "object",
"x-etsi-mec-cardinality": "0..1", "x-etsi-mec-cardinality": "0..1",
"x-etsi-mec-origin-type": "Structure (inlined)" "x-etsi-mec-origin-type": "Structure (inlined)"
...@@ -785,9 +754,7 @@ ...@@ -785,9 +754,7 @@
} }
}, },
"minItems": 0, "minItems": 0,
"required": [ "required": ["appInfo"],
"appInfo"
],
"type": "array", "type": "array",
"x-etsi-mec-cardinality": "0..N", "x-etsi-mec-cardinality": "0..N",
"x-etsi-mec-origin-type": "Array (Structure (inlined))" "x-etsi-mec-origin-type": "Array (Structure (inlined))"
...@@ -859,11 +826,7 @@ ...@@ -859,11 +826,7 @@
"x-etsi-mec-origin-type": "array (Structure (inline))" "x-etsi-mec-origin-type": "array (Structure (inline))"
} }
}, },
"required": [ "required": ["appName", "appProvider", "appDVersion"],
"appName",
"appProvider",
"appDVersion"
],
"type": "object", "type": "object",
"x-etsi-mec-cardinality": "1", "x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "Structure (inlined)" "x-etsi-mec-origin-type": "Structure (inlined)"
...@@ -876,10 +839,7 @@ ...@@ -876,10 +839,7 @@
"x-etsi-mec-origin-type": "String" "x-etsi-mec-origin-type": "String"
} }
}, },
"required": [ "required": ["associateDevAppId", "appInfo"],
"associateDevAppId",
"appInfo"
],
"type": "object", "type": "object",
"x-etsi-ref": "6.2.4" "x-etsi-ref": "6.2.4"
}, },
...@@ -896,9 +856,7 @@ ...@@ -896,9 +856,7 @@
} }
}, },
"minItems": 1, "minItems": 1,
"required": [ "required": ["appLocation"],
"appLocation"
],
"type": "array", "type": "array",
"x-etsi-mec-cardinality": "1..N", "x-etsi-mec-cardinality": "1..N",
"x-etsi-mec-origin-type": "array (Structure (inline))" "x-etsi-mec-origin-type": "array (Structure (inline))"
...@@ -917,10 +875,7 @@ ...@@ -917,10 +875,7 @@
} }
}, },
"type": "object", "type": "object",
"required": [ "required": ["notificationType", "availableLocations"],
"notificationType",
"availableLocations"
],
"x-etsi-ref": "6.4.5" "x-etsi-ref": "6.4.5"
}, },
"InlineNotification": { "InlineNotification": {
...@@ -967,10 +922,7 @@ ...@@ -967,10 +922,7 @@
} }
}, },
"minItems": 0, "minItems": 0,
"required": [ "required": ["caType", "caValue"],
"caType",
"caValue"
],
"type": "array", "type": "array",
"x-etsi-mec-cardinality": "0..N", "x-etsi-mec-cardinality": "0..N",
"x-etsi-mec-origin-type": "array (Structure inlined)" "x-etsi-mec-origin-type": "array (Structure inlined)"
...@@ -1048,4 +1000,4 @@ ...@@ -1048,4 +1000,4 @@
} }
} }
} }
} }
\ No newline at end of file
openapi: 3.0.0 openapi: 3.1.0
info: info:
contact: contact:
url: https://forge.etsi.org/rep/mec/gs016-dev-app-api url: https://forge.etsi.org/rep/mec/gs016-dev-app-api
......
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