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:
+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