oliyh / martian

The HTTP abstraction library for Clojure/script, supporting OpenAPI, Swagger, Schema, re-frame and more
MIT License
526 stars 45 forks source link

[Bug] object's additionalProperties is not working #72

Closed RafaeLeal closed 4 years ago

RafaeLeal commented 4 years ago

It's creating a schema with {(s/optional-key s/Any) s/Any} but that's not the correct use of s/optional-key (it receives a value, not a schema)

I'm going to open a PR with the fix :)

oliyh commented 4 years ago

Closed in #76