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:
Dave Shanley
2022-08-10 07:58:15 -04:00
parent 402a7c7e5a
commit 3a41d86ee1
4 changed files with 75 additions and 1 deletions

View File

@@ -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 {