Skip to content

Commit

Permalink
Ensure schema is rendered inline
Browse files Browse the repository at this point in the history
$refs were not being resolved.
  • Loading branch information
daveshanley committed May 1, 2024
1 parent 6b93301 commit a381da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parameters/validate_parameter.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func ValidateParameterSchema(
var validationErrors []*errors.ValidationError

// 1. build a JSON render of the schema.
renderedSchema, _ := schema.Render()
renderedSchema, _ := schema.RenderInline()
jsonSchema, _ := utils.ConvertYAMLtoJSON(renderedSchema)

// 2. decode the object into a json blob.
Expand Down

0 comments on commit a381da8

Please sign in to comment.