Skip to content

Commit 4ad1d2d

Browse files
committed
Added unevaluatedProperties false to oauth2AuthenticationProperties
Signed-off-by: Jean-Baptiste Bianchi <jb.bianchi@neuroglia.io>
1 parent 62ff5e8 commit 4ad1d2d

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
document:
2+
dsl: 1.0.0-alpha1
3+
namespace: examples
4+
name: oauth2-authentication
5+
version: 1.0.0-alpha1
6+
use:
7+
secrets:
8+
- mySecret
9+
do:
10+
- getPet:
11+
call: http
12+
with:
13+
method: get
14+
endpoint:
15+
uri: https://petstore.swagger.io/v2/pet/{petId}
16+
authentication:
17+
oauth2:
18+
use: mySecret
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
document:
2+
dsl: 1.0.0-alpha1
3+
namespace: examples
4+
name: oidc-authentication
5+
version: 1.0.0-alpha1
6+
use:
7+
secrets:
8+
- mySecret
9+
do:
10+
- getPet:
11+
call: http
12+
with:
13+
method: get
14+
endpoint:
15+
uri: https://petstore.swagger.io/v2/pet/{petId}
16+
authentication:
17+
oidc:
18+
use: mySecret

schema/workflow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,7 @@ $defs:
924924
- type: object
925925
title: OAuth2ConnectAuthenticationProperties
926926
description: The inline configuration of the OAuth2 authentication policy.
927+
unevaluatedProperties: false
927928
allOf:
928929
- $ref: '#/$defs/oauth2AuthenticationProperties'
929930
- type: object
@@ -967,6 +968,7 @@ $defs:
967968
- $ref: '#/$defs/oauth2AuthenticationProperties'
968969
title: OpenIdConnectAuthenticationProperties
969970
description: The inline configuration of the OpenIdConnect authentication policy.
971+
unevaluatedProperties: false
970972
- $ref: '#/$defs/secretBasedAuthenticationPolicy'
971973
title: OpenIdConnectAuthenticationPolicySecret
972974
description: Secret based configuration of the OpenIdConnect authentication policy.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy