mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 12:37:49 +00:00
components are in,
this should actually be the full model, the whole graph is in - now to optimize full model and check for circular deps. then, it's time to move back in history and rebuild the swagger model.
This commit is contained in:
@@ -127,7 +127,7 @@ func TestNewDocument_Components(t *testing.T) {
|
||||
assert.Equal(t, "locateBurger", h.Components.Links["LocateBurger"].OperationId)
|
||||
assert.Equal(t, "$response.body#/id", h.Components.Links["LocateBurger"].Parameters["burgerId"])
|
||||
assert.Len(t, h.Components.Callbacks, 1)
|
||||
//assert.Equal(t, "Callback payload",
|
||||
// h.Components.Callbacks["BurgerCallback"].Expression["{$request.query.queryUrl}"].Post.RequestBody.Description)
|
||||
assert.Equal(t, "Callback payload",
|
||||
h.Components.Callbacks["BurgerCallback"].Expression["{$request.query.queryUrl}"].Post.RequestBody.Description)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user