Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

muuntaja instance blocking swagger from showing response on gui #1

Open
geraldodev opened this issue Mar 1, 2022 · 0 comments
Open

Comments

@geraldodev
Copy link

Hi,
Thank you for this project, I'm using to make a boilerplate of my own.
I've stumbled on swagger response not being shown on gui. I've got to the point of correcting the issue, but I don't know why is happening.

           :muuntaja m/instance
           #_(m/create
                      (assoc-in m/default-options
                                [:formats "application/json" :opts]
                                {:mapper (-> (j/object-mapper {:decode-key-fn true})
                                             (.setSerializationInclusion JsonInclude$Include/NON_EMPTY))})) ;; strip away empty stuff!

I've changed the reitit's muuntaja instance to the default one instead the one you crafted. That was enough to see the responses on swagger UI. If you know the reason, I'd like to know too.

Regards from Brasil,

geraldo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant