Skip to content

feat: implement support for sub-schemas

Codecov / codecov/patch failed May 16, 2024 in 0s

70.50% of diff hit (target 76.58%)

View this Pull Request on Codecov

70.50% of diff hit (target 76.58%)

Annotations

Check warning on line 57 in internal/x/text/cases.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/x/text/cases.go#L56-L57

Added lines #L56 - L57 were not covered by tests

Check warning on line 221 in pkg/generator/generate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/generate.go#L220-L221

Added lines #L220 - L221 were not covered by tests

Check warning on line 40 in pkg/generator/json_formatter.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/json_formatter.go#L39-L40

Added lines #L39 - L40 were not covered by tests

Check warning on line 26 in pkg/generator/output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/output.go#L23-L26

Added lines #L23 - L26 were not covered by tests

Check warning on line 30 in pkg/generator/output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/output.go#L29-L30

Added lines #L29 - L30 were not covered by tests

Check warning on line 42 in pkg/generator/output.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/output.go#L40-L42

Added lines #L40 - L42 were not covered by tests

Check warning on line 215 in pkg/generator/schema_generator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/schema_generator.go#L214-L215

Added lines #L214 - L215 were not covered by tests

Check warning on line 219 in pkg/generator/schema_generator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/schema_generator.go#L218-L219

Added lines #L218 - L219 were not covered by tests

Check warning on line 223 in pkg/generator/schema_generator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/schema_generator.go#L222-L223

Added lines #L222 - L223 were not covered by tests

Check warning on line 296 in pkg/generator/schema_generator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/schema_generator.go#L296

Added line #L296 was not covered by tests

Check warning on line 364 in pkg/generator/schema_generator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/schema_generator.go#L363-L364

Added lines #L363 - L364 were not covered by tests

Check warning on line 591 in pkg/generator/schema_generator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/schema_generator.go#L591

Added line #L591 was not covered by tests

Check warning on line 611 in pkg/generator/schema_generator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/schema_generator.go#L611

Added line #L611 was not covered by tests

Check warning on line 636 in pkg/generator/schema_generator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/schema_generator.go#L635-L636

Added lines #L635 - L636 were not covered by tests

Check warning on line 642 in pkg/generator/schema_generator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/schema_generator.go#L641-L642

Added lines #L641 - L642 were not covered by tests

Check warning on line 651 in pkg/generator/schema_generator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/schema_generator.go#L650-L651

Added lines #L650 - L651 were not covered by tests

Check warning on line 41 in pkg/generator/yaml_formatter.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/generator/yaml_formatter.go#L40-L41

Added lines #L40 - L41 were not covered by tests

Check warning on line 183 in pkg/schemas/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schemas/model.go#L182-L183

Added lines #L182 - L183 were not covered by tests

Check warning on line 191 in pkg/schemas/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schemas/model.go#L190-L191

Added lines #L190 - L191 were not covered by tests

Check warning on line 252 in pkg/schemas/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schemas/model.go#L251-L252

Added lines #L251 - L252 were not covered by tests

Check warning on line 263 in pkg/schemas/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schemas/model.go#L262-L263

Added lines #L262 - L263 were not covered by tests

Check warning on line 274 in pkg/schemas/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schemas/model.go#L273-L274

Added lines #L273 - L274 were not covered by tests

Check warning on line 290 in pkg/schemas/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schemas/model.go#L289-L290

Added lines #L289 - L290 were not covered by tests

Check warning on line 26 in pkg/schemas/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schemas/types.go#L26

Added line #L26 was not covered by tests

Check warning on line 81 in tests/data/extraImports/gopkgYAMLv3/gopkgYAMLv3.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

tests/data/extraImports/gopkgYAMLv3/gopkgYAMLv3.go#L81

Added line #L81 was not covered by tests