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

2 min read Original article ↗

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

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

2 stars 0 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

Repository files navigation

SinatraApiGenerator

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

No releases published

Packages

No packages published

Languages