# @stackmeister/openapi

> @stackmeister/openapi ==========================

Latest version **0.1.5** (published 2022-11-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @stackmeister/openapi
pnpm add @stackmeister/openapi
yarn add @stackmeister/openapi
bun add @stackmeister/openapi
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2022-11-09 |
| First published | 2022-11-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 18.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | torbenkoehn |

## Links

- npm: https://www.npmjs.com/package/@stackmeister/openapi
- Repository: https://github.com/StackmeisterGmbH/typescript-packages
- Homepage: https://github.com/StackmeisterGmbH/typescript-packages#readme
- Issues: https://github.com/StackmeisterGmbH/typescript-packages/issues
- npm.io page: https://npm.io/package/@stackmeister/openapi

## Dependencies (3)

- [@stackmeister/uri](https://npm.io/package/@stackmeister/uri.md) ^0.1.5
- [@stackmeister/json-schema](https://npm.io/package/@stackmeister/json-schema.md) ^0.1.2
- [@stackmeister/json-pointer](https://npm.io/package/@stackmeister/json-pointer.md) ^0.1.3

## Recent versions

- 0.1.5 (latest) — 2022-11-09
- 0.1.4 — 2022-11-09
- 0.1.3 — 2022-11-09

## README

@stackmeister/openapi
==========================

Typing and utilities for OpenAPI, mostly focused on 3.x versions.

Install
=======

```bash
// Yarn
yarn add @stackmeister/openapi

// NPM
npm i @stackmeister/openapi
```

TypeScript typings are included (No `@types/` package needed)

Usage
=====

This library consists of types, mostly. Soon there will also be factories.

```ts
import type { Document } from '@stackmeister/openapi'

const spec: Document = {
  openapi: '3.0',
  info: {
    // From here on, just follow auto-completion
  }
}
```

For every structure that exists in the OpenAPI 3 spec, there will be a fitting type in here, including complex schema typing
through `@stackmeister/json-schema`

---
_Source: https://npm.io/package/@stackmeister/openapi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
