An apidoc plugin that automatically generates documentation elements from JSON Schema definitions. Version 0.1.8, last updated in 2016. It allows injecting schema-defined parameters and success responses into apidoc comments via @apiSchema tags. Supports JSON Schema features like types, enums, nesting (objects/arrays), and required fields. Compared to manual apidoc annotations, this plugin reduces duplication by reusing existing schemas. The project is in early stage with limited maintenance.
npm install apidoc-plugin-schemaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates installation, schema file example, and @apiSchema usage to inject parameters from a JSON Schema file into apidoc output.
Pin apidoc to version 0.x or find an alternative plugin.
Consider using newer tools like @apidoc/plugin or manual schema generation.
Use absolute paths or adjust relative paths from your project root.
Ensure each endpoint has unique schema references to avoid collisions.
Run 'npm install apidoc-plugin-schema --save-dev' and ensure it's in node_modules.
Use apidoc@0.x or check plugin compatibility.
Ensure the schema file exists at the specified path relative to where you run apidoc.
No traffic data recorded yet.