Skip to content
 
 

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<img src=“https://secure.travis-ci.org/salesking/json_schema_builder.png?branch=master” alt=“Build Status” />

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.

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

gem 'json_schema_builder'

rake schema:build

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

bundle install
bundle exec rake spec

Copyright Georg Leciejewski, MIT License

About

Build JSON Schema for ActiveRecord models

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages