Skip to content

Commit

Permalink
Shortening the swagger description. Moving the mustache to other repo…
Browse files Browse the repository at this point in the history
… to make it DRY.
  • Loading branch information
jkremser committed Mar 26, 2015
1 parent e5a304f commit d8a3558
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 86 deletions.
2 changes: 1 addition & 1 deletion hawkular-alerts-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
<locations>org.hawkular.alerts.rest</locations>
<apiVersion>1.0</apiVersion>
<basePath>http://localhost:8080/hawkular/alerts</basePath>
<outputTemplate>${basedir}/src/main/resources/rest-doc/asciidoc.mustache</outputTemplate>
<outputTemplate>https://raw.githubusercontent.com/hawkular/hawkular.github.io/swagger/asciidoc.mustache</outputTemplate>
<swaggerDirectory>${project.build.directory}/generated/swagger-ui</swaggerDirectory>
<swaggerInternalFilter>org.hawkular.alerts.rest.swagger.filter.JaxRsFilter</swaggerInternalFilter>
<swaggerApiReader>com.wordnik.swagger.jaxrs.reader.DefaultJaxrsApiReader</swaggerApiReader>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
*/
@Path("/plugins")
@Api(value = "/plugins",
description = "Query operations for action plugins.")
description = "Query operations for action plugins")
public class ActionPluginHandler {
private final Logger log = Logger.getLogger(ActionPluginHandler.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
*/
@Path("/triggers")
@Api(value = "/triggers",
description = "Create/Read/Update/Delete operations for Triggers definitions")
description = "CRUD operations for Trigger defs")
public class TriggersHandler {
private static final Logger log = Logger.getLogger(TriggersHandler.class);

Expand Down
83 changes: 0 additions & 83 deletions hawkular-alerts-rest/src/main/resources/rest-doc/asciidoc.mustache

This file was deleted.

0 comments on commit d8a3558

Please sign in to comment.