New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@jafps/plugin-redoc

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jafps/plugin-redoc

Fastify plugin for OpenAPI 3.1 API reference documentation.

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
5
-96.18%
Maintainers
1
Weekly downloads
 
Created
Source

@jafps/plugin-redoc

Fastify plugin for OpenAPI 3.1 API reference documentation.

It depends on @fastify/helmet and @jafps/plugin-openapi.

Usage

import redocPlugin from "@jafps/plugin-redoc";
import helmetPlugin from "@fastify/helmet";
import openapiPlugin from "@jafps/plugin-openapi";

await app.register(helmetPlugin, { global: false });
await app.register(openapiPlugin, {
  openapi: {
    info: {
      title: "API",
      version: "1.0.0"
    }
  }
});
await app.register(redocPlugin);

If @fastify/static is used, staticOptions.decorateReply need to be set to false.

Keywords

fastify

FAQs

Package last updated on 23 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts