mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(api): specify openapi version (#56781)
This commit is contained in:
committed by
GitHub
parent
900b79db71
commit
5c37562728
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user