feat: add generating samples for any kind of object that supports openAPIV3schema #184
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)
|