This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-27
Channels
- # arachne (1)
- # beginners (31)
- # boot (84)
- # cider (9)
- # clara (2)
- # cljs-dev (102)
- # cljsrn (20)
- # clojure (254)
- # clojure-belgium (1)
- # clojure-dusseldorf (17)
- # clojure-greece (7)
- # clojure-italy (6)
- # clojure-russia (2)
- # clojure-spec (8)
- # clojure-uk (9)
- # clojurescript (93)
- # component (4)
- # copenhagen-clojurians (1)
- # cursive (24)
- # datomic (22)
- # editors (1)
- # emacs (8)
- # garden (2)
- # hoplon (357)
- # lein-figwheel (1)
- # leiningen (4)
- # luminus (27)
- # mount (13)
- # off-topic (7)
- # om (71)
- # onyx (35)
- # planck (3)
- # re-frame (53)
- # reagent (35)
- # ring-swagger (24)
- # specter (10)
- # sql (6)
- # untangled (47)
- # vim (157)
Can I use compojure-api to create a GET route, which returns a image file?
@danielgrosse you can just return a (
@elahti And how Do I change the resource type and check the scheme?
I pushed out ring-swagger 0.22.11 https://github.com/metosin/ring-swagger/blob/master/CHANGELOG.md#02211-2792016. Just a small fix so that the validator does not try to download swagger.json from the Internet.
I have a problem with $ref
s resolving in a swagger spec with: https://github.com/metosin/scjsv
Has anyone managed to get this to work?
I've seen this PR: https://github.com/metosin/scjsv/pull/3/files
miikka: does the PR work?
or rather does it resolve the issue of swagger $ref's not resolving
Well, the motivation was to avoid downloading swagger.json in ring-swagger from the Internet and I fixed it here: https://github.com/metosin/ring-swagger/pull/112
I'm not entirely sure on the resolution strategies for json schema
and well, the code does work, but i don't know what's your specific problem with $refs is, so I'm not sure if it will solve it
ok thanks 🙂
sorry to keep you
My problem is ⬆️ generates ⬇️ error:
It works with the swagger-cli validator
oh actually I called it wrong
ok schema error was actually elsewhere and pretty minor
I still have the same issue
@abarylko https://github.com/metosin/compojure-api/wiki/Swagger-integration could be the right place