What-changed is ready

Needs documenting, but the feature is ready for an application to really stress test the model and logic.

Guess what's next :) (after docs)

Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
Dave Shanley
2022-11-20 14:28:08 -05:00
parent 6c3cc97b04
commit ddf772270e
32 changed files with 392 additions and 356 deletions

View File

@@ -12,11 +12,11 @@ import (
type SecuritySchemeChanges struct {
PropertyChanges
ExtensionChanges *ExtensionChanges
ExtensionChanges *ExtensionChanges `json:"extensions,omitempty" yaml:"extensions,omitempty"`
// v3
OAuthFlowChanges *OAuthFlowsChanges
OAuthFlowChanges *OAuthFlowsChanges `json:"oAuthFlow,omitempty" yaml:"oAuthFlow,omitempty"`
// v2
ScopesChanges *ScopesChanges
ScopesChanges *ScopesChanges `json:"scopes,omitempty" yaml:"scopes,omitempty"`
}
func (ss *SecuritySchemeChanges) TotalChanges() int {