@flink-app/api-docs-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.7.0-alpha.1 • Public • Published

Flink API Docs

WORK IN PROGRESS 👷‍♀️👷🏻‍♂️

A FLINK plugin that generates a VERY simple documentation based on the apps registered routes and schemas.

Usage

Install plugin to your flink app project:

npm i -S @flink-app/api-docs-plugin

Add and configure plugin in your app startup (probable the index.ts in root project):

import { apiDocPlugin } from "@flink-app/api-docs-plugin";

function start() {
  new FlinkApp<AppContext>({
    name: "My app",
    plugins: [
        // Register plugin, customize options if needed to
        apiDocPlugin({
            title: "API Docs: My app"
        })
    ],
  }).start();
}

Readme

Keywords

none

Package Sidebar

Install

npm i @flink-app/api-docs-plugin

Weekly Downloads

9

Version

0.7.0-alpha.1

License

MIT

Unpacked Size

11 kB

Total Files

12

Last publish

Collaborators

  • joelso
  • jenkins-frost
  • johanfrost