Merge pull request #86
move "Check auth on all routes" extension into the class
This commit was merged in pull request #86.
This commit is contained in:
@@ -84,7 +84,6 @@ class `Check auth on all routes` : BaseTest() {
|
|||||||
return """HttpStatus ${statusCode.value} for: ${method.value.padStart(6, ' ')} $uri"""
|
return """HttpStatus ${statusCode.value} for: ${method.value.padStart(6, ' ')} $uri"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private fun Path.buildUrl(path: String, methodName: String, context: OAIContext): String {
|
private fun Path.buildUrl(path: String, methodName: String, context: OAIContext): String {
|
||||||
val urlReplaced = this.getParametersIn(context, "path")
|
val urlReplaced = this.getParametersIn(context, "path")
|
||||||
@@ -145,3 +144,5 @@ private fun Parameter.generateFakeArray(): List<String> {
|
|||||||
listOf("example123")
|
listOf("example123")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user