Skip to content

Commit 2576077

Browse files
authored
fix: Generate OpenAPI v3.1.x specification (#220)
1 parent 40a6770 commit 2576077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default {
5151
_app.route(`/v${apiVersion}`, versionedApp);
5252
_app.get('/', swaggerUI({ url: `/v${apiVersion}/openapi` }));
5353

54-
_app.doc(`/v${apiVersion}/openapi`, () => ({
54+
_app.doc31(`/v${apiVersion}/openapi`, () => ({
5555
openapi: '3.1.0',
5656
info: {
5757
title: 'ReVanced API',

0 commit comments

Comments
 (0)