Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/klardotsh/grape-versioned-boilerplate
Primitive boilerplate for a versioned Grape API, documented with Swagger.
https://github.com/klardotsh/grape-versioned-boilerplate
Last synced: 26 days ago
JSON representation
Primitive boilerplate for a versioned Grape API, documented with Swagger.
- Host: GitHub
- URL: https://github.com/klardotsh/grape-versioned-boilerplate
- Owner: klardotsh
- License: unlicense
- Created: 2014-04-01T05:43:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-01T06:02:41.000Z (over 10 years ago)
- Last Synced: 2023-08-02T13:22:57.676Z (over 1 year ago)
- Language: Ruby
- Size: 141 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
grape-versioned-boilerplate
===========================Primitive boilerplate for a versioned Grape API, documented with Swagger.
Created as an aggregate of way too many hours of experimentation, trying to get
a versioned API that would document properly with Swagger, as header-based
versioning does not work with grape-swagger (as far as I could tell).V1 inherits all V0 functions. I have yet to figure out an equivalent to Grape's
built-in `:strict => true` construct, so as far as I can tell, your functions
are *going* to be inherited up the chain for the time being. I'll figure out a
way around that eventually.Usage
------ `git clone https://github.com/iv597/grape-versioned-boilerplate.git`
- `cd grape-versioned-boilerplate`
- `bundle`
- `rackup`
License
-------[Do whatever, man.](http://unlicense.org/)