Commit 7e21cc6e authored by Walter Featherstone's avatar Walter Featherstone
Browse files

Moving from Swagger 2.0 to OpenAPI 3.0

parents 7daaee41 ec6d7b0b
type: string
description: >-
A human-readable explanation specific to this occurrence of the problem
type: string
format: uri
description: >-
A URI reference that identifies the specific occurrence of the problem
type: integer
format: uint32
description: >-
The HTTP status code for this occurrence of the problem
type: string
description: >-
A short, human-readable summary of the problem type
type: string
format: uri
description: >-
A URI reference according to IETF RFC 3986 that identifies the problem type
type: object
properties:
type:
$ref: '#/definitions/Problem.type'
title:
$ref: '#/definitions/Problem.title'
status:
$ref: '#/definitions/Problem.status'
detail:
$ref: '#/definitions/Problem.detail'
instance:
$ref: '#/definitions/Problem.instance'
description: List of supported OAuth 2.0 grant types
type: string
enum:
- OAUTH2_AUTHORIZATION_CODE
- OAUTH2_IMPLICIT_GRANT
- OAUTH2_RESOURCE_OWNER
- OAUTH2_CLIENT_CREDENTIALS
example: 'OAUTH2_CLIENT_CREDENTIALS'
\ No newline at end of file
description: The token endpoint
type: string
format: uri
example: '/meMp1/security/TokenEndPoint'
\ No newline at end of file
description: Parameters related to use of OAuth 2.0
required:
- grantTypes
- tokenEndpoint
properties:
grantTypes:
$ref: '#/definitions/SecurityInfo.OAuth2Info.GrantTypes'
tokenEndpoint:
$ref: '#/definitions/SecurityInfo.OAuth2Info.TokenEndpoint'
\ No newline at end of file
description: This type represents security information related to a transport
type: object
required:
- oAuth2Info
properties:
oAuth2Info:
$ref: '#/definitions/SecurityInfo.OAuth2Info'
\ No newline at end of file
description: Self-referring URI.
type: object
required:
- self
properties:
self:
$ref: '#/definitions/LinkType'
readOnly: true
\ No newline at end of file
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
format: uri
\ No newline at end of file
description: Shall be set to SerAvailabilityNotificationSubscription.
type: string
example: 'SerAvailabilityNotificationSubscription'
\ 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
- _links
- filteringCriteria
properties:
subscriptionType:
$ref: '#/definitions/SerAvailabilityNotificationSubscription.SubscriptionType'
callbackReference:
$ref: '#/definitions/SerAvailabilityNotificationSubscription.CallbackReference'
_links:
$ref: '#/definitions/Self'
filteringCriteria:
$ref: '#/definitions/ServiceInfo'
\ No newline at end of file
description: The enumeration SerializerTypes represents types of serializers
type: string
enum:
- JSON
- XML
- PROTOBUF3
example: 'JSON'
\ No newline at end of file
description: Shall be set to SerAvailabilityNotification.
type: string
example: 'SerAvailabilityNotification'
\ 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:
- notificationType
- services
- _links
properties:
notificationType:
$ref: '#/definitions/ServiceAvailabilityNotification.NotificationType'
services:
description: This is the information about the services whose availability has changed.
type: array
items:
$ref: '#/definitions/ServiceInfo'
_links:
$ref: '#/definitions/Subscription'
\ No newline at end of file
description: Identifier of the service instance assigned by the MEPM / mobile edge platform.
type: string
example: 'ServiceInstance123'
\ No newline at end of file
description: The name of the service. This is how the service producing mobile edge application identifies the service instance it produces.
type: string
example: 'ExampleService'
\ No newline at end of file
description: Contains the state
type: string
enum:
- ACTIVE
- INACTIVE
example: 'ACTIVE'
\ No newline at end of file
Supports Markdown
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