mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
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:
Generated
+1
-1
@@ -29983,7 +29983,7 @@ const docTemplate = `{
|
||||
},
|
||||
"Authorization": {
|
||||
"type": "apiKey",
|
||||
"name": "Authorizaiton",
|
||||
"name": "Authorization",
|
||||
"in": "header"
|
||||
},
|
||||
"CoderSessionToken": {
|
||||
|
||||
Generated
+1
-1
@@ -27675,7 +27675,7 @@
|
||||
},
|
||||
"Authorization": {
|
||||
"type": "apiKey",
|
||||
"name": "Authorizaiton",
|
||||
"name": "Authorization",
|
||||
"in": "header"
|
||||
},
|
||||
"CoderSessionToken": {
|
||||
|
||||
+1
-1
@@ -351,7 +351,7 @@ type Options struct {
|
||||
|
||||
// @securitydefinitions.apiKey Authorization
|
||||
// @in header
|
||||
// @name Authorizaiton
|
||||
// @name Authorization
|
||||
|
||||
// @securitydefinitions.apiKey CoderSessionToken
|
||||
// @in header
|
||||
|
||||
Reference in New Issue
Block a user