reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
plins 2020-05-01T14:55:46.274300Z

is there a way of not throwing errors in case the response dont match the spec in the :body clause? for me a log message would be enough, If dont for an endpoint to fail because I didnt anticipated some key

plins 2020-05-01T15:03:09.274400Z

it would be nice to have a way to set the preferred behaviour, in development I think this feature is cool but I dont want to be that strict in production

byrongibby 2020-05-01T16:45:17.279600Z

Hi. I wonder if anyone can help me. I have the following route /sdmxapi/rest/data/{flow-ref}/{key}/{provider-ref} , but the following request URL http://localhost:3030/sdmxapi/rest/data/SARB.ERD%2CTEST%2C1.0/./SARB.ERD%2CTEST returns 404 not found . This is due to {key}=. , this is also the case for {key}=.. , but not for {key}=... . Three or more periods work just fine. Anybody know why this is?

byrongibby 2020-05-01T17:37:50.280400Z

I think it may have to do with the single dot referring to the "current" directory and the double dot referring to the parent directory.