Skip to content

Commit

Permalink
🚑️ Fix: Rest compliance + OpenAPI details
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachid Flih authored and Rachid Flih committed Aug 1, 2024
1 parent 4ed054b commit 32c54ea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
Empty file added a
Empty file.
30 changes: 17 additions & 13 deletions packages/api/swagger/swagger-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ paths:
$ref: '#/components/schemas/WebhookResponse'
tags: &ref_0
- webhooks
x-speakeasy-group: webhook
post:
operationId: createWebhookPublic
summary: Add webhook metadata
Expand All @@ -50,6 +51,7 @@ paths:
schema:
$ref: '#/components/schemas/WebhookResponse'
tags: *ref_0
x-speakeasy-group: webhook
/webhooks/{id}:
delete:
operationId: delete
Expand All @@ -70,7 +72,7 @@ paths:
schema:
$ref: '#/components/schemas/WebhookResponse'
tags: *ref_0
x-speakeasy-group: webhooks.{id}
x-speakeasy-group: webhook
put:
operationId: updateStatus
summary: Update webhook status
Expand All @@ -90,7 +92,7 @@ paths:
schema:
$ref: '#/components/schemas/WebhookResponse'
tags: *ref_0
x-speakeasy-group: webhooks.{id}
x-speakeasy-group: webhook
/webhooks/verifyEvent:
post:
operationId: verifyEvent
Expand All @@ -110,7 +112,7 @@ paths:
schema:
$ref: '#/components/schemas/EventPayload'
tags: *ref_0
x-speakeasy-group: webhooks.verifyevent
x-speakeasy-group: webhook
/ticketing/tickets:
get:
operationId: listTicketingTicket
Expand Down Expand Up @@ -1742,6 +1744,7 @@ paths:
description: ''
tags: &ref_34
- linkedUsers
x-speakeasy-group: linkedUsers
get:
operationId: listLinkedUsers
summary: List Linked Users
Expand All @@ -1750,6 +1753,7 @@ paths:
'200':
description: ''
tags: *ref_34
x-speakeasy-group: linkedUsers
/linked_users/batch:
post:
operationId: importBatch
Expand All @@ -1765,7 +1769,7 @@ paths:
'201':
description: ''
tags: *ref_34
x-speakeasy-group: linked_users.batch
x-speakeasy-group: linkedUsers
/linked_users/single:
get:
operationId: retrieveLinkedUser
Expand All @@ -1780,7 +1784,7 @@ paths:
'200':
description: ''
tags: *ref_34
x-speakeasy-group: linked_users.single
x-speakeasy-group: linkedUsers
/linked_users/fromRemoteId:
get:
operationId: remoteId
Expand All @@ -1795,7 +1799,7 @@ paths:
'200':
description: ''
tags: *ref_34
x-speakeasy-group: linked_users.fromremoteid
x-speakeasy-group: linkedUsers
/field_mappings/define:
post:
operationId: definitions
Expand All @@ -1812,7 +1816,7 @@ paths:
description: ''
tags: &ref_35
- fieldMappings
x-speakeasy-group: field_mappings.define
x-speakeasy-group: fieldMappings
/field_mappings:
post:
operationId: defineCustomField
Expand All @@ -1828,6 +1832,7 @@ paths:
'201':
description: ''
tags: *ref_35
x-speakeasy-group: fieldMappings
/field_mappings/map:
post:
operationId: map
Expand All @@ -1843,7 +1848,7 @@ paths:
'201':
description: ''
tags: *ref_35
x-speakeasy-group: field_mappings.map
x-speakeasy-group: fieldMappings
/passthrough:
post:
operationId: request
Expand Down Expand Up @@ -8001,13 +8006,12 @@ servers:
description: Production server
- url: https://api-sandbox.panora.dev
description: Sandbox server
- url: https://api-dev.panora.dev
description: Development server
components:
securitySchemes:
bearer:
type: http
scheme: bearer
apiKey:
type: apiKey
name: x-api-key
in: header
schemas:
WebhookResponse:
type: object
Expand Down

0 comments on commit 32c54ea

Please sign in to comment.