Domanda

We all know that apiary rocks (or not.. I think it does), and I was wondering what would it take to take it a step further allow users to export a JSON description of the API? (So developers can script client code generation)

This should help: http://ttezel.github.io/blog/2013/02/23/stop-writing-rest-api-clients/

È stato utile?

Soluzione

There are two directions you can explore:

  • you can use Alpaca to generate client SDKs. Alpaca accepts API Blueprint as one of it's input formats

  • for more flexibility, you can use Snowcrash to parse API Blueprint into JSON - and roll your own code generator.

There are more tools around API Blueprint available at http://apiblueprint.org/

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top