Skip to content

Commit a3459ae

Browse files
committed
fixes #2
1 parent 0faba60 commit a3459ae

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

openapi.yaml

+12-11
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,6 @@ schemes:
77
- https
88
produces:
99
- application/pdf
10-
x-google-backend:
11-
address: https://office2pdf-v1-eu-938182106590.europe-west1.run.app
12-
protocol: h2
13-
path_translation: APPEND_PATH_TO_ADDRESS
14-
securityDefinitions:
15-
api_key:
16-
type: apiKey
17-
name: x-api-key
18-
in: header
1910
paths:
2011
/convert:
2112
post:
@@ -45,5 +36,15 @@ paths:
4536
description: "Bad request. The input file is invalid or missing."
4637
500:
4738
description: "Internal server error. Conversion failed."
48-
security:
49-
- api_key: [ ]
39+
/health:
40+
get:
41+
operationId: healthCheck
42+
summary: "Health check endpoint"
43+
description: "Returns a plain text response indicating the service is running."
44+
produces:
45+
- text/plain
46+
responses:
47+
200:
48+
description: "Service is running and returns 'ok'."
49+
schema:
50+
type: string

0 commit comments

Comments
 (0)