We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4bbea4 commit 11fdf44Copy full SHA for 11fdf44
apps/api/src/plugins/swagger.ts
@@ -2,7 +2,7 @@ import fastifySwagger from '@fastify/swagger';
2
import fastifySwaggerUi from '@fastify/swagger-ui';
3
import fp from 'fastify-plugin';
4
// @ts-expect-error IntelliJ may not support that
5
-import packageJson from '../../package.json' assert {type: 'json'};
+import packageJson from '../../package.json' with {type: 'json'};
6
7
export default fp(async fastify => {
8
fastify.register(fastifySwagger, {
0 commit comments