Skip to content

feat: add generating samples for any kind of object that supports openAPIV3schema #184

feat: add generating samples for any kind of object that supports openAPIV3schema

feat: add generating samples for any kind of object that supports openAPIV3schema #184

Triggered via pull request October 14, 2024 15:48
Status Failure
Total duration 31s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/schema_type.go#L7
Comment should end in a period (godot)
lint: pkg/types_jsonschema.go#L20
Comment should end in a period (godot)
lint: pkg/types_jsonschema.go#L336
receiver-naming: receiver name should not be an underscore, omit the name if it is unused (revive)
lint: pkg/types_jsonschema.go#L343
receiver-naming: receiver name should not be an underscore, omit the name if it is unused (revive)
lint: pkg/types_jsonschema.go#L360
receiver-naming: receiver name should not be an underscore, omit the name if it is unused (revive)
lint: pkg/extract_schematype.go#L136
var-naming: func ensureKindAndApiVersionIsSet should be ensureKindAndAPIVersionIsSet (revive)
lint: pkg/types_jsonschema.go#L41
tag is not aligned, should be: json:"id,omitempty" protobuf:"bytes,1,opt,name=id" (tagalign)
lint: pkg/types_jsonschema.go#L42
tag is not aligned, should be: json:"$schema,omitempty" protobuf:"bytes,2,opt,name=schema" (tagalign)
lint: pkg/types_jsonschema.go#L43
tag is not aligned, should be: json:"$ref,omitempty" protobuf:"bytes,3,opt,name=ref" (tagalign)
lint: pkg/types_jsonschema.go#L45
tag is not aligned, should be: json:"type,omitempty" protobuf:"bytes,5,opt,name=type" (tagalign)