forked from loafle/openapi-generator-original
removed overridden methods
This commit is contained in:
parent
374c68d8da
commit
f85c06628b
@ -34,8 +34,6 @@ abstract class BasicGenerator extends CodegenConfig with PathUtil {
|
|||||||
def templateDir = "src/main/resources/scala"
|
def templateDir = "src/main/resources/scala"
|
||||||
def destinationDir = "generated-code/src/main/scala"
|
def destinationDir = "generated-code/src/main/scala"
|
||||||
def fileSuffix = ".scala"
|
def fileSuffix = ".scala"
|
||||||
def processApiMap(m: Map[String, AnyRef]): Map[String, AnyRef] = m
|
|
||||||
def processModelMap(m: Map[String, AnyRef]): Map[String, AnyRef] = m
|
|
||||||
|
|
||||||
override def invokerPackage: Option[String] = Some("com.wordnik.client.common")
|
override def invokerPackage: Option[String] = Some("com.wordnik.client.common")
|
||||||
override def modelPackage: Option[String] = Some("com.wordnik.client.model")
|
override def modelPackage: Option[String] = Some("com.wordnik.client.model")
|
||||||
@ -75,7 +73,7 @@ abstract class BasicGenerator extends CodegenConfig with PathUtil {
|
|||||||
|
|
||||||
val allModels = new HashMap[String, DocumentationSchema]
|
val allModels = new HashMap[String, DocumentationSchema]
|
||||||
val operations = new ListBuffer[(String, String, DocumentationOperation)]
|
val operations = new ListBuffer[(String, String, DocumentationOperation)]
|
||||||
|
|
||||||
subDocs.foreach(subDoc => {
|
subDocs.foreach(subDoc => {
|
||||||
val basePath = subDoc.basePath
|
val basePath = subDoc.basePath
|
||||||
val resourcePath = subDoc.resourcePath
|
val resourcePath = subDoc.resourcePath
|
||||||
|
Loading…
x
Reference in New Issue
Block a user