Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit e2f65a8

Browse files
committed
specify fastify openapi version
1 parent 55a65bc commit e2f65a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/fastify/src/app.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export const setupApp = async () => {
1111
await app.register(fastifySwagger, {
1212
// Opt into OpenAPIV3 generation
1313
openapi: {
14+
openapi: '3.1.3',
1415
info: {
1516
title: "My api spec",
1617
version: "1.0.0",

0 commit comments

Comments
 (0)