Skip to content

Commit

Permalink
openapi: Remove trivial allOf wrapping.
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk authored and timabbott committed Sep 29, 2020
1 parent 87c809c commit f3ff082
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions zerver/openapi/zulip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5097,8 +5097,7 @@ paths:
content:
application/json:
schema:
allOf:
- $ref: "#/components/schemas/JsonSuccess"
$ref: "#/components/schemas/JsonSuccess"

/realm/emoji:
get:
Expand Down Expand Up @@ -8467,12 +8466,9 @@ paths:
application/json:
schema:
oneOf:
- allOf:
- $ref: "#/components/schemas/InvalidApiKeyError"
- allOf:
- $ref: "#/components/schemas/MissingArgumentError"
- allOf:
- $ref: "#/components/schemas/UserNotAuthorizedError"
- $ref: "#/components/schemas/InvalidApiKeyError"
- $ref: "#/components/schemas/MissingArgumentError"
- $ref: "#/components/schemas/UserNotAuthorizedError"
/zulip-outgoing-webhook:
post:
operationId: zulip_outgoing_webhooks
Expand Down

0 comments on commit f3ff082

Please sign in to comment.