```ruby
JsonSchemaRails::Engine.routes.draw do
  resources :schemas, only: :show, path: '', id: /[\/a-zA-Z0-9_-]+/, defaults: { format: 'json' }
end
```

Fix route to get schema for Rails 4.1.2
user
```ruby
JsonSchemaRails::Engine.routes.draw do
  get '*id(.:format)', to: 'schemas#show', as: :schema, id: /[\/a-zA-Z0-9_-]+/, defaults: { format: 'json' }
end
```
assistant