Commit 89000f3a authored by Walter Featherstone's avatar Walter Featherstone

host and port are required for an EndPointInfo addresses array instance

parent ee5786b0
...@@ -1313,12 +1313,6 @@ ...@@ -1313,12 +1313,6 @@
"endpoint": { "endpoint": {
"uris": [ "uris": [
"/meMp1/service/EntryPoint" "/meMp1/service/EntryPoint"
],
"addresses": [
{
"host": "192.0.2.0",
"port": 8080
}
] ]
}, },
"security": { "security": {
...@@ -1417,12 +1411,6 @@ ...@@ -1417,12 +1411,6 @@
"endpoint": { "endpoint": {
"uris": [ "uris": [
"/meMp1/service/EntryPoint" "/meMp1/service/EntryPoint"
],
"addresses": [
{
"host": "192.0.2.0",
"port": 8080
}
] ]
}, },
"security": { "security": {
...@@ -1553,12 +1541,6 @@ ...@@ -1553,12 +1541,6 @@
"endpoint": { "endpoint": {
"uris": [ "uris": [
"/meMp1/service/EntryPoint" "/meMp1/service/EntryPoint"
],
"addresses": [
{
"host": "192.0.2.0",
"port": 8080
}
] ]
}, },
"security": { "security": {
...@@ -1661,9 +1643,6 @@ ...@@ -1661,9 +1643,6 @@
"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",
...@@ -2168,6 +2147,10 @@ ...@@ -2168,6 +2147,10 @@
"EndPointInfo.Address": { "EndPointInfo.Address": {
"description": "A IP address and port pair", "description": "A IP address and port pair",
"type": "object", "type": "object",
"required": [
"host",
"port"
],
"properties": { "properties": {
"host": { "host": {
"$ref": "#/definitions/EndPointInfo.Address.Host" "$ref": "#/definitions/EndPointInfo.Address.Host"
......
...@@ -879,9 +879,6 @@ paths: ...@@ -879,9 +879,6 @@ paths:
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'
...@@ -948,9 +945,6 @@ paths: ...@@ -948,9 +945,6 @@ paths:
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'
...@@ -1032,9 +1026,6 @@ paths: ...@@ -1032,9 +1026,6 @@ paths:
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'
...@@ -1103,8 +1094,6 @@ paths: ...@@ -1103,8 +1094,6 @@ paths:
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
...@@ -1451,6 +1440,9 @@ definitions: ...@@ -1451,6 +1440,9 @@ definitions:
EndPointInfo.Address: EndPointInfo.Address:
description: A IP address and port pair description: A IP address and port pair
type: object type: object
required:
- host
- port
properties: properties:
host: host:
$ref: '#/definitions/EndPointInfo.Address.Host' $ref: '#/definitions/EndPointInfo.Address.Host'
......
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