mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
oAuth flows all wired up and tested
working through the components, then back to document, then a QA check. Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
@@ -32,6 +32,10 @@ func (co *Components) FindResponse(response string) *low.ValueReference[*Respons
|
||||
return FindItemInMap[*Response](response, co.Responses.Value)
|
||||
}
|
||||
|
||||
func (co *Components) FindSecurityScheme(sScheme string) *low.ValueReference[*SecurityScheme] {
|
||||
return FindItemInMap[*SecurityScheme](sScheme, co.SecuritySchemes.Value)
|
||||
}
|
||||
|
||||
func (co *Components) Build(root *yaml.Node) error {
|
||||
extensionMap, err := ExtractExtensions(root)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user