Skip to content

chore: improve validation of Security tag in swaggerparser #15660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
improve format
  • Loading branch information
defelmnq committed Nov 26, 2024
commit 5f6430cee379b4f80bf958af731394176058e5f5
2 changes: 1 addition & 1 deletion coderd/coderdtest/swaggerparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ func assertPathParametersDefined(t *testing.T, comment SwaggerComment) {
}

func assertSecurityDefined(t *testing.T, comment SwaggerComment) {
var authorizedSecurityTags = []string{
authorizedSecurityTags := []string{
"CoderSessionToken",
"ProvisionerKey",
}
Expand Down
Loading