Allow structs to be self-verifying. #293
66.00% of diff hit (target 76.58%)
View this Pull Request on Codecov
66.00% of diff hit (target 76.58%)
Annotations
Check warning on line 61 in pkg/generator/verify_formatter.go
codecov / codecov/patch
pkg/generator/verify_formatter.go#L60-L61
Added lines #L60 - L61 were not covered by tests
Check warning on line 73 in pkg/generator/verify_formatter.go
codecov / codecov/patch
pkg/generator/verify_formatter.go#L72-L73
Added lines #L72 - L73 were not covered by tests
Check warning on line 76 in pkg/generator/verify_formatter.go
codecov / codecov/patch
pkg/generator/verify_formatter.go#L75-L76
Added lines #L75 - L76 were not covered by tests
Check warning on line 82 in pkg/generator/verify_formatter.go
codecov / codecov/patch
pkg/generator/verify_formatter.go#L81-L82
Added lines #L81 - L82 were not covered by tests
Check warning on line 142 in pkg/generator/verify_formatter.go
codecov / codecov/patch
pkg/generator/verify_formatter.go#L134-L142
Added lines #L134 - L142 were not covered by tests
Check warning on line 146 in pkg/generator/verify_formatter.go
codecov / codecov/patch
pkg/generator/verify_formatter.go#L144-L146
Added lines #L144 - L146 were not covered by tests
Check warning on line 150 in pkg/generator/verify_formatter.go
codecov / codecov/patch
pkg/generator/verify_formatter.go#L148-L150
Added lines #L148 - L150 were not covered by tests
Check warning on line 158 in pkg/generator/verify_formatter.go
codecov / codecov/patch
pkg/generator/verify_formatter.go#L152-L158
Added lines #L152 - L158 were not covered by tests
Check warning on line 162 in pkg/generator/verify_formatter.go
codecov / codecov/patch
pkg/generator/verify_formatter.go#L160-L162
Added lines #L160 - L162 were not covered by tests
Check warning on line 165 in pkg/generator/verify_formatter.go
codecov / codecov/patch
pkg/generator/verify_formatter.go#L164-L165
Added lines #L164 - L165 were not covered by tests
Check warning on line 62 in tests/data/validation/exclusiveMaximum/exclusiveMaximum.go
codecov / codecov/patch
tests/data/validation/exclusiveMaximum/exclusiveMaximum.go#L61-L62
Added lines #L61 - L62 were not covered by tests
Check warning on line 65 in tests/data/validation/exclusiveMaximum/exclusiveMaximum.go
codecov / codecov/patch
tests/data/validation/exclusiveMaximum/exclusiveMaximum.go#L64-L65
Added lines #L64 - L65 were not covered by tests
Check warning on line 59 in tests/data/validation/exclusiveMaximum/exclusiveMaximumOld.go
codecov / codecov/patch
tests/data/validation/exclusiveMaximum/exclusiveMaximumOld.go#L58-L59
Added lines #L58 - L59 were not covered by tests
Check warning on line 62 in tests/data/validation/exclusiveMinimum/exclusiveMinimum.go
codecov / codecov/patch
tests/data/validation/exclusiveMinimum/exclusiveMinimum.go#L61-L62
Added lines #L61 - L62 were not covered by tests
Check warning on line 65 in tests/data/validation/exclusiveMinimum/exclusiveMinimum.go
codecov / codecov/patch
tests/data/validation/exclusiveMinimum/exclusiveMinimum.go#L64-L65
Added lines #L64 - L65 were not covered by tests
Check warning on line 59 in tests/data/validation/exclusiveMinimum/exclusiveMinimumOld.go
codecov / codecov/patch
tests/data/validation/exclusiveMinimum/exclusiveMinimumOld.go#L58-L59
Added lines #L58 - L59 were not covered by tests
Check warning on line 62 in tests/data/validation/maximum/maximum.go
codecov / codecov/patch
tests/data/validation/maximum/maximum.go#L61-L62
Added lines #L61 - L62 were not covered by tests
Check warning on line 65 in tests/data/validation/maximum/maximum.go
codecov / codecov/patch
tests/data/validation/maximum/maximum.go#L64-L65
Added lines #L64 - L65 were not covered by tests
Check warning on line 62 in tests/data/validation/minimum/minimum.go
codecov / codecov/patch
tests/data/validation/minimum/minimum.go#L61-L62
Added lines #L61 - L62 were not covered by tests
Check warning on line 65 in tests/data/validation/minimum/minimum.go
codecov / codecov/patch
tests/data/validation/minimum/minimum.go#L64-L65
Added lines #L64 - L65 were not covered by tests
Check warning on line 63 in tests/data/validation/multipleOf/multipleOf.go
codecov / codecov/patch
tests/data/validation/multipleOf/multipleOf.go#L62-L63
Added lines #L62 - L63 were not covered by tests
Check warning on line 66 in tests/data/validation/multipleOf/multipleOf.go
codecov / codecov/patch
tests/data/validation/multipleOf/multipleOf.go#L65-L66
Added lines #L65 - L66 were not covered by tests
Check warning on line 48 in tests/data/validation/pattern/pattern.go
codecov / codecov/patch
tests/data/validation/pattern/pattern.go#L46-L48
Added lines #L46 - L48 were not covered by tests
Check warning on line 65 in tests/data/validation/primitive_defs/primitive_defs.go
codecov / codecov/patch
tests/data/validation/primitive_defs/primitive_defs.go#L62-L65
Added lines #L62 - L65 were not covered by tests
Check warning on line 78 in tests/data/validation/requiredFields/requiredFields.go
codecov / codecov/patch
tests/data/validation/requiredFields/requiredFields.go#L77-L78
Added lines #L77 - L78 were not covered by tests