This repository was archived by the owner on Sep 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 584
mock mode does not work due to doc error #342
Comments
Why does mock mode require IMO ideally mock mode would not mock routes with both This would allow me to incrementally design my API, with real code, without having to restart Swagger Node all the time based on whether I'm implementing an API or designing a new one. |
I think it is a document bug.
|
Merged
harish-ramesh
pushed a commit
to harish-ramesh/swagger-node
that referenced
this issue
Mar 11, 2019
The given example doesn't actually work, as discussed in swagger-api#342
harish-ramesh
pushed a commit
to harish-ramesh/swagger-node
that referenced
this issue
Apr 3, 2019
The given example doesn't actually work, as discussed in swagger-api#342
harish-ramesh
pushed a commit
to harish-ramesh/swagger-node
that referenced
this issue
Apr 8, 2019
The given example doesn't actually work, as discussed in swagger-api#342
harish-ramesh
pushed a commit
to harish-ramesh/swagger-node
that referenced
this issue
Apr 8, 2019
The given example doesn't actually work, as discussed in swagger-api#342
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've tried the mock-mode follwoing the docs. I try to access the web app like so
I expected
{ "message": "Sample text" }
The swagger debug output looks like
Is it currently broken or am I missing a setup step?
-- EDIT
Ok, so I'm missing
x-swagger-router-controller: weather
. For me, that's a documentation bug.-- EDIT
Should be closed
The text was updated successfully, but these errors were encountered: