Skip to content
This repository was archived by the owner on Jan 11, 2019. It is now read-only.

Commit ab0043b

Browse files
author
Ole Lensmar
committed
Merge pull request #4 from olensmar/version-2.1
Version 2.1
2 parents 1b122d4 + dc8a23e commit ab0043b

32 files changed

+3213
-826
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
## soapui-swagger-plugin
1+
# Ready! API Swagger Plugin
2+
3+
Provider the following swagger-related features in Ready! API:
4+
* Possibility to create projects, Virts and REST APIs from an existing swagger definition
5+
* Possibility to export a swagger definition for any REST API defined in Ready! API
6+
* Automatically generates a swagger 2.0 definition for REST Virts - available at <Virt endpoint>/api-docs.json
7+
* Supports both Swagger 1.X and 2.0 for imports and exports
8+
9+
Download and install via the Plugin Manager / Repository Browser from inside Ready! API. Older versions are available for SoapUI open-source as well (see below)
10+
11+
### Release History
12+
13+
* March 2015 - Version 2.1 - Bug-fix release which ties into the updated plugin system in Ready! API and adds dynamic swagger generation for REST Virts
14+
* September 2014 - Version 2.0 - Initial release for Ready! API with Swagger 2.0 support
15+
16+
Previous releases were on sourceforge (and are still available there)
217

318
* Version 2.0 (aligned with version 2.0 of Swagger) - now only available via the Plugin Repository from inside Ready! API and SoapUI Pro - adds Swagger 2.0 support
419
* Version 0.3.1 - Dependency update to latest swagger4j library - and some internal refactoring

pom.xml

Lines changed: 115 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<!-- Generated from archetype; please customize. -->
33

44
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
66

7-
<modelVersion>4.0.0</modelVersion>
7+
<modelVersion>4.0.0</modelVersion>
88

9-
<groupId>com.smartbear</groupId>
10-
<artifactId>soapui-swagger-plugin</artifactId>
11-
<version>0.3.1-plugin</version>
9+
<groupId>com.smartbear</groupId>
10+
<artifactId>soapui-swagger-plugin</artifactId>
11+
<version>2.1</version>
1212

1313
<repositories>
1414
<repository>
@@ -17,7 +17,7 @@
1717
</repository>
1818
</repositories>
1919

20-
<dependencies>
20+
<dependencies>
2121

2222
<dependency>
2323
<groupId>org.glassfish</groupId>
@@ -26,154 +26,115 @@
2626
</dependency>
2727

2828
<dependency>
29-
<groupId>com.smartbear</groupId>
29+
<groupId>javax.json</groupId>
30+
<artifactId>javax.json-api</artifactId>
31+
<version>1.0-b06</version>
32+
</dependency>
33+
34+
<dependency>
35+
<groupId>com.smartbear</groupId>
3036
<artifactId>swagger4j</artifactId>
31-
<version>1.0-beta4</version>
37+
<version>1.0-beta5</version>
38+
</dependency>
39+
40+
<dependency>
41+
<groupId>org.codehaus.gmaven.runtime</groupId>
42+
<artifactId>gmaven-runtime-1.8</artifactId>
43+
<version>1.5</version>
44+
</dependency>
45+
46+
<dependency>
47+
<groupId>junit</groupId>
48+
<artifactId>junit</artifactId>
49+
<version>3.8.1</version>
50+
<scope>test</scope>
3251
</dependency>
3352

34-
<dependency>
35-
<groupId>org.codehaus.gmaven.runtime</groupId>
36-
<artifactId>gmaven-runtime-1.8</artifactId>
37-
<version>1.5</version>
38-
</dependency>
3953

40-
<dependency>
41-
<groupId>junit</groupId>
42-
<artifactId>junit</artifactId>
43-
<version>3.8.1</version>
44-
<scope>test</scope>
45-
</dependency>
54+
<dependency>
55+
<groupId>com.smartbear</groupId>
56+
<artifactId>ready-api-soapui-pro</artifactId>
57+
<version>1.2.0</version>
58+
</dependency>
59+
60+
<dependency>
61+
<groupId>com.wordnik</groupId>
62+
<artifactId>swagger-models</artifactId>
63+
<version>${swagger-version}</version>
64+
</dependency>
4665

4766
<dependency>
48-
<groupId>com.smartbear.soapui</groupId>
49-
<artifactId>soapui</artifactId>
50-
<version>5.0.0</version>
67+
<groupId>com.wordnik</groupId>
68+
<artifactId>swagger-core</artifactId>
69+
<version>${swagger-version}</version>
5170
</dependency>
5271

