fix: correct authorization header spelling in api docs (#27721)

Corrects the misspelled `Authorizaiton` Swagger header name to
`Authorization` in the source annotation and checked-in generated API
documentation.

This prevents generated API specs and SCIM examples from documenting the
wrong HTTP header name.
This commit is contained in:
Fabien Penso
2026-08-03 16:31:26 +00:00
committed by GitHub
parent df1c0f9710
commit 7bd9f5ec93
4 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -5182,7 +5182,7 @@ curl -X GET http://coder-server:8080/scim/v2/ServiceProviderConfig
```sh
# Example request using curl
curl -X GET http://coder-server:8080/scim/v2/Users \
-H 'Authorizaiton: API_KEY'
-H 'Authorization: API_KEY'
```
`GET /scim/v2/Users`
@@ -5204,7 +5204,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio
curl -X POST http://coder-server:8080/scim/v2/Users \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorizaiton: API_KEY'
-H 'Authorization: API_KEY'
```
`POST /scim/v2/Users`
@@ -5294,7 +5294,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio
```sh
# Example request using curl
curl -X GET http://coder-server:8080/scim/v2/Users/{id} \
-H 'Authorizaiton: API_KEY'
-H 'Authorization: API_KEY'
```
`GET /scim/v2/Users/{id}`
@@ -5322,7 +5322,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio
curl -X PUT http://coder-server:8080/scim/v2/Users/{id} \
-H 'Content-Type: application/json' \
-H 'Accept: application/scim+json' \
-H 'Authorizaiton: API_KEY'
-H 'Authorization: API_KEY'
```
`PUT /scim/v2/Users/{id}`
@@ -5414,7 +5414,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio
curl -X PATCH http://coder-server:8080/scim/v2/Users/{id} \
-H 'Content-Type: application/json' \
-H 'Accept: application/scim+json' \
-H 'Authorizaiton: API_KEY'
-H 'Authorization: API_KEY'
```
`PATCH /scim/v2/Users/{id}`