mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 04:20:14 +00:00
Starting work on oAuth Flows.
This commit is contained in:
@@ -214,4 +214,10 @@ func TestCreateDocument_Paths(t *testing.T) {
|
||||
assert.Len(t, links.Value, 2)
|
||||
assert.Equal(t, "locateBurger", okCode.Value.FindLink("LocateBurger").Value.OperationId.Value)
|
||||
|
||||
locateBurger := okCode.Value.FindLink("LocateBurger").Value
|
||||
|
||||
burgerIdParam := locateBurger.FindParameter("burgerId")
|
||||
assert.NotNil(t, burgerIdParam)
|
||||
assert.Equal(t, "$response.body#/id", burgerIdParam.Value)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user