forked from loafle/openapi-generator-original
added help, dynamic loading
This commit is contained in:
parent
a24556f0be
commit
f35c748fb2
@ -0,0 +1,10 @@
|
|||||||
|
com.wordnik.swagger.codegen.languages.AndroidClientCodegen
|
||||||
|
com.wordnik.swagger.codegen.languages.JavaClientCodegen
|
||||||
|
com.wordnik.swagger.codegen.languages.JaxRSServerCodegen
|
||||||
|
com.wordnik.swagger.codegen.languages.NodeJSServerCodegen
|
||||||
|
com.wordnik.swagger.codegen.languages.ObjcClientCodegen
|
||||||
|
com.wordnik.swagger.codegen.languages.ScalatraServerCodegen
|
||||||
|
com.wordnik.swagger.codegen.languages.StaticDocCodegen
|
||||||
|
com.wordnik.swagger.codegen.languages.StaticHtmlGenerator
|
||||||
|
com.wordnik.swagger.codegen.languages.SwaggerGenerator
|
||||||
|
com.wordnik.swagger.codegen.languages.TizenClientCodegen
|
19
src/test/scala/SwaggerMigratorTest.scala
Normal file
19
src/test/scala/SwaggerMigratorTest.scala
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
import com.wordnik.swagger.models._
|
||||||
|
import io.swagger.parser._
|
||||||
|
|
||||||
|
import org.junit.runner.RunWith
|
||||||
|
import org.scalatest.junit.JUnitRunner
|
||||||
|
import org.scalatest.FlatSpec
|
||||||
|
import org.scalatest.Matchers
|
||||||
|
|
||||||
|
import scala.collection.JavaConverters._
|
||||||
|
|
||||||
|
@RunWith(classOf[JUnitRunner])
|
||||||
|
class SwaggerMigratorTest extends FlatSpec with Matchers {
|
||||||
|
behavior of "SwaggerMigrator"
|
||||||
|
|
||||||
|
it should "read a 1.2 spec" in {
|
||||||
|
val loader = new SwaggerParser()
|
||||||
|
loader.read("src/test/resources/1_2/petstore-1.2/api-docs")
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user