Skip to content

Commit

Permalink
Merge pull request #33 from echoker/patch-1
Browse files Browse the repository at this point in the history
fix wrong paths
  • Loading branch information
CorwinDev committed Mar 23, 2024
2 parents c92d5f3 + 2f1e95e commit 62503e8
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions content/api/clients/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ info:
name: MIT
servers: []
paths:
/api/clients/v1/tickets:
/api/client/v1/tickets:
get:
summary: Get all tickets
responses:
Expand Down Expand Up @@ -74,7 +74,7 @@ paths:
parameters: []
post:
summary: Make new ticket
operationId: api-v1-clients-tickets-create
operationId: api-v1-client-tickets-create
responses:
'201':
description: Created
Expand Down Expand Up @@ -129,7 +129,7 @@ paths:
x-stoplight:
id: 0nu46ip1vs1j0
description: 'Priority, must be one of: `low`, `medium`, `high`'
'/api/clients/v1/tickets/{ticketId}':
'/api/client/v1/tickets/{ticketId}':
parameters:
- schema:
type: string
Expand All @@ -147,11 +147,11 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Ticket'
operationId: api-v1-clients-ticket-get
operationId: api-v1-client-ticket-get
requestBody:
content: {}
description: ''
'/api/clients/v1/tickets/{ticketId}/reply':
'/api/client/v1/tickets/{ticketId}/reply':
parameters:
- schema:
type: string
Expand All @@ -160,7 +160,7 @@ paths:
required: true
post:
summary: Reply to ticket
operationId: api-v1-clients-ticket-reply
operationId: api-v1-client-ticket-reply
responses:
'200':
description: OK
Expand Down Expand Up @@ -234,7 +234,7 @@ paths:
id: xudbvvo5mu57v
tags:
- Tickets
'/api/clients/v1/tickets/{ticketId}/messages':
'/api/client/v1/tickets/{ticketId}/messages':
parameters:
- schema:
type: string
Expand Down Expand Up @@ -266,11 +266,11 @@ paths:
$ref: '#/components/schemas/TicketMessage'
x-stoplight:
id: yxy5cmykzfyi6
operationId: get-api-clients-v1-tickets-ticketId-messages
operationId: get-api-client-v1-tickets-ticketId-messages
description: Get all messages from a ticket
requestBody:
content: {}
'/api/clients/v1/tickets/{ticketId}/close':
'/api/client/v1/tickets/{ticketId}/close':
parameters:
- schema:
type: string
Expand All @@ -279,7 +279,7 @@ paths:
required: true
delete:
summary: Delete ticket by id
operationId: api-v1-clients-ticket-delete
operationId: api-v1-client-ticket-delete
responses:
'200':
description: ''
Expand All @@ -299,7 +299,7 @@ paths:
description: Close a ticket
tags:
- Tickets
/api/clients/v1/invoices:
/api/client/v1/invoices:
get:
summary: Get all invoices
tags:
Expand Down Expand Up @@ -542,10 +542,10 @@ paths:
type: integer
item_count:
type: integer
operationId: get-api-clients-v1-invoices
operationId: get-api-client-v1-invoices
requestBody:
content: {}
'/api/clients/v1/invoices/{invoiceId}':
'/api/client/v1/invoices/{invoiceId}':
get:
summary: Get all invoice by id
tags:
Expand Down Expand Up @@ -817,7 +817,7 @@ paths:
properties:
invoice:
$ref: '#/components/schemas/Invoice'
operationId: get-api-clients-v1-invoices-get-invoices-by-id
operationId: get-api-client-v1-invoices-get-invoices-by-id
requestBody:
content: {}
parameters:
Expand All @@ -826,7 +826,7 @@ paths:
name: invoiceId
in: path
required: true
'/api/clients/v1/invoices/{invoiceId}/pay':
'/api/client/v1/invoices/{invoiceId}/pay':
parameters:
- schema:
type: string
Expand All @@ -836,7 +836,7 @@ paths:
description: invoice
post:
summary: Pay invoice by ID
operationId: post-api-clients-v1-invoices-invoiceId-pay
operationId: post-api-client-v1-invoices-invoiceId-pay
responses:
'302':
description: Found
Expand Down

0 comments on commit 62503e8

Please sign in to comment.