Commit f6224c89 authored by Walter Featherstone's avatar Walter Featherstone

Removed mp1 from security parameter

Change-Id: Icbd6621c825ea29dbd1cd06b640cf743cbdb3538
Signed-off-by: Walter Featherstone's avatarfeatherstone <walter.featherstone@viavisolutions.com>
parent 536efb7c
......@@ -646,10 +646,10 @@ paths:
addresses:
- host: 192.0.2.0
port: '8080'
security.mp1:
security:
oAuth2Info:
grantTypes: OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint: /meMp1/security.mp1/TokenEndPoint
tokenEndpoint: /meMp1/security/TokenEndPoint
serializer: JSON
'400':
description: Bad Request
......@@ -715,10 +715,10 @@ paths:
addresses:
- host: 192.0.2.0
port: '8080'
security.mp1:
security:
oAuth2Info:
grantTypes: OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint: /meMp1/security.mp1/TokenEndPoint
tokenEndpoint: /meMp1/security/TokenEndPoint
serializer: JSON
'400':
description: Bad Request
......@@ -785,10 +785,10 @@ paths:
addresses:
- host: 192.0.2.0
port: '8080'
security.mp1:
security:
oAuth2Info:
grantTypes: OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint: /meMp1/security.mp1/TokenEndPoint
tokenEndpoint: /meMp1/security/TokenEndPoint
serializer: JSON
'400':
description: Bad Request
......@@ -854,10 +854,10 @@ paths:
addresses:
- host: 192.0.2.0
port: '8080'
security.mp1:
security:
oAuth2Info:
grantTypes: OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint: /meMp1/security.mp1/TokenEndPoint
tokenEndpoint: /meMp1/security/TokenEndPoint
serializer: JSON
'400':
description: Bad Request
......@@ -1341,7 +1341,7 @@ definitions:
description: The token endpoint
type: string
format: uri
example: /meMp1/mp1.security/TokenEndPoint
example: /meMp1/security/TokenEndPoint
SecurityInfo.OAuth2Info:
description: Parameters related to use of OAuth 2.0
required:
......@@ -1788,7 +1788,7 @@ definitions:
- protocol
- version
- endpoint
- security.mp1
- security
properties:
id:
$ref: '#/definitions/TransportInfo.Id'
......@@ -1804,7 +1804,7 @@ definitions:
$ref: '#/definitions/TransportInfo.Version'
endpoint:
$ref: '#/definitions/EndPointInfo'
security.mp1:
security:
$ref: '#/definitions/SecurityInfo'
implSpecificInfo:
$ref: '#/definitions/TransportInfo.ImplSpecificInfo'
......@@ -1846,4 +1846,4 @@ definitions:
tunnelDstAddress:
$ref: '#/definitions/TunnelInfo.TunnelDstAddress'
tunnelSrcAddress:
$ref: '#/definitions/TunnelInfo.TunnelSrcAddress'
$ref: '#/definitions/TunnelInfo.TunnelSrcAddress'
\ No newline at end of file
description: The token endpoint
type: string
format: uri
example: '/meMp1/mp1.security/TokenEndPoint'
\ No newline at end of file
example: '/meMp1/security/TokenEndPoint'
\ No newline at end of file
......@@ -7,7 +7,7 @@ required:
- protocol
- version
- endpoint
- security.mp1
- security
properties:
id:
$ref: '#/definitions/TransportInfo.Id'
......@@ -23,7 +23,7 @@ properties:
$ref: '#/definitions/TransportInfo.Version'
endpoint:
$ref: '#/definitions/EndPointInfo'
security.mp1:
security:
$ref: '#/definitions/SecurityInfo'
implSpecificInfo:
$ref: '#/definitions/TransportInfo.ImplSpecificInfo'
\ No newline at end of file
......@@ -29,10 +29,10 @@
}
]
},
"security.mp1": {
"security": {
"oAuth2Info": {
"grantTypes": "OAUTH2_CLIENT_CREDENTIALS",
"tokenEndpoint": "/meMp1/security.mp1/TokenEndPoint"
"tokenEndpoint": "/meMp1/security/TokenEndPoint"
}
}
},
......
......@@ -22,8 +22,8 @@ ServiceInfo:
addresses:
- host: '192.0.2.0'
port: '8080'
security.mp1:
security:
oAuth2Info:
grantTypes: OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint: /meMp1/security.mp1/TokenEndPoint
tokenEndpoint: /meMp1/security/TokenEndPoint
serializer: JSON
......@@ -43,10 +43,10 @@ responses:
addresses:
- host: '192.0.2.0'
port: '8080'
security.mp1:
security:
oAuth2Info:
grantTypes: OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint: /meMp1/security.mp1/TokenEndPoint
tokenEndpoint: /meMp1/security/TokenEndPoint
serializer: JSON
400:
description: Bad Request
......
......@@ -39,10 +39,10 @@ responses:
addresses:
- host: '192.0.2.0'
port: '8080'
security.mp1:
security:
oAuth2Info:
grantTypes: OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint: /meMp1/security.mp1/TokenEndPoint
tokenEndpoint: /meMp1/security/TokenEndPoint
serializer: JSON
400:
description: Bad Request
......
......@@ -37,10 +37,10 @@ responses:
addresses:
- host: '192.0.2.0'
port: '8080'
security.mp1:
security:
oAuth2Info:
grantTypes: OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint: /meMp1/security.mp1/TokenEndPoint
tokenEndpoint: /meMp1/security/TokenEndPoint
serializer: JSON
400:
description: Bad Request
......
......@@ -39,10 +39,10 @@ responses:
addresses:
- host: '192.0.2.0'
port: '8080'
security.mp1:
security:
oAuth2Info:
grantTypes: OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint: /meMp1/security.mp1/TokenEndPoint
tokenEndpoint: /meMp1/security/TokenEndPoint
serializer: JSON
400:
description: Bad Request
......
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