[ 
https://issues.apache.org/jira/browse/CASSANDRASC-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094905#comment-17094905
 ] 

Dinesh Joshi commented on CASSANDRASC-22:
-----------------------------------------

ok, to clarify the confusion. Earlier we had docs that were generated from a 
static swagger API definition YAML. On introducing JAX-RS and RESTEasy, I got 
rid of the statically generated swagger definition. Now the definition is 
generated on the fly at runtime and is based on the route annotations and 
return types of the handlers. I also added Swagger UI to browse the routes and 
play around with them. This is available at 
{{http://localhost:9043/docs/index.html}} when you start up the sidecar. The 
HTML, CSS and other static web assets that were checked in are now removed and 
are directly served from the webjar for swagger-ui. The only checked in asset 
we need is the \{{index.html}} which has some customizations. I hope this 
clears things up.

> RESTEasy integration for Cassandra Sidecar
> ------------------------------------------
>
>                 Key: CASSANDRASC-22
>                 URL: https://issues.apache.org/jira/browse/CASSANDRASC-22
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Improvement
>          Components: Rest API
>            Reporter: Dinesh Joshi
>            Assignee: Dinesh Joshi
>            Priority: Normal
>         Attachments: image-2020-04-27-22-59-40-060.png
>
>
> Add support for JAX-RS based routing via RESTEasy to Cassandra Sidecar. This 
> also dynamically generates swagger documentation and adds the swagger UI.
> [Branch|https://github.com/dineshjoshi/cassandra-sidecar/tree/resteasy-swagger]
> [Tests|https://circleci.com/workflow-run/a7888146-a22d-45af-983a-8833b77eef59]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to