Commit 140ebcd6 authored by Walter Featherstone's avatar Walter Featherstone
Browse files

Used readOnly in place of .Request/.Response


Signed-off-by: default avatarWalter Featherstone <wol190@gmail.com>
parent f6224c89
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -25,7 +25,7 @@ parameters: ...@@ -25,7 +25,7 @@ parameters:
in: body in: body
required: true required: true
schema: schema:
$ref: '#/definitions/AppTerminationNotificationSubscription.Request' $ref: '#/definitions/AppTerminationNotificationSubscription'
Body.DnsRule: Body.DnsRule:
name: DnsRule name: DnsRule
description: The updated state is included in the entity body of the request. description: The updated state is included in the entity body of the request.
...@@ -39,7 +39,7 @@ parameters: ...@@ -39,7 +39,7 @@ parameters:
in: body in: body
required: true required: true
schema: schema:
$ref: '#/definitions/SerAvailabilityNotificationSubscription.Request' $ref: '#/definitions/SerAvailabilityNotificationSubscription'
Body.ServiceInfo: Body.ServiceInfo:
name: ServiceInfo name: ServiceInfo
description: New ServiceInfo with updated "state" is included as entity body of the request description: New ServiceInfo with updated "state" is included as entity body of the request
...@@ -325,7 +325,7 @@ paths: ...@@ -325,7 +325,7 @@ paths:
type: object type: object
properties: properties:
AppTerminationNotificationSubscription: AppTerminationNotificationSubscription:
$ref: '#/definitions/AppTerminationNotificationSubscription.Response' $ref: '#/definitions/AppTerminationNotificationSubscription'
'400': '400':
description: Bad Request description: Bad Request
schema: schema:
...@@ -366,7 +366,7 @@ paths: ...@@ -366,7 +366,7 @@ paths:
type: object type: object
properties: properties:
SerAvailabilityNotificationSubscription: SerAvailabilityNotificationSubscription:
$ref: '#/definitions/SerAvailabilityNotificationSubscription.Response' $ref: '#/definitions/SerAvailabilityNotificationSubscription'
'400': '400':
description: Bad Request description: Bad Request
schema: schema:
...@@ -1034,21 +1034,7 @@ definitions: ...@@ -1034,21 +1034,7 @@ definitions:
description: URI selected by the mobile edge application instance to receive notifications on the subscribed mobile edge application instance management information. This shall be included in both the request and the response. description: URI selected by the mobile edge application instance to receive notifications on the subscribed mobile edge application instance management information. This shall be included in both the request and the response.
type: string type: string
format: uri format: uri
AppTerminationNotificationSubscription.Request: AppTerminationNotificationSubscription:
description: This type represents the information that the mobile edge platform notifies the subscribed application instance about the corresponding application instance termination/stop.
type: object
required:
- subscriptionType
- callbackReference
- appInstanceId
properties:
subscriptionType:
$ref: '#/definitions/AppTerminationNotificationSubscription.SubscriptionType'
callbackReference:
$ref: '#/definitions/AppTerminationNotificationSubscription.CallbackReference'
appInstanceId:
$ref: '#/definitions/AppTerminationNotificationSubscription.AppInstanceId'
AppTerminationNotificationSubscription.Response:
description: This type represents the information that the mobile edge platform notifies the subscribed application instance about the corresponding application instance termination/stop. description: This type represents the information that the mobile edge platform notifies the subscribed application instance about the corresponding application instance termination/stop.
type: object type: object
required: required:
...@@ -1261,6 +1247,7 @@ definitions: ...@@ -1261,6 +1247,7 @@ definitions:
description: URI referring to a resource description: URI referring to a resource
type: string type: string
format: uri format: uri
readOnly: true
example: /meMp1/example example: /meMp1/example
Mp1SubscriptionLinkList.Links: Mp1SubscriptionLinkList.Links:
description: Self-referring URI. description: Self-referring URI.
...@@ -1368,25 +1355,12 @@ definitions: ...@@ -1368,25 +1355,12 @@ definitions:
properties: properties:
self: self:
$ref: '#/definitions/LinkType' $ref: '#/definitions/LinkType'
readOnly: true
SerAvailabilityNotificationSubscription.CallbackReference: SerAvailabilityNotificationSubscription.CallbackReference:
description: URI selected by the mobile edge application instance to receive notifications on the subscribed mobile edge service availability information. This shall be included in both the request and the response. description: URI selected by the mobile edge application instance to receive notifications on the subscribed mobile edge service availability information. This shall be included in both the request and the response.
type: string type: string
format: uri format: uri
SerAvailabilityNotificationSubscription.Request: SerAvailabilityNotificationSubscription:
description: This type represents a subscription to the notifications from the mobile edge platform regarding the availability of a mobile edge service or a list of mobile edge services.
type: object
required:
- subscriptionType
- callbackReference
- filteringCriteria
properties:
subscriptionType:
$ref: '#/definitions/SerAvailabilityNotificationSubscription.SubscriptionType'
callbackReference:
$ref: '#/definitions/SerAvailabilityNotificationSubscription.CallbackReference'
filteringCriteria:
$ref: '#/definitions/ServiceInfo'
SerAvailabilityNotificationSubscription.Response:
description: This type represents a subscription to the notifications from the mobile edge platform regarding the availability of a mobile edge service or a list of mobile edge services. description: This type represents a subscription to the notifications from the mobile edge platform regarding the availability of a mobile edge service or a list of mobile edge services.
type: object type: object
required: required:
......
description: This type represents the information that the mobile edge platform notifies the subscribed application instance about the corresponding application instance termination/stop.
type: object
required:
- subscriptionType
- callbackReference
- appInstanceId
properties:
subscriptionType:
$ref: '#/definitions/AppTerminationNotificationSubscription.SubscriptionType'
callbackReference:
$ref: '#/definitions/AppTerminationNotificationSubscription.CallbackReference'
appInstanceId:
$ref: '#/definitions/AppTerminationNotificationSubscription.AppInstanceId'
\ No newline at end of file
description: URI referring to a resource description: URI referring to a resource
type: string type: string
format: uri format: uri
readOnly: true
example: '/meMp1/example' example: '/meMp1/example'
\ No newline at end of file
...@@ -4,4 +4,5 @@ required: ...@@ -4,4 +4,5 @@ required:
- self - self
properties: properties:
self: self:
$ref: '#/definitions/LinkType' $ref: '#/definitions/LinkType'
\ No newline at end of file readOnly: true
\ No newline at end of file
description: This type represents a subscription to the notifications from the mobile edge platform regarding the availability of a mobile edge service or a list of mobile edge services.
type: object
required:
- subscriptionType
- callbackReference
- filteringCriteria
properties:
subscriptionType:
$ref: '#/definitions/SerAvailabilityNotificationSubscription.SubscriptionType'
callbackReference:
$ref: '#/definitions/SerAvailabilityNotificationSubscription.CallbackReference'
filteringCriteria:
$ref: '#/definitions/ServiceInfo'
\ No newline at end of file
...@@ -8,10 +8,8 @@ AppTerminationNotificationSubscription.AppInstanceId: ...@@ -8,10 +8,8 @@ AppTerminationNotificationSubscription.AppInstanceId:
$ref: ./AppTerminationNotificationSubscription.AppInstanceId.yaml $ref: ./AppTerminationNotificationSubscription.AppInstanceId.yaml
AppTerminationNotificationSubscription.CallbackReference: AppTerminationNotificationSubscription.CallbackReference:
$ref: ./AppTerminationNotificationSubscription.CallbackReference.yaml $ref: ./AppTerminationNotificationSubscription.CallbackReference.yaml
AppTerminationNotificationSubscription.Request: AppTerminationNotificationSubscription:
$ref: ./AppTerminationNotificationSubscription.Request.yaml $ref: ./AppTerminationNotificationSubscription.yaml
AppTerminationNotificationSubscription.Response:
$ref: ./AppTerminationNotificationSubscription.Response.yaml
AppTerminationNotificationSubscription.SubscriptionType: AppTerminationNotificationSubscription.SubscriptionType:
$ref: ./AppTerminationNotificationSubscription.SubscriptionType.yaml $ref: ./AppTerminationNotificationSubscription.SubscriptionType.yaml
CategoryRef.Href: CategoryRef.Href:
...@@ -96,10 +94,8 @@ Self: ...@@ -96,10 +94,8 @@ Self:
$ref: ./Self.yaml $ref: ./Self.yaml
SerAvailabilityNotificationSubscription.CallbackReference: SerAvailabilityNotificationSubscription.CallbackReference:
$ref: ./SerAvailabilityNotificationSubscription.CallbackReference.yaml $ref: ./SerAvailabilityNotificationSubscription.CallbackReference.yaml
SerAvailabilityNotificationSubscription.Request: SerAvailabilityNotificationSubscription:
$ref: ./SerAvailabilityNotificationSubscription.Request.yaml $ref: ./SerAvailabilityNotificationSubscription.yaml
SerAvailabilityNotificationSubscription.Response:
$ref: ./SerAvailabilityNotificationSubscription.Response.yaml
SerAvailabilityNotificationSubscription.SubscriptionType: SerAvailabilityNotificationSubscription.SubscriptionType:
$ref: ./SerAvailabilityNotificationSubscription.SubscriptionType.yaml $ref: ./SerAvailabilityNotificationSubscription.SubscriptionType.yaml
SerializerTypes: SerializerTypes:
......
...@@ -3,4 +3,4 @@ description: Entity body in the request contains a subscription to the mobile ed ...@@ -3,4 +3,4 @@ description: Entity body in the request contains a subscription to the mobile ed
in: body in: body
required: true required: true
schema: schema:
$ref: '#/definitions/AppTerminationNotificationSubscription.Request' $ref: '#/definitions/AppTerminationNotificationSubscription'
\ No newline at end of file \ No newline at end of file
...@@ -3,4 +3,4 @@ description: Entity body in the request contains a subscription to the mobile ed ...@@ -3,4 +3,4 @@ description: Entity body in the request contains a subscription to the mobile ed
in: body in: body
required: true required: true
schema: schema:
$ref: '#/definitions/SerAvailabilityNotificationSubscription.Request' $ref: '#/definitions/SerAvailabilityNotificationSubscription'
\ No newline at end of file \ No newline at end of file
...@@ -10,10 +10,10 @@ responses: ...@@ -10,10 +10,10 @@ responses:
type: object type: object
properties: properties:
SerAvailabilityNotificationSubscription: SerAvailabilityNotificationSubscription:
$ref: '#/definitions/SerAvailabilityNotificationSubscription.Response' $ref: '#/definitions/SerAvailabilityNotificationSubscription'
# The alternative response # The alternative response
# AppTerminationNotificationSubscription: # AppTerminationNotificationSubscription:
# $ref: '#/definitions/AppTerminationNotificationSubscription.Response' # $ref: '#/definitions/AppTerminationNotificationSubscription'
400: 400:
description: Bad Request description: Bad Request
schema: schema:
......
...@@ -14,7 +14,7 @@ responses: ...@@ -14,7 +14,7 @@ responses:
type: object type: object
properties: properties:
AppTerminationNotificationSubscription: AppTerminationNotificationSubscription:
$ref: '#/definitions/AppTerminationNotificationSubscription.Response' $ref: '#/definitions/AppTerminationNotificationSubscription'
# The alternative response # The alternative response
# SerAvailabilityNotificationSubscription: # SerAvailabilityNotificationSubscription:
# $ref: '#/definitions/SerAvailabilityNotificationSubscription' # $ref: '#/definitions/SerAvailabilityNotificationSubscription'
......
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