You might want to have a look at
https://github.com/amol-/sphinxcontrib.jsoncall

It actually automatically generates documentation for REST api implemented
in TG.
It is not perfect, but we used it a bunch of times and has code to extract
all the exposed json methods in a TurboGears project.

On Wed, Oct 22, 2014 at 10:37 AM, Petru Ciobanu <[email protected]>
wrote:

> this could be something useful to do an overview on exported methods and
> security polices applied to them. I think this can be archived when
> generating application docs, but I don't know how to do it more precisely
> ... I'm definitely interested in a solution for this question.
>
> On 22 October 2014 10:06, lebouquetin <[email protected]> wrote:
>
>> Hi all,
>>
>> I'd like to get a list of all exposed methods and ideally their path and
>> requirement access.
>>
>> My questions are :
>>
>>    - Is there a way to list routes and associated methods  ; something
>>    that would return result similar to *php app**/console router:**debug*
>>    on symfony2
>>    - Is there a way to check that all exposed methods have also a
>>    require() decorator
>>
>> Thanks,
>>
>> Damien
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "TurboGears" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/turbogears.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/turbogears.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to