Closed njaremko closed 1 month ago
OAuth2Security
is a top level DSL.
It must be assigned to a variable once and then pass it to the Security
DSL.
var OAuth2 = OAuth2Security("oauth2")
var _ = API("api", func() {
Security(OAuth2)
})
Thank you for the PR @tchssk !
I've attached the file here: design.go