GitHub - singerbj/SinatraApiGenerator: A ruby script that generates Sinatra Rest API's from a JSON spec.

· GitHub

1 min read Original article ↗

Repository files navigation

A ruby script that generates Sinatra Rest API's from a JSON spec.

Prerequisites: Ruby

Try running:

ruby generate.rb example.json

and look at the NEW_server.rb and NEW_Gemfile files it outputs.

The server should be functional, and useful for prototyping. You can then expand upon it with validation and functionality if needed!

About

A ruby script that generates Sinatra Rest API's from a JSON spec.

Resources

Readme

Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks

Releases

Packages

Contributors

Languages