Comments (3)
Thanks for spotting this. Definitely one to fix.
On 8 June 2015 at 03:10, Frozenlock [email protected] wrote:
A path with ->TaggedMatch will not behave like vanilla bidi if
'swaggerized'.path-for will stop working AND the resource will disappear from the
swagger UI.—
Reply to this email directly or view it on GitHub
#13.
from yada.
A little update.
I tried the hello demo from the manual with yada version 1.0.0-20150903.093751-9
.
Using this in combination with path-for
works :
["/hello" (-> hello (bidi/tag :hello))]
;; ....
(path-for api :hello)
;=> "/hello-api/hello"
This is great!
However, it seems Swagger still doesn't work. I'm getting this error when trying to access the swagger.json file :
500: Unknown
No implementation of method: :request of protocol: #'yada.methods/Method found for class: nil
#error {
:cause "No implementation of method: :request of protocol: #'yada.methods/Method found for class: nil"
:via
[{:type java.lang.IllegalArgumentException
:message "No implementation of method: :request of protocol: #'yada.methods/Method found for class: nil"
:at [clojure.core$_cache_protocol_fn invoke "core_deftype.clj" 554]}]
:trace
[[clojure.core$_cache_protocol_fn invoke "core_deftype.clj" 554]
[yada.methods$eval35400$fn__35423$G__35391__35430 invoke "methods.clj" 34]
[yada.core$invoke_method invoke "core.clj" 341]
[yada.core$wrap_journaling$fn__36264$fn__36265 invoke "core.clj" 452]
[manifold.deferred$eval19076$chain___19097 invoke "deferred.clj" 840]
[manifold.deferred$eval19076$chain___19097 invoke "deferred.clj" 862]
[manifold.deferred$eval19076$chain___19097 doInvoke "deferred.clj" 884]
[clojure.lang.RestFn applyTo "RestFn.java" 151]
[clojure.core$apply invoke "core.clj" 634]
[manifold.deferred$eval19076$chain___19097$fn__19099 invoke "deferred.clj" 890]
[manifold.deferred.Listener onSuccess "deferred.clj" 219]
[manifold.deferred.Deferred$fn__18874 invoke "deferred.clj" 379]
[clojure.lang.AFn run "AFn.java" 22]
[io.aleph.dirigiste.Executor$Worker$1 run "Executor.java" 62]
[manifold.executor$thread_factory$reify__18363$f__18364 invoke "executor.clj" 36]
[clojure.lang.AFn run "AFn.java" 22]
[java.lang.Thread run "Thread.java" 745]]}
yada
from yada.
Just tested and it appears to work now.
from yada.
Related Issues (20)
- Authentication schemes cannot be configured per request method HOT 3
- Request Body not present in ctx in case plumatic schema validation failure, defined in resource. HOT 2
- Yada manual edge example out of date HOT 3
- More reflection warnings HOT 1
- Incorrect multipart header processing
- Unable to access content-type in authorization
- Multipart throws "Malformed boundary" error when sent an empty submission
- is CI broken? HOT 1
- yada.swagger-parameters & yada.parameters are almost the same code. HOT 1
- :x-frame-options DENY is not a valid value
- Assumes clj-time will come in through ring-core (aka incompatible with ring-core 1.8.1)
- Plans for PATCH support
- Impossible to pretty-print response bodies by using `pretty=true` media type parameter
- Is it possible to determine if a path/href string is part of my system? HOT 1
- Yada may give out of memory exception (java.lang.OutOfMemoryError, OOM) when put under load
- Unsetting cookies: expires vs max-age
- `content-length` is incorrectly set to 0 when responding with HTTP 304 to GET requests
- Cannot use aleph 0.5.0 with yada HOT 6
- Test failure on master
- 404 for docs link
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yada.