Change identation to tabs

This commit is contained in:
Hugo Stijns
2022-12-29 14:26:20 +01:00
committed by Dave Shanley
parent 1a65c08b24
commit fc7da1d38d
2 changed files with 396 additions and 392 deletions

View File

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

View File

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