I’m looking to building a module that reads the meta data of a handlers function to produce some documentation. I was wondering if anyone can point me in the direction of somewhere this might be used within the coldbox framework in order to get some ideas.
I found this article by Dan Vega which provided some useful information:
Here is the function and annotations:
@description I am the component description
@hint I do something
Anyone have any ideas on this one?
can you provide me with an example? I don’t understand.
I haven’t been able to get this to work. Would you be able to provide me an example or is there someplace in the framework that uses this fix?
That’s really weird. It still doesn’t work for me.
I still get…
HTTPMETHOD GET * @description I am the component description * @hint I do something
What version of CF are you running? and What OS?
Can anyone else get this to work on ACF 9.0.1 on OSX?
How do you get each of the annotations to be its own struct element?
With the code I sent you.
Are you sure, you don’t have empty whitespaces
Luis F. Majano
Ortus Solutions, Corp
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
IECFUG Manager: http://www.iecfug.com
Social: twitter.com/lmajano facebook.com/lmajano
yep, no whitespace. i copied and pasted your code exactly.
do you get struct elements for httpMethod, description, and hint? or do you just get httpMethod?
wtf? what version of CF are you using?
this doesn’t make any sense.
also, i’m now testing this on 3.5, instead of 3.1.
Back to your original question, have you looked at http://colddoc.riaforge.org/ to see how it works?
Thanks Brad! I haven’t looked at ColdDoc yet.