diff --git a/Mp1.yaml b/Mp1.yaml index 89d76ee9e6e1de75368bfa39bfc2e3b88a8b2c4e..2632f0715d3ba4b0b27d4e9d47bce34597c7d912 100644 --- a/Mp1.yaml +++ b/Mp1.yaml @@ -353,7 +353,7 @@ paths: addresses: - host: 192.0.2.0 port: '8080' - mp1.security: + security: oAuth2Info: grantTypes: OAUTH2_CLIENT_CREDENTIALS tokenEndpoint: /meMp1/mp1.security/TokenEndPoint @@ -399,7 +399,7 @@ paths: addresses: - host: 192.0.2.0 port: '8080' - mp1.security: + security: oAuth2Info: grantTypes: OAUTH2_CLIENT_CREDENTIALS tokenEndpoint: /meMp1/mp1.security/TokenEndPoint @@ -1203,7 +1203,7 @@ definitions: - protocol - version - endpoint - - mp1.security + - security properties: id: $ref: '#/definitions/TransportInfo.Id' @@ -1219,7 +1219,7 @@ definitions: $ref: '#/definitions/TransportInfo.Version' endpoint: $ref: '#/definitions/EndPointInfo' - mp1.security: + security: $ref: '#/definitions/SecurityInfo' implSpecificInfo: $ref: '#/definitions/TransportInfo.ImplSpecificInfo' diff --git a/definitions/TransportInfo.yaml b/definitions/TransportInfo.yaml index 37252489ab1da5a96a26baf299e06f2e39fab80e..a34a6c1c5a0ba861da15dce9d14a95114572a3b0 100644 --- a/definitions/TransportInfo.yaml +++ b/definitions/TransportInfo.yaml @@ -7,7 +7,7 @@ required: - protocol - version - endpoint -- mp1.security +- security properties: id: $ref: '#/definitions/TransportInfo.Id' @@ -23,7 +23,7 @@ properties: $ref: '#/definitions/TransportInfo.Version' endpoint: $ref: '#/definitions/EndPointInfo' - mp1.security: + security: $ref: '#/definitions/SecurityInfo' implSpecificInfo: $ref: '#/definitions/TransportInfo.ImplSpecificInfo' \ No newline at end of file diff --git a/examples/ServiceInfo.json b/examples/ServiceInfo.json index 47e66fb1cf27260b826c1fc6d8db62be2f8a8b49..c2cbeae4e14b40e2602db556443ff611660958aa 100644 --- a/examples/ServiceInfo.json +++ b/examples/ServiceInfo.json @@ -29,7 +29,7 @@ } ] }, - "mp1.security": { + "security": { "oAuth2Info": { "grantTypes": "OAUTH2_CLIENT_CREDENTIALS", "tokenEndpoint": "/meMp1/mp1.security/TokenEndPoint" diff --git a/examples/ServiceInfo.yaml b/examples/ServiceInfo.yaml index 1da9889ad71a23d237f2570a1b589e905749af2c..06f91025140892717b46e4ae8e97166be72d93fa 100644 --- a/examples/ServiceInfo.yaml +++ b/examples/ServiceInfo.yaml @@ -22,7 +22,7 @@ ServiceInfo: addresses: - host: '192.0.2.0' port: '8080' - mp1.security: + security: oAuth2Info: grantTypes: OAUTH2_CLIENT_CREDENTIALS tokenEndpoint: /meMp1/mp1.security/TokenEndPoint