Skip to content

Commit 82e17c4

Browse files
authored
fix(schema): fix linting issues (#1110)
Signed-off-by: karan-palan <karanpalan007@gmail.com>
1 parent c46f1cc commit 82e17c4

File tree

1 file changed

+26
-32
lines changed

1 file changed

+26
-32
lines changed

schema/workflow.yaml

Lines changed: 26 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -985,37 +985,35 @@ $defs:
985985
description: The configuration of the OAuth2 authentication policy.
986986
unevaluatedProperties: false
987987
oneOf:
988-
- type: object
988+
- $ref: '#/$defs/oauth2AuthenticationProperties'
989+
type: object
989990
title: OAuth2ConnectAuthenticationProperties
990991
description: The inline configuration of the OAuth2 authentication policy.
991992
unevaluatedProperties: false
992-
allOf:
993-
- $ref: '#/$defs/oauth2AuthenticationProperties'
994-
- type: object
993+
properties:
994+
endpoints:
995+
type: object
996+
title: OAuth2AuthenticationPropertiesEndpoints
997+
description: The endpoint configurations for OAuth2.
995998
properties:
996-
endpoints:
997-
type: object
998-
title: OAuth2AuthenticationPropertiesEndpoints
999-
description: The endpoint configurations for OAuth2.
1000-
properties:
1001-
token:
1002-
type: string
1003-
format: uri-template
1004-
default: /oauth2/token
1005-
title: OAuth2TokenEndpoint
1006-
description: The relative path to the token endpoint. Defaults to `/oauth2/token`.
1007-
revocation:
1008-
type: string
1009-
format: uri-template
1010-
default: /oauth2/revoke
1011-
title: OAuth2RevocationEndpoint
1012-
description: The relative path to the revocation endpoint. Defaults to `/oauth2/revoke`.
1013-
introspection:
1014-
type: string
1015-
format: uri-template
1016-
default: /oauth2/introspect
1017-
title: OAuth2IntrospectionEndpoint
1018-
description: The relative path to the introspection endpoint. Defaults to `/oauth2/introspect`.
999+
token:
1000+
type: string
1001+
format: uri-template
1002+
default: /oauth2/token
1003+
title: OAuth2TokenEndpoint
1004+
description: The relative path to the token endpoint. Defaults to `/oauth2/token`.
1005+
revocation:
1006+
type: string
1007+
format: uri-template
1008+
default: /oauth2/revoke
1009+
title: OAuth2RevocationEndpoint
1010+
description: The relative path to the revocation endpoint. Defaults to `/oauth2/revoke`.
1011+
introspection:
1012+
type: string
1013+
format: uri-template
1014+
default: /oauth2/introspect
1015+
title: OAuth2IntrospectionEndpoint
1016+
description: The relative path to the introspection endpoint. Defaults to `/oauth2/introspect`.
10191017
- $ref: '#/$defs/secretBasedAuthenticationPolicy'
10201018
title: OAuth2AuthenticationPolicySecret
10211019
description: Secret based configuration of the OAuth2 authentication policy.
@@ -1681,18 +1679,14 @@ $defs:
16811679
type: object
16821680
title: AsyncApiMessagePayload
16831681
description: The message's payload, if any.
1684-
additionalProperties: true
16851682
headers:
16861683
type: object
16871684
title: AsyncApiMessageHeaders
16881685
description: The message's headers, if any.
1689-
additionalProperties: true
16901686
asyncApiInboundMessage:
1691-
type: object
1687+
$ref: '#/$defs/asyncApiOutboundMessage'
16921688
title: AsyncApiInboundMessage
16931689
description: Represents a message counsumed by an AsyncAPI subscription.
1694-
allOf:
1695-
- $ref: '#/$defs/asyncApiOutboundMessage'
16961690
properties:
16971691
correlationId:
16981692
type: string

0 commit comments

Comments
 (0)