Sha256: a57bb76323819916739b31a192e9bf4cf0d1a290970ef9fac53f7f952d76b5a2

Contents?: true

Size: 450 Bytes

Versions: 6

Compression:

Stored size: 450 Bytes

Contents

Description:
  Generates a new JSON Schema file for signle action.

  See http://json-schema.org/ for JSON Schema syntax.

Example:

  rails generate schema:action posts::create title body:required published:boolean:required

  This will create:
    app/schemas/posts/create.yml
      (with title, body and published properties)

  Valid types are:
    - array
    - boolean
    - integer
    - number
    - null
    - object
    - string (default)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
json_schema_rails-0.2.1 lib/generators/schema/action/USAGE
json_schema_rails-0.2.0 lib/generators/schema/action/USAGE
json_schema_rails-0.1.0 lib/generators/schema/action/USAGE
json_schema_rails-0.0.3 lib/generators/schema/action/USAGE
json_schema_rails-0.0.2 lib/generators/schema/action/USAGE
json_schema_rails-0.0.1 lib/generators/schema/action/USAGE