Skip to content

Commit 5bf10e2

Browse files
authored
Merge pull request #38 from ChinaUnicomXiaoDongrui/main
update the yaml file to solve Issue 37
2 parents 66a6842 + 3f574bc commit 5bf10e2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎code/API_definitions/esim-remote-management.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ info:
2121
2222
2323
<!-- CAMARA:MANDATORY:authorization-and-authentication:BEGIN -->
24+
2425
# Authorization and authentication
2526
2627
The "Camara Security and Interoperability Profile" provides details of how an API consumer requests an access token. Please refer to Identity and Consent Management (https://github.com/camaraproject/IdentityAndConsentManagement/) for the released version of the profile.
@@ -30,6 +31,7 @@ info:
3031
In cases where personal data is processed by the API and users can exercise their rights through mechanisms such as opt-in and/or opt-out, the use of three-legged access tokens is mandatory. This ensures that the API remains in compliance with privacy regulations, upholding the principles of transparency and user-centric privacy-by-design.
3132
<!-- CAMARA:MANDATORY:authorization-and-authentication:END -->
3233
<!-- CAMARA:MANDATORY:identifying-device-from-access-token:BEGIN -->
34+
3335
# Identifying the device from the access token
3436
3537
This API requires the API consumer to identify a device as the subject of the API as follows:
@@ -46,6 +48,7 @@ info:
4648
<!-- CAMARA:MANDATORY:identifying-device-from-access-token:END -->
4749
4850
<!-- CAMARA:MANDATORY:additional-error-responses:BEGIN -->
51+
4952
# Additional CAMARA error responses
5053
5154
The list of error codes in this API specification is not exhaustive. Therefore the API specification MAY not document some non-mandatory error statuses as indicated in `CAMARA API Design Guide`.
@@ -56,6 +59,7 @@ info:
5659
<!-- CAMARA:MANDATORY:additional-error-responses:END -->
5760
5861
<!-- CAMARA:MANDATORY:request-body-strictness:BEGIN -->
62+
5963
# Request body strictness
6064
6165
This API rejects requests with JSON request bodies that contain properties not declared in this specification, at any nesting level. Unknown properties result in a `400 INVALID_ARGUMENT` response.

0 commit comments

Comments
 (0)