Skip to content

Commit 24af9c4

Browse files
committed
OAuth Client Create add public to request body schema
1 parent 3b13bf1 commit 24af9c4

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

openapi.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,18 +1351,11 @@ paths:
13511351
content:
13521352
application/json:
13531353
schema:
1354+
allOf:
1355+
- $ref: '#/components/schemas/OAuthClient'
13541356
required:
13551357
- label
13561358
- redirect_uri
1357-
allOf:
1358-
- $ref: '#/components/schemas/OAuthClient'
1359-
- type: object
1360-
properties:
1361-
public:
1362-
type: boolean
1363-
description: Whether to create a public or private client.
1364-
example: false
1365-
readOnly: false
13661359
responses:
13671360
'200':
13681361
description: Client created successfully.
@@ -20661,12 +20654,12 @@ components:
2066120654
public:
2066220655
x-linode-filterable: true
2066320656
type: boolean
20657+
default: false
2066420658
description: >
2066520659
If this is a public or private OAuth Client. Public clients have a slightly
2066620660
different authentication workflow than private clients. See the
2066720661
<a target="_top" href="https://oauth.net/2/">OAuth spec</a> for more details.
2066820662
example: false
20669-
readOnly: true
2067020663
x-linode-cli-display: 4
2067120664
ObjectStorageBucket:
2067220665
type: object

0 commit comments

Comments
 (0)