Skip to content

Commit

Permalink
Applied change to Register API in NBL Candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-work committed Mar 19, 2024
1 parent 28f3933 commit 04ad48e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ These endpoints are exposed by the Register and consumed by Data Holders and Dat
These statuses are provided authoritatively by the Register to allow participants to determine whether a connecting third-party is permitted to perform registration requests or data sharing requests.
</aside>

```diff
Removed ResponseErrorListV2 as the 401 error response schema for 'Get Data Holder Brands'. This endpoint conforms to RFC6750, returning an oAuth error in the WWW-Authenticate response header.
```

<br>
<table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ This release addresses the following Decision Proposals published on [Standards]
## Additional Standards
|Change|Description|Link|
|------|-----------|----|
| Clarified endpoint response | [**Standards Maintenance #629**](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/629#issuecomment-1930936447): Removed ResponseErrorListV2 as the 401 error response schema for 'Get Data Holder Brands'. This endpoint conform to RFC6750, returning an oAuth error in the WWW-Authenticate response header. | [Register APIs in the Non-Bank Lending Candidate Standards](../../#candidate-standards)


## Known Issues
Expand Down
10 changes: 6 additions & 4 deletions swagger-gen/api/cds_register_banking_non_bank_lending.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,12 @@
},
"401": {
"description": "Invalid Bearer Token",
"content": {
"application/json": {
"headers": {
"WWW-Authenticate": {
"description": "The Response Header Field as per **[[RFC6750]](#nref-RFC6750)**",
"schema": {
"$ref": "#/components/schemas/ResponseErrorListV2"
"type": "string",
"x-cds-type": "ExternalRef"
}
}
}
Expand Down Expand Up @@ -676,7 +678,7 @@
"registeredCountry": {
"maxLength": 100,
"type": "string",
"description": "Country of registeration (if the company is registered outside Australia)"
"description": "Country of registration (if the company is registered outside Australia)"
},
"abn": {
"maxLength": 11,
Expand Down

0 comments on commit 04ad48e

Please sign in to comment.