1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Merge pull request #9275 from Flole998/fixpaths.yaml

Fix various openAPI related mistakes in openapi/paths.yaml
This commit is contained in:
David Bomba 2024-02-10 14:36:59 +11:00 committed by GitHub
commit c41e3db421
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,8 +2,8 @@ paths:
/api/v1/activities:
get:
tags:
- actvities
summary: "Returns a list of actvities"
- activities
summary: "Returns a list of activities"
description: "Lists all activities related to this company"
operationId: getActivities
parameters:
@ -44,10 +44,10 @@ paths:
$ref: "#/components/responses/422"
default:
$ref: "#/components/responses/default"
"/api/v1/actvities/download_entity/{activity_id}":
"/api/v1/activities/download_entity/{activity_id}":
get:
tags:
- actvities
- activities
summary: "Returns a PDF for the given activity"
description: "Returns a PDF for the given activity"
operationId: getActivityHistoricalEntityPdf
@ -137,7 +137,7 @@ paths:
422:
$ref: "#/components/responses/422"
5XX:
$ref: "#/components/responses/5XX"
description: 'Server error'
default:
$ref: "#/components/responses/default"
/api/v1/refresh:
@ -149,7 +149,7 @@ paths:
Refreshes the dataset.
This endpoint can be used if you only need to access the most recent data from a certain point in time.
operationId: refresh
operationId: refresh
parameters:
- name: updated_at
in: query