Skip to content

Commit

Permalink
Update swagger.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nadavsteindler authored Dec 17, 2024
1 parent 8ee2cf9 commit 2449469
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,7 @@ components:
- installation_id
- reports

ExternalPrincipalList:
ExternalPrincipalList:
type: object
required:
- pagination
Expand Down Expand Up @@ -2268,15 +2268,15 @@ paths:
requestBody:
required: true
content:
application/json:
application/json:
schema:
$ref: "#/components/schemas/Policy"
responses:
201:
description: policy
content:
application/json:
schema:
content:
application/json:
schema:
$ref: "#/components/schemas/Policy"
400:
$ref: "#/components/responses/ValidationError"
Expand Down Expand Up @@ -2760,7 +2760,7 @@ paths:
- external
- experimental
operationId: getExternalPrincipal
summary: describe external principal by id
summary: describe external principal by id
responses:
200:
description: external principal
Expand Down Expand Up @@ -2906,7 +2906,7 @@ paths:
description: too many requests
default:
$ref: "#/components/responses/ServerError"

/repositories:
get:
tags:
Expand Down Expand Up @@ -4572,10 +4572,10 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/StagingMetadata"

parameters:
- $ref: "#/components/parameters/IfNoneMatch"

responses:
200:
# This actually violates HTTP, which requires returning 201 if a new object was
Expand Down

0 comments on commit 2449469

Please sign in to comment.