[openstack-dev] [api] API Definition Formats
Chris Dent
chdent at redhat.com
Mon Feb 2 15:26:42 UTC 2015
On Thu, 29 Jan 2015, michael mccune wrote:
> in a similar vein, i started to work on marking up the sahara and barbican
> code bases to produce swagger. for sahara this was a little easier as flask
> makes it simple to query the paths. for barbican i started a pecan-swagger[1]
> project to aid in marking up the code. it's still in infancy but i have a few
> ideas.
pecan-swagger looks cool but presumably pecan has most of the info
you're putting in the decorators in itself already? So, given an
undecorated pecan app, would it be possible to provide it to a function
and have that function output all the paths?
--
Chris Dent tw:@anticdent freenode:cdent
https://tank.peermore.com/tanks/cdent
More information about the OpenStack-dev
mailing list