Commit 94ab19ac authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix on SubscriptionLinkList datamodel

parent 2034bda7
Pipeline #3741 passed with stage
in 0 seconds
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
"type": "object", "type": "object",
"required": [ "required": [
"href", "href",
"rel" "subscriptionType"
], ],
"properties": { "properties": {
"href": { "href": {
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
"format": "uri", "format": "uri",
"example": "/mecSerMgmtApi/example" "example": "/mecSerMgmtApi/example"
}, },
"rel": { "subscriptionType": {
"description": "The value shall be se to SerAvailabilityNotificationSubscription.", "description": "The value shall be se to SerAvailabilityNotificationSubscription.",
"type": "string" "type": "string"
} }
......
{ {
"type": "array", "description": "This type represents a list of links related to currently existing subscriptions for a MEC application instance. This information is returned when sending a request to receive current subscriptions.",
"objects": { "type": "object",
"description": "This type represents a list of links related to currently existing subscriptions for a MEC application instance. This information is returned when sending a request to receive current subscriptions.", "required": [
"type": "object", "_links"
"required": [ ],
"_links" "properties": {
], "_links": {
"properties": { "description": "Self-referring URI.",
"_links": { "type": "object",
"description": "Self-referring URI.", "required": [
"type": "object", "self"
"required": [ ],
"self" "properties": {
], "self": {
"properties": { "description": "This type represents a type of link and may be referenced from data structures",
"self": { "type": "object",
"description": "This type represents a type of link and may be referenced from data structures", "properties": {
"type": "object", "href": {
"properties": { "description": "URI referring to a resource",
"href": { "type": "string",
"description": "URI referring to a resource", "format": "uri",
"type": "string", "example": "/mecSerMgmtApi/example"
"format": "uri", }
"example": "/mecSerMgmtApi/example" }
} },
} "subscriptions": {
}, "description": "The MEC application instance's subscriptions",
"subscriptions": { "type": "array",
"description": "The MEC application instance's subscriptions", "items": {
"type": "array", "description": "A link to a subscription.",
"items": { "type": "object",
"description": "A link to a subscription.", "required": [
"type": "object", "href",
"required": [ "subscriptionType"
"href", ],
"rel" "properties": {
], "href": {
"properties": { "description": "URI referring to a resource",
"href": { "type": "string",
"description": "URI referring to a resource", "format": "uri",
"type": "string", "example": "/mecSerMgmtApi/example"
"format": "uri", },
"example": "/mecSerMgmtApi/example" "subscriptionType": {
}, "description": "The value shall be se to SerAvailabilityNotificationSubscription.",
"rel": { "type": "string"
"description": "The value shall be se to SerAvailabilityNotificationSubscription.", }
"type": "string" }
} }
} }
} }
} }
} }
}
}
}
} }
\ 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