53-
<dependency>
54-
<groupId>xmlbeans</groupId>
55-
<artifactId>xbean</artifactId>
56-
<version>fixed-2.4.0</version>
57-
</dependency>
58-
<dependency>
59-
<groupId>xmlbeans</groupId>
60-
<artifactId>xbean_xpath</artifactId>
61-
<version>2.4.0</version>
62-
</dependency>
63-
<dependency>
64-
<groupId>xmlbeans</groupId>
65-
<artifactId>xmlpublic</artifactId>
66-
<version>2.4.0</version>
67-
</dependency>
68-
<dependency>
69-
<groupId>xmlbeans</groupId>
70-
<artifactId>jsr173</artifactId>
71-
<version>xmlbeans-2.4.0</version>
72-
</dependency>
73-
<dependency>
74-
<groupId>log4j</groupId>
75-
<artifactId>log4j</artifactId>
76-
<version>1.2.14</version>
77-
</dependency>
78-
<dependency>
79-
<groupId>wsdl4j</groupId>
80-
<artifactId>wsdl4j</artifactId>
81-
<version>1.6.2-fixed</version>
82-
</dependency>
83-
<dependency>
84-
<groupId>fife</groupId>
85-
<artifactId>rsyntaxtextarea</artifactId>
86-
<version>1.3.4</version>
87-
</dependency>
88-
<dependency>
89-
<groupId>commons-cli</groupId>
90-
<artifactId>commons-cli</artifactId>
91-
<version>1.0</version>
92-
</dependency>
93-
<dependency>
94-
<groupId>org.apache.httpcomponents</groupId>
95-
<artifactId>httpclient</artifactId>
96-
<version>4.1.1</version>
97-
<type>jar</type>
98-
</dependency>
99-
<dependency>
100-
<groupId>org.apache.httpcomponents</groupId>
101-
<artifactId>httpmime</artifactId>
102-
<version>4.1.1</version>
103-
<type>jar</type>
104-
</dependency>
105-
<dependency>
106-
<groupId>org.apache.httpcomponents</groupId>
107-
<artifactId>httpclient-cache</artifactId>
108-
<version>4.1.1</version>
109-
<type>jar</type>
110-
</dependency>
111-
<dependency>
112-
<groupId>org.apache.httpcomponents</groupId>
113-
<artifactId>httpcore</artifactId>
114-
<version>4.1.1</version>
115-
<type>jar</type>
116-
</dependency>
117-
<dependency>
118-
<groupId>org.apache.httpcomponents</groupId>
119-
<artifactId>httpcore-nio</artifactId>
120-
<version>4.1.1</version>
121-
<type>jar</type>
122-
</dependency>
123-
<dependency>
124-
<groupId>xml-security</groupId>
125-
<artifactId>xmlsec</artifactId>
126-
<version>1.4.3</version>
127-
</dependency>
128-
<dependency>
129-
<groupId>xalan</groupId>
130-
<artifactId>xalan</artifactId>
131-
<version>2.7.1</version>
132-
</dependency>
133-
<dependency>
134-
<groupId>xerces</groupId>
135-
<artifactId>xercesImpl</artifactId>
136-
<version>2.9.1</version>
137-
</dependency>
138-
<dependency>
139-
<groupId>xalan</groupId>
140-
<artifactId>serializer</artifactId>
141-
<version>2.7.1</version>
142-
</dependency>
143-
<dependency>
144-
<groupId>bouncycastle</groupId>
145-
<artifactId>bcprov-jdk15</artifactId>
146-
<version>144</version>
147-
</dependency>
148-
</dependencies>
149-
150-
<build>
151-
152-
<resources>
153-
<resource>
154-
<directory>src/resources</directory>
155-
</resource>
156-
</resources>
157-
158-
<plugins>
159-
<plugin>
160-
<groupId>org.codehaus.gmaven</groupId>
161-
<artifactId>gmaven-plugin</artifactId>
162-
<version>1.5</version>
163-
<configuration>
164-
<providerSelection>1.8</providerSelection>
165-
</configuration>
166-
<executions>
167-
<execution>
168-
<goals>
169-
<goal>generateStubs</goal>
170-
<goal>compile</goal>
171-
<goal>generateTestStubs</goal>
172-
<goal>testCompile</goal>
173-
</goals>
174-
</execution>
175-
</executions>
176-
</plugin>
72+
<dependency>
73+
<groupId>com.wordnik</groupId>
74+
<artifactId>swagger-annotations</artifactId>
75+
<version>${swagger-version}</version>
76+
</dependency>
77+
78+
<dependency>
79+
<groupId>commons-lang</groupId>
80+
<artifactId>commons-lang</artifactId>
81+
<version>2.4</version>
82+
</dependency>
83+
84+
<dependency>
85+
<groupId>io.swagger</groupId>
86+
<artifactId>swagger-parser</artifactId>
87+
<version>1.0.0</version>
88+
</dependency>
89+
90+
<dependency>
91+
<groupId>com.fasterxml.jackson.core</groupId>
92+
<artifactId>jackson-annotations</artifactId>
93+
<version>${jackson-version}</version>
94+
<scope>compile</scope>
95+
</dependency>
96+
97+
<dependency>
98+
<groupId>com.fasterxml.jackson.datatype</groupId>
99+
<artifactId>jackson-datatype-joda</artifactId>
100+
<version>${jackson-version}</version>
101+
</dependency>
102+
103+
<dependency>
104+
<groupId>com.fasterxml.jackson.dataformat</groupId>
105+
<artifactId>jackson-dataformat-yaml</artifactId>
106+
<version>${jackson-version}</version>
107+
</dependency>
108+
109+
</dependencies>
110+
111+
<build>
112+
113+
<resources>
114+
<resource>
115+
<directory>src/resources</directory>
116+
</resource>
117+
</resources>
118+
119+
<plugins>
120+
<plugin>
121+
<groupId>org.codehaus.gmaven</groupId>
122+
<artifactId>gmaven-plugin</artifactId>
123+
<version>1.5</version>
124+
<configuration>
125+
<providerSelection>1.8</providerSelection>
126+
</configuration>
127+
<executions>
128+
<execution>
129+
<goals>
130+
<goal>generateStubs</goal>
131+
<goal>compile</goal>
132+
<goal>generateTestStubs</goal>
133+
<goal>testCompile</goal>
134+
</goals>
135+
</execution>
136+
</executions>
137+
</plugin>
177138

