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

Fix on SubscriptionLinkList datamodel

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