I don't think so. If I understand correctly swagger automatically
generates documentation on a REST API.
Though that might well be useful, its not what I'm after.
I'm wanting to add additional pages - hand crafted ones, not
automagically generated.
Essentially I'm wanting to be able to serve up pages without setting up
a full blown web server.
Tim
On 23/01/2015 01:33, Anton Hughes wrote:
On Fri, Jan 23, 2015 at 6:58 AM, Tim Dudgeon <tdudgeon...@gmail.com> wrote:
I'm successfully using REST DSL to serve up some simple services and want
to include some simple HTML docs to describe and illustrate the services
provided and prefer to keep this as
simple as possible.
I just have a process started by a Main class that starts a camel context
with some routes exposed through the REST DSL. It seems to work fine with
restlet and jetty.
Now I want to include some HTML docs.
I suppose I could use the DSL to define a URL that returned some text that
was the HTML, but there must a be a better way such as defining a path
where restlet/jetty/whatever would look for html docs.
Hi Tim
It sounds like you want Swagger. See http://camel.apache.org/swagger.html
and http://swagger.io/.