Commit dba74484 authored by Walter Featherstone's avatar Walter Featherstone
Browse files

oAuth2Info is not a required parameter & used oneOf for endpoint

parent 62dc8425
...@@ -572,16 +572,6 @@ components: ...@@ -572,16 +572,6 @@ components:
type: array type: array
items: items:
$ref: '#/components/schemas/EndPointInfo.Uri' $ref: '#/components/schemas/EndPointInfo.Uri'
EndPointInfo:
description: This type represents information about a transport endpoint
type: object
properties:
uris:
$ref: '#/components/schemas/EndPointInfo.Uris'
addresses:
$ref: '#/components/schemas/EndPointInfo.Addresses'
alternative:
$ref: '#/components/schemas/EndPointInfo.Alternative'
LinkType: LinkType:
description: This type represents a type of link and may be referenced from data structures description: This type represents a type of link and may be referenced from data structures
type: object type: object
...@@ -1195,7 +1185,12 @@ components: ...@@ -1195,7 +1185,12 @@ components:
version: version:
$ref: '#/components/schemas/TransportInfo.Version' $ref: '#/components/schemas/TransportInfo.Version'
endpoint: endpoint:
$ref: '#/components/schemas/EndPointInfo' description: This type represents information about a transport endpoint
type: object
oneOf:
- $ref: '#/components/schemas/EndPointInfo.Uris'
- $ref: '#/components/schemas/EndPointInfo.Addresses'
- $ref: '#/components/schemas/EndPointInfo.Alternative'
security: security:
$ref: '#/components/schemas/SecurityInfo' $ref: '#/components/schemas/SecurityInfo'
implSpecificInfo: implSpecificInfo:
...@@ -1712,9 +1707,6 @@ components: ...@@ -1712,9 +1707,6 @@ components:
endpoint: endpoint:
uris: uris:
- '/meMp1/service/EntryPoint' - '/meMp1/service/EntryPoint'
addresses:
- host: '192.0.2.0'
port: 8080
security: security:
oAuth2Info: oAuth2Info:
grantTypes: 'OAUTH2_CLIENT_CREDENTIALS' grantTypes: 'OAUTH2_CLIENT_CREDENTIALS'
...@@ -1740,8 +1732,6 @@ components: ...@@ -1740,8 +1732,6 @@ components:
protocol: 'HTTP' protocol: 'HTTP'
version: '2.0' version: '2.0'
endpoint: endpoint:
uris:
- '/meMp1/service/EntryPoint'
addresses: addresses:
- host: '192.0.2.0' - host: '192.0.2.0'
port: 8080 port: 8080
......
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