File tree Expand file tree Collapse file tree
com.wordnik.swagger.annotations_1.5
com.wordnik.swagger.core_1.5
com.wordnik.swagger.models_1.5
org.simpleframework.xml_2.7
modules/org.restlet.test/src/org/restlet/test/ext/apispark/conversion/swagger/v2_0 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ Changes log
3333 - Allowed to turn off header cleaning in Redirector for server-side
3434 redirects. Issue #799.
3535 Suggested by Tal Liron.
36+ - Upgraded swagger-models library to 1.5.3-M1.
3637
3738- 2.3.1 (02/03/2015)
3839 - Bugs fixed
Original file line number Diff line number Diff line change 22 <name >Swagger</name >
33 <description >Swagger document your API with style. Swagger spec compatibility: 2.0</description >
44 <version >1.5</version >
5+ <release >3-M1</release >
56 <homeUri >https://helloreverb.com/developers/swagger</homeUri >
67 <downloadUri >https://github.com/wordnik/swagger-core/wiki/Downloads
78 </downloadUri >
1112 <maven >
1213 <groupId >com.wordnik</groupId >
1314 <artifactId >swagger-annotations</artifactId >
14- <version >1.5.0-SNAPSHOT</version >
1515 </maven >
1616 </package >
1717 <dependency type =" library" id =" scala" />
1818 <distributions >
19- <distribution id =" maven" />
2019 <distribution id =" classic" />
2120 </distributions >
2221</library >
Original file line number Diff line number Diff line change 22 <name >Swagger</name >
33 <description >Swagger document your API with style. Swagger spec compatibility: 2.0</description >
44 <version >1.5</version >
5+ <release >3-M1</release >
56 <homeUri >https://helloreverb.com/developers/swagger</homeUri >
67 <downloadUri >https://github.com/wordnik/swagger-core/wiki/Downloads
78 </downloadUri >
1112 <maven >
1213 <groupId >com.wordnik</groupId >
1314 <artifactId >swagger-core</artifactId >
14- <version >1.5.0-SNAPSHOT</version >
1515 </maven >
1616 </package >
1717 <distributions >
18- <distribution id =" maven " />
18+ <distribution id =" classic " />
1919 </distributions >
2020</library >
Original file line number Diff line number Diff line change 22 <name >Swagger</name >
33 <description >Swagger document your API with style. Swagger spec compatibility: 2.0</description >
44 <version >1.5</version >
5+ <release >3-M1</release >
56 <homeUri >https://helloreverb.com/developers/swagger</homeUri >
67 <downloadUri >https://github.com/wordnik/swagger-core/wiki/Downloads
78 </downloadUri >
1112 <maven >
1213 <groupId >com.wordnik</groupId >
1314 <artifactId >swagger-models</artifactId >
14- <version >1.5.0-SNAPSHOT</version >
1515 </maven >
1616 </package >
1717 <distributions >
1818 <distribution id =" classic" />
19- <distribution id =" maven" />
2019 </distributions >
2120</library >
Original file line number Diff line number Diff line change 11<library id =" simple-xml" symbolicName =" org.simpleframework.xml" >
22 <name >Simple XML</name >
33 <description >Simple XML.</description >
4- <version >2.7.1 </version >
5- <!-- < release>6 </release> -- >
4+ <version >2.7</version >
5+ <release >1 </release >
66 <homeUri >http://simple.sourceforge.net/</homeUri >
77 <downloadUri >http://simple.sourceforge.net/download.php</downloadUri >
88 <provider >Niall Gallagher</provider >
Original file line number Diff line number Diff line change 3939
4040import com .wordnik .swagger .models .Model ;
4141import com .wordnik .swagger .models .Swagger ;
42- import com .wordnik .swagger .util .SwaggerLoader ;
4342
4443public class Swagger2CompositeTranslatorTestCase extends Swagger2TestCase {
4544
@@ -95,7 +94,7 @@ public void testGetSwagger2() throws IOException {
9594 .getSwagger (savedDefinition );
9695
9796 URL refImpl = getClass ().getResource ("refImpl.composite.swagger" );
98- Swagger savedSwagger = new SwaggerLoader (). read (refImpl .getFile ());
97+ Swagger savedSwagger = SwaggerLoader . readJson (refImpl .getFile ());
9998
10099 compareSwaggerBeans (savedSwagger , translatedSwagger );
101100 compareSwaggerBeans (translatedSwagger , savedSwagger );
Original file line number Diff line number Diff line change 6262import com .wordnik .swagger .models .properties .IntegerProperty ;
6363import com .wordnik .swagger .models .properties .RefProperty ;
6464import com .wordnik .swagger .models .properties .StringProperty ;
65- import com .wordnik .swagger .util .SwaggerLoader ;
6665
6766public class Swagger2TranslatorTestCase extends Swagger2TestCase {
6867
@@ -369,8 +368,7 @@ public void testGetSwagger2() throws IOException {
369368 .getSwagger (savedDefinition );
370369
371370 URL refImpl = getClass ().getResource ("refImpl.swagger" );
372- @ SuppressWarnings ("deprecation" )
373- Swagger savedSwagger = new SwaggerLoader ().read (refImpl .getFile ());
371+ Swagger savedSwagger = SwaggerLoader .readJson (refImpl .getFile ());
374372
375373 compareSwaggerBeans (savedSwagger , translatedSwagger );
376374 }
You can’t perform that action at this time.
0 commit comments