From 36e9f7a8cb51d9b7c227d245219df335d04e61e3 Mon Sep 17 00:00:00 2001 From: Alexandru Bondor Date: Fri, 9 Jul 2021 21:00:34 +0300 Subject: [PATCH 1/2] Update openapi.yaml Add tags on endpoints --- docs/openapi.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 7545a445..724845be 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -16,6 +16,8 @@ servers: paths: /convert/html: post: + tags: + - Gotenberg summary: Convert a given HTML file to PDF description: >- Send an HTML file called `index.html` as a multipart form request, and @@ -114,6 +116,8 @@ paths: $ref: '#/components/responses/SuccessfulPDF' /convert/url: post: + tags: + - Gotenberg summary: Convert the contents of a given URL to PDF description: >- Send a remote URL in your API request via the `remoteURL` parameter, and @@ -136,6 +140,8 @@ paths: $ref: '#/components/responses/SuccessfulPDF' /convert/markdown: post: + tags: + - Html2Pdf summary: Convert a Markdown file to PDF description: >- Send an HTML file called `index.html` as a multipart form request and @@ -195,6 +201,8 @@ paths: $ref: '#/components/responses/SuccessfulPDF' /convert/office: post: + tags: + - Gotenberg summary: Convert an Office document to PDF description: >- Send one or more Office documents and get the resulting PDF file by @@ -257,6 +265,8 @@ paths: properties: {} /convert/merge: post: + tags: + - Gotenberg summary: Merge multiple PDFs into a single PDF description: >- You can send multiple PDF files to this endpoint, the API will merge @@ -298,6 +308,8 @@ paths: $ref: '#/components/responses/SuccessfulPDF' /ping: get: + tags: + - Gotenberg summary: Your GET endpoint tags: [] responses: From 0bed9eea098fa68fcb37be7764bdffaff7948f60 Mon Sep 17 00:00:00 2001 From: Alexandru Bondor Date: Fri, 9 Jul 2021 21:02:39 +0300 Subject: [PATCH 2/2] Update openapi.yaml Fix tags --- docs/openapi.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 724845be..5e487067 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -141,7 +141,7 @@ paths: /convert/markdown: post: tags: - - Html2Pdf + - Gotenberg summary: Convert a Markdown file to PDF description: >- Send an HTML file called `index.html` as a multipart form request and @@ -311,7 +311,6 @@ paths: tags: - Gotenberg summary: Your GET endpoint - tags: [] responses: '200': description: The API is working fine.