Fork me on GitHub
#ring-swagger
<
2017-07-17
>
bja16:07:50

@serg it looks like your definition for Tag includes {:name ...} and you aren't returning a name key

serg17:07:01

@bja no, schemas are correct:

(s/defschema Collection
             {:id s/Int
              :name s/Str
              })

(s/defschema Tag
  {:id s/Int
   :tag s/Str
   })

serg17:07:22

As I said before it just doing :return schema validation of 1st route definition on all subsequent routes in the same context

serg17:07:10

I can overcome this only by putting :storeid/collections and :storeId/tags as separate contexts

serg17:07:42

But I think that is wrong