fix(api): specify openapi version (#56781)

This commit is contained in:
Oliver Eyton-Williams
2024-10-22 11:15:19 +02:00
committed by GitHub
parent 900b79db71
commit 5c37562728
+1
View File
@@ -106,6 +106,7 @@ export const build = async (
if (FCC_ENABLE_SWAGGER_UI) {
void fastify.register(fastifySwagger, {
openapi: {
openapi: '3.1.0',
info: {
title: 'freeCodeCamp API',
version: '1.0.0' // API version