forked from loafle/openapi-generator-original
fix the scalatra sample
This commit is contained in:
parent
256e746364
commit
d6cf7fc9aa
@ -16,7 +16,7 @@ class {{className}} (implicit val swagger: Swagger) extends ScalatraServlet with
|
||||
protected implicit val jsonFormats: Formats = DefaultFormats
|
||||
|
||||
protected val applicationDescription: String = "{{className}}"
|
||||
override protected val applicationName: String = Some("{{name}}")
|
||||
override protected val applicationName: Option[String] = Some("{{name}}")
|
||||
|
||||
def swaggerToModel(cls: Class[_]) = {
|
||||
val docObj = ApiPropertiesReader.read(cls)
|
||||
|
Loading…
x
Reference in New Issue
Block a user