mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
added default value for key
This commit is contained in:
parent
c3b36c6944
commit
59cd5380aa
@ -28,7 +28,7 @@ import Source._
|
||||
object ApiExtractor {
|
||||
def m = JsonUtil.getJsonMapper
|
||||
|
||||
def extractApiDocs(basePath: String, apis: List[DocumentationEndPoint], apiKey: Option[String]): List[Documentation] = {
|
||||
def extractApiDocs(basePath: String, apis: List[DocumentationEndPoint], apiKey: Option[String] = None): List[Documentation] = {
|
||||
for (api <- apis) yield {
|
||||
val json = basePath.startsWith("http") match {
|
||||
case true => {
|
||||
|
Loading…
Reference in New Issue
Block a user