warelab / gramene-search-client

Javascript client for searching Gramene's API
MIT License
0 stars 1 forks source link

Create Flow types from Swagger Schema #40

Open mycrobe opened 8 years ago

mycrobe commented 8 years ago

We have a nice Schema Document. We should use to generate Flow types so that we can have compile-time warnings when the schema changes under a client's feet.

mycrobe commented 8 years ago

Here is an out-of-date module that generates flow types from a swagger 1.2 document.

mycrobe commented 8 years ago

Here is a fork of that code that has been modified to work with swagger 2.

mycrobe commented 8 years ago

Unfortunately, that fork has issues that will need to be fixed:

mycrobe commented 8 years ago

Here is my fork of the project, where I'm addressing those things.

mycrobe commented 8 years ago

Hold the phone; swagger-js-codegen is in active development.