-
-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
applying multiple specs to middleware
does not seem to be supported. only the very first applied spec is working.
I found this issue, but it applied to a previous version of this project, and indicated it should have been fixed:
#281
To Reproduce
[spec1, spec2].forEach((spec) =>
app.use(
middleware({
spec,
operationHandlers: {
...
},
}),
)
)
Actual behavior
only first (spec1) spec is known and maps operation handlers.
Expected behavior
both specs should map operation handlers.
Examples and context
ttarnowski
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working