-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
For example:
server.routes([
{
path: '/dogs',
methods: [
{
type: 'get',
code: 204,
data: [],
overrides: [
{
name: 'golden-retriever',
code: 200,
file: 'data/golden-retriever.json'
}
]
},
],
},
]);
While Applying the golden-retriever
override, when acessing /dogs
it will return:
{
code: 200,
response: []
}
It works fine when overriding a default data
with another data
override.
It also works as expected when overriding a default file
with both data
and file
overrides.
Metadata
Metadata
Assignees
Labels
No labels