Swagger Ant Task

An ant task that will generate Swagger JSON files and a single-html documentation file from a Java project containing Swagger annotatted files.

License

License

Categories

Categories

Ant Build Tools Swagger Program Interface REST Frameworks
GroupId

GroupId

com.github.cstroe
ArtifactId

ArtifactId

swagger-ant-task
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

Swagger Ant Task
An ant task that will generate Swagger JSON files and a single-html documentation file from a Java project containing Swagger annotatted files.
Project URL

Project URL

https://github.com/cstroe/swagger-ant-task
Source Code Management

Source Code Management

https://github.com/cstroe/swagger-ant-task.git

Download swagger-ant-task

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.cstroe/swagger-ant-task/ -->
<dependency>
    <groupId>com.github.cstroe</groupId>
    <artifactId>swagger-ant-task</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.cstroe/swagger-ant-task/
implementation 'com.github.cstroe:swagger-ant-task:0.0.1'
// https://jarcasting.com/artifacts/com.github.cstroe/swagger-ant-task/
implementation ("com.github.cstroe:swagger-ant-task:0.0.1")
'com.github.cstroe:swagger-ant-task:jar:0.0.1'
<dependency org="com.github.cstroe" name="swagger-ant-task" rev="0.0.1">
  <artifact name="swagger-ant-task" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.cstroe', module='swagger-ant-task', version='0.0.1')
)
libraryDependencies += "com.github.cstroe" % "swagger-ant-task" % "0.0.1"
[com.github.cstroe/swagger-ant-task "0.0.1"]

Dependencies

compile (5)

Group / Artifact Type Version
com.github.kongchen : swagger-maven-plugin jar 2.3.1
com.wordnik : swagger-annotations jar 1.3.10
org.reflections : reflections jar 0.9.9
commons-beanutils : commons-beanutils jar 1.9.2
org.apache.ant : ant jar 1.9.4

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
org.apache.ant : ant-testutil jar 1.9.4

Project Modules

There are no modules declared in this project.

swagger-ant-task

An ant task that generates swagger JSON spec files and html documentation from Java code. This ant task is a wrapper for swagger-maven-plugin and uses the same XML syntax, therefore you can just cut and paste your XML from the maven pom to the ant build.xml.

See a sample build xml.

Versions

Version
0.0.1