Skip to content

Commit

Permalink
fix: Rest Compliance
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 11e9e99 commit 4ed054b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -855,9 +855,9 @@
"group":"Selfhost",
"icon":"house-laptop",
"pages":[
"open-source/selfhost/self-host-guide",
"open-source/selfhost/envVariables",
"open-source/selfhost/ngrok"
"open-source/self_hosting/self-host-guide",
"open-source/self_hosting/envVariables",
"open-source/self_hosting/ngrok"
]
},
{
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class WebhookController {
}

@ApiOperation({
operationId: 'createWebhook',
operationId: 'createWebhookPublic',
summary: 'Add webhook metadata',
})
@ApiBody({ type: WebhookDto })
Expand All @@ -138,7 +138,7 @@ export class WebhookController {
}

@ApiOperation({
operationId: 'createWebhook',
operationId: 'createWebhookInternal',
summary: 'Add webhook metadata',
})
@ApiBody({ type: WebhookDto })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class FieldMappingController {
}

@ApiOperation({
operationId: 'createCustomField',
operationId: 'defineCustomField',
summary: 'Create Custom Field',
})
@ApiBody({ type: CustomFieldCreateDto })
Expand Down
8 changes: 6 additions & 2 deletions packages/api/swagger/swagger-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ paths:
tags: &ref_0
- webhooks
post:
operationId: createWebhook
operationId: createWebhookPublic
summary: Add webhook metadata
parameters: []
requestBody:
Expand Down Expand Up @@ -61,6 +61,8 @@ paths:
schema:
type: string
responses:
'200':
description: ''
'201':
description: ''
content:
Expand All @@ -79,6 +81,8 @@ paths:
schema:
type: string
responses:
'200':
description: ''
'201':
description: ''
content:
Expand Down Expand Up @@ -1811,7 +1815,7 @@ paths:
x-speakeasy-group: field_mappings.define
/field_mappings:
post:
operationId: createCustomField
operationId: defineCustomField
summary: Create Custom Field
parameters: []
requestBody:
Expand Down

0 comments on commit 4ed054b

Please sign in to comment.