Skip to content

Commit 1e40e4d

Browse files
committed
linting
1 parent 52aba9e commit 1e40e4d

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

helpers/schema_compiler.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ func NewCompiledSchema(name string, jsonSchema []byte, o *config.ValidationOptio
5555
// - version 3.0: Allows OpenAPI 3.0 keywords like 'nullable'
5656
// - version 3.1+: Rejects OpenAPI 3.0 keywords like 'nullable' (strict JSON Schema compliance)
5757
func NewCompiledSchemaWithVersion(name string, jsonSchema []byte, o *config.ValidationOptions, version float32) (*jsonschema.Schema, error) {
58-
5958
compiler := NewCompilerWithOptions(o)
6059
compiler.UseLoader(NewCompilerLoader())
6160

schema_validation/validate_schema_openapi_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,6 @@ components:
417417
for _, err := range errors {
418418
t.Logf("Error: %s", err.Error())
419419
}
420-
421420
}
422421

423422
// Helper function to check if a string contains a substring (case-insensitive)

0 commit comments

Comments
 (0)