# @types/koa-joi-router-docs

> TypeScript definitions for koa-joi-router-docs

Latest version **1.0.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/koa-joi-router-docs
pnpm add @types/koa-joi-router-docs
yarn add @types/koa-joi-router-docs
bun add @types/koa-joi-router-docs
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2023-11-07 |
| First published | 2019-11-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51354 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/koa-joi-router-docs
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-joi-router-docs
- npm.io page: https://npm.io/package/@types/koa-joi-router-docs

## Dependencies (1)

- [@types/koa-joi-router](https://npm.io/package/@types/koa-joi-router.md) *

## Recent versions

- 1.0.4 (latest) — 2023-11-07
- 1.0.1 (ts3.6) — 2021-07-08
- 1.0.0 (ts2.4) — 2019-11-04
- 1.0.3 — 2023-10-18
- 1.0.2 — 2023-09-14

## README

# Installation
> `npm install --save @types/koa-joi-router-docs`

# Summary
This package contains type definitions for koa-joi-router-docs (https://github.com/o2team/koa-joi-router-docs#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-joi-router-docs.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-joi-router-docs/index.d.ts)
````ts
import { Router } from "koa-joi-router";

export {};

declare namespace koaJoiRouterDocs {
    interface SpecConfig {
        info: {
            title: string;
            version: string;
            description: string;
        };
        basePath: string;
        tags: Array<{
            name: string;
            description: string;
        }>;
    }

    interface SpecOptions {
        warnFunc?: (() => void) | undefined;
        defaultResponses?: object | undefined;
    }

    type RouterOptions = object | string;
}

export class SwaggerAPI {
    addJoiRouter(router: Router, options?: koaJoiRouterDocs.RouterOptions): any;
    generateSpec(config: koaJoiRouterDocs.SpecConfig, options?: koaJoiRouterDocs.SpecOptions): object;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:38 GMT
 * Dependencies: [@types/koa-joi-router](https://npmjs.com/package/@types/koa-joi-router)

# Credits
These definitions were written by [4doge](https://github.com/4doge).

---
_Source: https://npm.io/package/@types/koa-joi-router-docs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
