--
You received this message because you are subscribed to the Google Groups "haskell-servant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-serva...@googlegroups.com.
To post to this group, send email to haskell...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-servant/CAEyhvmq0JnAjtBmH5C58bHhr%3Dn6SbcAdtNxV%3D6dronr1doVn4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
server :: Server API server =swaggerSchemaUIServerswaggerDoc
swaggerDoc :: S.Swagger
swaggerDoc = toSwagger (Proxy :: Proxy WaziupAPI)
& S.info . S.title .~ "Waziup API"
& S.info . S.version .~ "v2.0.0"
& S.info . S.description ?~ "This is the API of Waziup"
& S.basePath ?~ "/api/v1"
& S.applyTagsFor fooOps ["Foo"]
where
fooOps :: Traversal' S.Swagger S.Operation
fooOps = subOperations (Proxy :: Proxy FooAPI) (Proxy :: Proxy API)
However, the body of the 400 error is not reported at all in the UI (see screenshot).

I get only the error code and the headers. How can I get the body as well?
Thanks
Corentin