Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto generate RAML documentation #163

Open
timothycrosley opened this issue Feb 2, 2016 · 5 comments
Open

auto generate RAML documentation #163

timothycrosley opened this issue Feb 2, 2016 · 5 comments
Milestone

Comments

@timothycrosley
Copy link
Collaborator

It would be useful if hug could optionally auto generate RAML style documentation, in addition to it's default json documentation format. For more information on the spec see: http://raml.org/

@mvillis
Copy link

mvillis commented Feb 19, 2016

equally, auto generation of a swagger (openapi) spec would be useful.

@wing328
Copy link

wing328 commented Feb 20, 2016

@mvillis I opened #198 for tracking.

@jacobsvante
Copy link

RAML is awesome. Could make for a killer combo 😀

@vltr
Copy link

vltr commented Jun 13, 2017

Sorry if this isn't the right place (or time) to share my comment, but finding myself in a middle of a research for what (technologies) to use in a new project, it's getting harder and harder to select any that seeks to be "peaceful" around formats. Let me be more specific, or at least you'll try to.
I came across hug by a reference in the marshmallow wiki - great project by the way! It's interesting to me any auto-generated documents, but like as many other developers I was searching for some standard spec that could be "simply added" to my project so third parties could test and explore the API for future integrations - being the OpenAPI spec one of personal interest. Of course, there are tons of API formats and specs (like JSON API or RAML - that I came to know in this very issue), not to mention serialization / normalization techniques and formats which can drive someone (like me) crazy when thinking overalls - web, mobile, custom clients ... And so on. My comment may sound more like a philosophical question rather then about specs itself, but instead of embracing all these specs in a milestone (I've seen only two in hug issues so far), wouldn't it be better to provide a common way (read as lots and lots of more info, yet if possible) in your existing documentation system to provide extensions, either to generate "anything" (like the yaml one) or single pieces (read docs, specs, inputs, outputs, etc), implemented or to be implemented by you (the lead project developer) or anyone in the community? I'll leave my question as this for now, since it already broads a wide range of topics and could be quite bigger ... 😰 Please, let me know if anything pops up from here - I'll be glad to help! 😉

@horvathcom
Copy link

horvathcom commented Jun 13, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants