From e605f67c5c52a657ee355c2a7ab25b28a81f9817 Mon Sep 17 00:00:00 2001 From: Francisco Javier Tirado Sarti Date: Fri, 2 Aug 2024 13:53:35 +0200 Subject: [PATCH 1/2] Adding missing titles for better pojo generation Signed-off-by: Francisco Javier Tirado Sarti --- schema/workflow.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/schema/workflow.yaml b/schema/workflow.yaml index 370e9db1..2a95c9e7 100644 --- a/schema/workflow.yaml +++ b/schema/workflow.yaml @@ -664,7 +664,8 @@ $defs: basic: type: object oneOf: - - properties: + - title: BasicAuthInfo + properties: username: type: string description: The username to use. @@ -680,7 +681,8 @@ $defs: bearer: type: object oneOf: - - properties: + - title: BearerAuthInfo + properties: token: type: string description: The bearer token to use. @@ -693,7 +695,8 @@ $defs: oauth2: type: object oneOf: - - properties: + - title: OAuth2Info + properties: authority: type: string format: uri From 0579a9488df02f9a34e02ec1d61056de5c1508d2 Mon Sep 17 00:00:00 2001 From: Francisco Javier Tirado Sarti Date: Fri, 2 Aug 2024 14:30:59 +0200 Subject: [PATCH 2/2] Charles comments Signed-off-by: Francisco Javier Tirado Sarti --- schema/workflow.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schema/workflow.yaml b/schema/workflow.yaml index 2a95c9e7..6ecd4485 100644 --- a/schema/workflow.yaml +++ b/schema/workflow.yaml @@ -664,7 +664,7 @@ $defs: basic: type: object oneOf: - - title: BasicAuthInfo + - title: BasicAuthenticationData properties: username: type: string @@ -681,7 +681,7 @@ $defs: bearer: type: object oneOf: - - title: BearerAuthInfo + - title: BearerAuthenticationData properties: token: type: string @@ -695,7 +695,7 @@ $defs: oauth2: type: object oneOf: - - title: OAuth2Info + - title: OAuth2AutenthicationData properties: authority: type: string