Consistently use json.RawMessage
This commit is contained in:
parent
221c18e60a
commit
e0d73b5371
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ func unwrapNullableSchema(schema *jsonschema.Schema) (*jsonschema.Schema, bool)
|
||||||
|
|
||||||
func generateSchemaType(schema *jsonschema.Schema, root *jsonschema.Schema, required bool) jen.Code {
|
func generateSchemaType(schema *jsonschema.Schema, root *jsonschema.Schema, required bool) jen.Code {
|
||||||
if schema == nil {
|
if schema == nil {
|
||||||
return jen.Interface()
|
schema = &jsonschema.Schema{}
|
||||||
}
|
}
|
||||||
|
|
||||||
refName := refName(schema.Ref)
|
refName := refName(schema.Ref)
|
||||||
|
|
Loading…
Reference in a new issue