mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
fix: Update tests where appropriate
This commit is contained in:
committed by
Dave Shanley
parent
1f2709fef3
commit
5f9541283a
@@ -1154,10 +1154,15 @@ func TestExtractSchema_CheckChildPropCircular(t *testing.T) {
|
||||
properties:
|
||||
nothing:
|
||||
$ref: '#/components/schemas/Nothing'
|
||||
required:
|
||||
- nothing
|
||||
Nothing:
|
||||
properties:
|
||||
something:
|
||||
$ref: '#/components/schemas/Something'`
|
||||
$ref: '#/components/schemas/Something'
|
||||
required:
|
||||
- something
|
||||
`
|
||||
|
||||
var iNode yaml.Node
|
||||
mErr := yaml.Unmarshal([]byte(yml), &iNode)
|
||||
|
||||
Reference in New Issue
Block a user