Fork me on GitHub
#ring-swagger
<
2017-10-06
>
mgrbyte11:10:50

@ikitommi Wondering if s/map-of is supported with spec-tools 0.4.0-SNAPSHOT + compojure-api 2.0.0-alpha7? (still getting a class-cast exception when using spec coercion) ?

ikitommi14:10:36

@mgrbyte I think we need to provide a 100% test suite for all of the specs to make sure everything works. Could you write an issue with a failing spec?

mgrbyte14:10:54

Sure, will do

mgrbyte14:10:39

Not which is the right repo for this (compojure-api, ring-swagger, spec-tools) Imagine the last?

ikitommi14:10:37

spec-tools sounds right.

mgrbyte14:10:32

hmm, should mention that this exception only happens when attempting to render the swagger UI

mgrbyte09:10:37

@ikitommi will you be at conj? I'm flying out tomorrow... if you are I'll buy you 🍻 , thanks for your ultra-quick responses and help πŸ™‚

ikitommi11:10:40

@mgrbyte Would have liked to come, but sadly too busy. Will miss SYNC too, on vacation then. Hopefully there will be another time for the 🍻 πŸ™‚

mgrbyte11:10:18

πŸ‘ πŸ™‚ thx again!

eoliphant17:10:52

Hi I have an API endpoint (on 1.1.11) where I’m sending in a couple top level vars, one is a string the other is an object/map. Not sure how to grab the map β€˜as is’

:body-params [{mapvar :- >>NOT SURE WHAT GOES HERE<< {}}, stringvar :- String]

ikitommi18:10:03

@eoliphant s/Any stands for Anything, {s/Any s/Any} would Map with any keys & values.

eoliphant18:10:24

awesome thanks