Sha256: b3f042af06cb9918118bf48d78dd97089e72e646eaf817e90f7455268c83c398

Contents?: true

Size: 790 Bytes

Versions: 2

Compression:

Stored size: 790 Bytes

Contents

= JSON Schema Builder

{<img src="https://secure.travis-ci.org/salesking/json_schema_builder.png?branch=master" alt="Build Status" />}[http://travis-ci.org/salesking/json_schema_builder]

Build a JSON schema for your ActiveRecord models. STOP your API pains!

The created schema.json files are meant as stubs and need to be enriched with
field descriptions and names. You might also want to remove or add object
properties, since the gem only uses the available ActiveRecord database fields.

== Usage

Hook the gem into your rails app and create the schema files.

  gem 'json_schema_builder'

  schema build

Your Models and their fields are written into JSON files which you can
pimp further.

== Test

  bundle install
  bundle exec rake spec


Copyright Georg Leciejewski, MIT License

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
json_schema_builder-0.0.3 README.rdoc
json_schema_builder-0.0.2 README.rdoc