mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Change identation to tabs
This commit is contained in:
committed by
Dave Shanley
parent
1a65c08b24
commit
fc7da1d38d
@@ -5,10 +5,11 @@ package model
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/pb33f/libopenapi/datamodel/low"
|
|
||||||
"gopkg.in/yaml.v3"
|
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
"github.com/pb33f/libopenapi/datamodel/low"
|
||||||
|
"gopkg.in/yaml.v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -116,6 +117,7 @@ func CheckSpecificObjectAdded[T any](l, r map[string]*T, label string) bool {
|
|||||||
|
|
||||||
// CheckProperties will iterate through a slice of PropertyCheck pointers of type T. The method is a convenience method
|
// CheckProperties will iterate through a slice of PropertyCheck pointers of type T. The method is a convenience method
|
||||||
// for running checks on the following methods in order:
|
// for running checks on the following methods in order:
|
||||||
|
//
|
||||||
// CheckPropertyAdditionOrRemoval
|
// CheckPropertyAdditionOrRemoval
|
||||||
// CheckForModification
|
// CheckForModification
|
||||||
func CheckProperties(properties []*PropertyCheck) {
|
func CheckProperties(properties []*PropertyCheck) {
|
||||||
|
|||||||
@@ -5,11 +5,13 @@ package model
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"sort"
|
||||||
|
|
||||||
|
"gopkg.in/yaml.v3"
|
||||||
|
|
||||||
"github.com/pb33f/libopenapi/datamodel/low/base"
|
"github.com/pb33f/libopenapi/datamodel/low/base"
|
||||||
v3 "github.com/pb33f/libopenapi/datamodel/low/v3"
|
v3 "github.com/pb33f/libopenapi/datamodel/low/v3"
|
||||||
"github.com/pb33f/libopenapi/utils"
|
"github.com/pb33f/libopenapi/utils"
|
||||||
"gopkg.in/yaml.v3"
|
|
||||||
"sort"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// ExampleChanges represent changes to an Example object, part of an OpenAPI specification.
|
// ExampleChanges represent changes to an Example object, part of an OpenAPI specification.
|
||||||
|
|||||||
Reference in New Issue
Block a user