derekdowling / jsh-api

Golang JSON Specification API Inspired By JSH
MIT License
15 stars 3 forks source link

API Auto Documentation #1

Open derekdowling opened 8 years ago

derekdowling commented 8 years ago

See if http://goswagger.io/ and https://github.com/asaskevich/govalidator can be leveraged together to build API documentation that automatically specifies resource routes and data types.

derekdowling commented 8 years ago

Probably not going to be a 1.0 feature, but important to keep in mind. As of now, both the API and Resource types support: .RouteTree() which print a very simple version of this which useful tooling could be built around.