diff --git a/tests/data/core/4.2.1_array.go.output b/tests/data/core/4.2.1_array.go.output index c31c514b..5238db8d 100644 --- a/tests/data/core/4.2.1_array.go.output +++ b/tests/data/core/4.2.1_array.go.output @@ -2,8 +2,8 @@ package test -import "fmt" import "encoding/json" +import "fmt" type A421Array struct { // MyArray corresponds to the JSON schema field "myArray". diff --git a/tests/data/core/object.go.output b/tests/data/core/object.go.output index 64b1c610..cb852542 100644 --- a/tests/data/core/object.go.output +++ b/tests/data/core/object.go.output @@ -2,8 +2,8 @@ package test -import "fmt" import "encoding/json" +import "fmt" type ObjectMyObject struct { // MyString corresponds to the JSON schema field "myString". diff --git a/tests/data/core/primitives.go.output b/tests/data/core/primitives.go.output index a5ef52c1..65671635 100644 --- a/tests/data/core/primitives.go.output +++ b/tests/data/core/primitives.go.output @@ -2,8 +2,8 @@ package test -import "fmt" import "encoding/json" +import "fmt" type Primitives struct { // MyBoolean corresponds to the JSON schema field "myBoolean". diff --git a/tests/data/core/refToEnum.go.output b/tests/data/core/refToEnum.go.output index 1b3c4db8..aac189ad 100644 --- a/tests/data/core/refToEnum.go.output +++ b/tests/data/core/refToEnum.go.output @@ -2,9 +2,9 @@ package test +import "encoding/json" import "fmt" import "reflect" -import "encoding/json" type Thing string diff --git a/tests/data/extraImports/gopkgYAMLv2.go.output b/tests/data/extraImports/gopkgYAMLv2.go.output index 43c06cd1..61e25a7d 100644 --- a/tests/data/extraImports/gopkgYAMLv2.go.output +++ b/tests/data/extraImports/gopkgYAMLv2.go.output @@ -2,9 +2,9 @@ package test +import "encoding/json" import "fmt" import yaml "gopkg.in/yaml.v2" -import "encoding/json" type GopkgYAMLv2 struct { // MyBoolean corresponds to the JSON schema field "myBoolean". diff --git a/tests/data/extraImports/gopkgYAMLv3.go.output b/tests/data/extraImports/gopkgYAMLv3.go.output index fa9a6364..d6c20c2f 100644 --- a/tests/data/extraImports/gopkgYAMLv3.go.output +++ b/tests/data/extraImports/gopkgYAMLv3.go.output @@ -2,9 +2,9 @@ package test +import "encoding/json" import "fmt" import yaml "gopkg.in/yaml.v3" -import "encoding/json" type GopkgYAMLv3 struct { // MyBoolean corresponds to the JSON schema field "myBoolean". diff --git a/tests/data/miscWithDefaults/cyclicAndRequired1.go.output b/tests/data/miscWithDefaults/cyclicAndRequired1.go.output index 283dbc5d..7534c336 100644 --- a/tests/data/miscWithDefaults/cyclicAndRequired1.go.output +++ b/tests/data/miscWithDefaults/cyclicAndRequired1.go.output @@ -2,8 +2,8 @@ package test -import "fmt" import "encoding/json" +import "fmt" type Foo struct { // RefToBar corresponds to the JSON schema field "refToBar". diff --git a/tests/data/miscWithDefaults/cyclicAndRequired2.go.output b/tests/data/miscWithDefaults/cyclicAndRequired2.go.output index 53b93e35..a6748ae7 100644 --- a/tests/data/miscWithDefaults/cyclicAndRequired2.go.output +++ b/tests/data/miscWithDefaults/cyclicAndRequired2.go.output @@ -2,8 +2,8 @@ package test -import "fmt" import "encoding/json" +import "fmt" type Foo struct { // RefToBar corresponds to the JSON schema field "refToBar". diff --git a/tests/data/validation/5.10_maxItems.go.output b/tests/data/validation/5.10_maxItems.go.output index 0dba6107..761a731d 100644 --- a/tests/data/validation/5.10_maxItems.go.output +++ b/tests/data/validation/5.10_maxItems.go.output @@ -2,8 +2,8 @@ package test -import "fmt" import "encoding/json" +import "fmt" type A510MaxItems struct { // MyNestedArray corresponds to the JSON schema field "myNestedArray". diff --git a/tests/data/validation/5.11_minItems.go.output b/tests/data/validation/5.11_minItems.go.output index 13b9c883..3c2c93fc 100644 --- a/tests/data/validation/5.11_minItems.go.output +++ b/tests/data/validation/5.11_minItems.go.output @@ -2,8 +2,8 @@ package test -import "fmt" import "encoding/json" +import "fmt" type A511MinItems struct { // MyNestedArray corresponds to the JSON schema field "myNestedArray". diff --git a/tests/data/validation/5.1x_minMaxItems.go.output b/tests/data/validation/5.1x_minMaxItems.go.output index 0cb2151e..c06a9913 100644 --- a/tests/data/validation/5.1x_minMaxItems.go.output +++ b/tests/data/validation/5.1x_minMaxItems.go.output @@ -2,8 +2,8 @@ package test -import "fmt" import "encoding/json" +import "fmt" type A51XMinMaxItems struct { // MyNestedArray corresponds to the JSON schema field "myNestedArray". diff --git a/tests/data/validation/6.1.2_enum.go.output b/tests/data/validation/6.1.2_enum.go.output index a9c92a44..e549afba 100644 --- a/tests/data/validation/6.1.2_enum.go.output +++ b/tests/data/validation/6.1.2_enum.go.output @@ -2,9 +2,9 @@ package test +import "encoding/json" import "fmt" import "reflect" -import "encoding/json" type A612Enum struct { // MyBooleanTypedEnum corresponds to the JSON schema field "myBooleanTypedEnum". diff --git a/tests/data/validation/6.5.3_requiredFields.go.output b/tests/data/validation/6.5.3_requiredFields.go.output index f10925ba..bf9f32bc 100644 --- a/tests/data/validation/6.5.3_requiredFields.go.output +++ b/tests/data/validation/6.5.3_requiredFields.go.output @@ -2,8 +2,8 @@ package test -import "fmt" import "encoding/json" +import "fmt" type A653RequiredFieldsMyObject struct { // MyNestedObjectString corresponds to the JSON schema field diff --git a/tests/data/validation/typed_default_enums.go.output b/tests/data/validation/typed_default_enums.go.output index 7ab7033c..922d9324 100644 --- a/tests/data/validation/typed_default_enums.go.output +++ b/tests/data/validation/typed_default_enums.go.output @@ -2,9 +2,9 @@ package test +import "encoding/json" import "fmt" import "reflect" -import "encoding/json" type TypedDefaultEnumsSome string