reitit

flowthing 2024-04-09T06:45:59.340979Z

Is there a way to have default values with Plumatic schema coercion? I need something like :countryCode (with-default-value schema/Str "fi"), but I can' t figure out whether that's supported. Specifically, I need them to show up in Swagger UI.

ikitommi 2024-04-12T10:16:32.672439Z

I think there is, please check the schema-tools Changelog: https://github.com/metosin/schema-tools/blob/master/CHANGES.md