File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3232 "@fastify/rate-limit" : " ^9.1.0" ,
3333 "@fastify/sensible" : " ^5.0.0" ,
3434 "@fastify/swagger" : " ^8.14.0" ,
35- "@fastify/swagger-ui" : " ^3 .0.0 " ,
35+ "@fastify/swagger-ui" : " ^4 .0.1 " ,
3636 "@fastify/type-provider-typebox" : " ^4.0.0" ,
3737 "@fastify/under-pressure" : " ^8.3.0" ,
3838 "@sinclair/typebox" : " ^0.32.31" ,
Original file line number Diff line number Diff line change @@ -25,6 +25,6 @@ export default fp(async function (fastify) {
2525 * @see {@link https://github.com/fastify/fastify-swagger-ui }
2626 */
2727 await fastify . register ( fastifySwaggerUi , {
28- // Set plugin options here
28+ routePrefix : '/api/docs'
2929 } ) ;
3030} ) ;
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ const plugin: FastifyPluginAsyncTypebox = async (fastify) => {
1212 200 : Type . Object ( {
1313 message : Type . String ( )
1414 } )
15- } ,
16- tags : [ "Home" ]
15+ }
1716 }
1817 } ,
1918 async function ( ) {
You can’t perform that action at this time.
0 commit comments