diff --git a/Mp1.json b/Mp1.json index e6504ccc2bbcc2199df458cdc54a3f1c9db9a01e..a3583e3e365d01bf00ccba21fc1c3d7bf37bc535 100644 --- a/Mp1.json +++ b/Mp1.json @@ -76,24 +76,21 @@ "description": "Represents a mobile edge application instance. Note that the appInstanceId is allocated by the mobile edge platform manager.", "in": "path", "required": true, - "type": "string", - "format": "uri" + "type": "string" }, "Path.DnsRuleId": { "name": "dnsRuleId", "description": "Represents a DNS rule.", "in": "path", "required": true, - "type": "string", - "format": "uri" + "type": "string" }, "Path.SubscriptionId": { "name": "subscriptionId", "description": "Represents a subscription to the notifications from the mobile edge platform.", "in": "path", "required": true, - "type": "string", - "format": "uri" + "type": "string" }, "Path.SubscriptionType": { "name": "subscriptionType", @@ -101,23 +98,24 @@ "in": "path", "required": true, "type": "string", - "format": "uri" + "enum": [ + "AppTerminationNotificationSubscription", + "SerAvailabilityNotificationSubscription" + ] }, "Path.ServiceId": { "name": "serviceId", "description": "Represents a mobile edge service instance.", "in": "path", "required": true, - "type": "string", - "format": "uri" + "type": "string" }, "Path.TrafficRuleId": { "name": "trafficRuleId", "description": "Represents a traffic rule.", "in": "path", "required": true, - "type": "string", - "format": "uri" + "type": "string" }, "Query.Ser_category_id": { "name": "ser_category_id", @@ -2653,4 +2651,4 @@ } } } -} +} \ No newline at end of file diff --git a/Mp1.yaml b/Mp1.yaml index 4b447a70f1926cbf98af0b40450efee4bf5f4180..dea0f473806376cb7614aa0ba9f3f50b242ba398 100644 --- a/Mp1.yaml +++ b/Mp1.yaml @@ -69,14 +69,12 @@ parameters: in: path required: true type: string - format: uri Path.DnsRuleId: name: dnsRuleId description: Represents a DNS rule. in: path required: true type: string - format: uri Path.SubscriptionId: name: subscriptionId description: >- @@ -85,7 +83,6 @@ parameters: in: path required: true type: string - format: uri Path.SubscriptionType: name: subscriptionType description: >- @@ -94,21 +91,21 @@ parameters: in: path required: true type: string - format: uri + enum: + - AppTerminationNotificationSubscription + - SerAvailabilityNotificationSubscription Path.ServiceId: name: serviceId description: Represents a mobile edge service instance. in: path required: true type: string - format: uri Path.TrafficRuleId: name: trafficRuleId description: Represents a traffic rule. in: path required: true type: string - format: uri Query.Ser_category_id: name: ser_category_id description: >- diff --git a/parameters/Path.AppInstanceId.yaml b/parameters/Path.AppInstanceId.yaml index a29162070d38e0ac028b240c03f4bdcad215e36f..81c91ce5c84d713aed37eeaba74871ce696a5480 100644 --- a/parameters/Path.AppInstanceId.yaml +++ b/parameters/Path.AppInstanceId.yaml @@ -2,5 +2,4 @@ name: appInstanceId description: Represents a mobile edge application instance. Note that the appInstanceId is allocated by the mobile edge platform manager. in: path required: true -type: string -format: uri \ No newline at end of file +type: string \ No newline at end of file diff --git a/parameters/Path.DnsRuleId.yaml b/parameters/Path.DnsRuleId.yaml index 753e5729c156f7624b314781df660da9112a31d3..980479ffb4bbdb3203dd3908fc1255ab4ce2f3c9 100644 --- a/parameters/Path.DnsRuleId.yaml +++ b/parameters/Path.DnsRuleId.yaml @@ -2,5 +2,4 @@ name: dnsRuleId description: Represents a DNS rule. in: path required: true -type: string -format: uri \ No newline at end of file +type: string \ No newline at end of file diff --git a/parameters/Path.ServiceId.yaml b/parameters/Path.ServiceId.yaml index fd7e41ec39c19b8906d9641dfce38a1cf8dfcb4a..94d038d0d244fcc338390c5ef50b40eafda80fd7 100644 --- a/parameters/Path.ServiceId.yaml +++ b/parameters/Path.ServiceId.yaml @@ -2,5 +2,4 @@ name: serviceId description: Represents a mobile edge service instance. in: path required: true -type: string -format: uri \ No newline at end of file +type: string \ No newline at end of file diff --git a/parameters/Path.SubscriptionId.yaml b/parameters/Path.SubscriptionId.yaml index 5b58d0ff6d5ff0f3a4907836f272e47904f3ab21..93e51912629a836344c1398f26b10e304ad23bdd 100644 --- a/parameters/Path.SubscriptionId.yaml +++ b/parameters/Path.SubscriptionId.yaml @@ -2,5 +2,4 @@ name: subscriptionId description: Represents a subscription to the notifications from the mobile edge platform. in: path required: true -type: string -format: uri \ No newline at end of file +type: string \ No newline at end of file diff --git a/parameters/Path.SubscriptionType.yaml b/parameters/Path.SubscriptionType.yaml index aa541142e46bdd971c85f6e5ee732a15701c642c..d8a559f71f5195809503295ab4367f5c0cbf29cd 100644 --- a/parameters/Path.SubscriptionType.yaml +++ b/parameters/Path.SubscriptionType.yaml @@ -3,4 +3,6 @@ description: Represents a subscription type to the notifications from the mobile in: path required: true type: string -format: uri \ No newline at end of file +enum: +- SerAvailabilityNotificationSubscription +- AppTerminationNotificationSubscription \ No newline at end of file diff --git a/parameters/Path.TrafficRuleId.yaml b/parameters/Path.TrafficRuleId.yaml index 1e0a4000d12b0ec4a346ec2621e0d122728b3909..ffaeab6b2b4915297bf44404a794cb7fbd7800a0 100644 --- a/parameters/Path.TrafficRuleId.yaml +++ b/parameters/Path.TrafficRuleId.yaml @@ -2,5 +2,4 @@ name: trafficRuleId description: Represents a traffic rule. in: path required: true -type: string -format: uri \ No newline at end of file +type: string \ No newline at end of file