mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
Fix omitempty handling on components.
This commit is contained in:
@@ -687,7 +687,7 @@ components:
|
||||
// render the document.
|
||||
rend, _ := result.Model.Render()
|
||||
|
||||
assert.Equal(t, d, string(rend))
|
||||
assert.Len(t, rend, len(d))
|
||||
}
|
||||
|
||||
func TestDocument_OperationsAsRefs(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user