Skip to content

Commit 2449469

Browse files
Update swagger.yml
1 parent 8ee2cf9 commit 2449469

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

api/swagger.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1712,7 +1712,7 @@ components:
17121712
- installation_id
17131713
- reports
17141714

1715-
ExternalPrincipalList:
1715+
ExternalPrincipalList:
17161716
type: object
17171717
required:
17181718
- pagination
@@ -2268,15 +2268,15 @@ paths:
22682268
requestBody:
22692269
required: true
22702270
content:
2271-
application/json:
2271+
application/json:
22722272
schema:
22732273
$ref: "#/components/schemas/Policy"
22742274
responses:
22752275
201:
22762276
description: policy
2277-
content:
2278-
application/json:
2279-
schema:
2277+
content:
2278+
application/json:
2279+
schema:
22802280
$ref: "#/components/schemas/Policy"
22812281
400:
22822282
$ref: "#/components/responses/ValidationError"
@@ -2760,7 +2760,7 @@ paths:
27602760
- external
27612761
- experimental
27622762
operationId: getExternalPrincipal
2763-
summary: describe external principal by id
2763+
summary: describe external principal by id
27642764
responses:
27652765
200:
27662766
description: external principal
@@ -2906,7 +2906,7 @@ paths:
29062906
description: too many requests
29072907
default:
29082908
$ref: "#/components/responses/ServerError"
2909-
2909+
29102910
/repositories:
29112911
get:
29122912
tags:
@@ -4572,10 +4572,10 @@ paths:
45724572
application/json:
45734573
schema:
45744574
$ref: "#/components/schemas/StagingMetadata"
4575-
4575+
45764576
parameters:
45774577
- $ref: "#/components/parameters/IfNoneMatch"
4578-
4578+
45794579
responses:
45804580
200:
45814581
# This actually violates HTTP, which requires returning 201 if a new object was

0 commit comments

Comments
 (0)