178139
<plugin>
179140
<artifactId>maven-assembly-plugin</artifactId>
@@ -185,8 +146,13 @@
185146
</configuration>
186147
</plugin>
187148

188-
</plugins>
149+
</plugins>
150+
151+
</build>
152+
<name>SoapUI Swagger plugin</name>
189153

190-
</build>
191-
<name>SoapUI Swagger plugin</name>
154+
<properties>
155+
<jackson-version>2.4.2</jackson-version>
156+
<swagger-version>1.5.1-M1</swagger-version>
157+
</properties>
192158
</project>

src/assembly/dist-assembly.xml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
11
<assembly>
22
<id>dist</id>
33
<formats>
4-
<format>zip</format>
4+
<format>jar</format>
55
</formats>
66
<includeBaseDirectory>false</includeBaseDirectory>
77
<dependencySets>
88
<dependencySet>
99
<unpack>false</unpack>
10-
<outputDirectory>/ext</outputDirectory>
10+
<outputDirectory>/lib</outputDirectory>
1111
<includes>
1212
<include>com.smartbear:swagger4j</include>
1313
<include>org.glassfish:javax.json</include>
14+
<include>javax.json:javax.json-api</include>
15+
<include>commons-lang:commons-lang</include>
16+
<include>io.swagger:swagger-parser</include>
17+
<include>com.wordnik:swagger-models</include>
18+
<include>com.wordnik:swagger-core</include>
19+
<include>com.wordnik:swagger-annotations</include>
20+
<include>com.fasterxml.jackson.core:jackson-annotations</include>
21+
<include>com.fasterxml.jackson.core:jackson-core</include>
22+
<include>com.fasterxml.jackson.core:jackson-databind</include>
23+
<include>com.fasterxml.jackson.datatype:jackson-datatype-joda</include>
24+
<include>com.fasterxml.jackson.dataformat:jackson-dataformat-yaml</include>
1425
</includes>
1526
</dependencySet>
1627
<dependencySet>
17-
<unpack>false</unpack>
18-
<outputDirectory>/plugins</outputDirectory>
28+
<unpack>true</unpack>
29+
<outputDirectory>/</outputDirectory>
1930
<includes>
2031
<include>com.smartbear:soapui-swagger-plugin</include>
2132
</includes>
@@ -24,14 +35,14 @@
2435
<fileSets>
2536
<fileSet>
2637
<directory>${project.basedir}</directory>
27-
<outputDirectory>/</outputDirectory>
38+
<outputDirectory>/META-INF</outputDirectory>
2839
<includes>
2940
<include>LICENSE*</include>
3041
</includes>
3142
</fileSet>
3243
<fileSet>
3344
<directory>${project.basedir}/src/assembly</directory>
34-
<outputDirectory>/</outputDirectory>
45+
<outputDirectory>/META-INF</outputDirectory>
3546
<includes>
3647
<include>readme.txt</include>
3748
</includes>

0 commit comments

Comments
 (0)