Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/inecas/apipie-params

DSL for describing data structures with json-schema bindings
https://github.com/inecas/apipie-params

Last synced: 20 days ago
JSON representation

DSL for describing data structures with json-schema bindings

Awesome Lists containing this project

README

        

Apipie Params
=============

DSL for Hash/JSON descriptions. Describe format of hashes using Ruby
code, generate a json-schema for it and validate values against it.

It's based on the DSL of apipie-rails. See
[its documentation](https://github.com/Pajk/apipie-rails#parameter-description)
for more details. It basically lets you use the param descriptions
outside of Rails controllers.

In this phase, the validation itself is an experimental feature. You
need to install `json-schema` gem explicitly.

License
-------

MIT

Author
------

Ivan Nečas