An open API service indexing awesome lists of open source software.

https://github.com/psmyrdek/express-openapi-typescript

Example app with express, typescript and openapi-ts
https://github.com/psmyrdek/express-openapi-typescript

express openapi typescript

Last synced: 9 months ago
JSON representation

Example app with express, typescript and openapi-ts

Awesome Lists containing this project

README

          

# OpenAPI Metadata Demo

Example project demonstrating how to generate OpenAPI documentation for an Express.js application using openapi-metadata.

## Overview

This project shows how to:

- Use decorators from openapi-metadata to annotate Express.js routes
- Generate OpenAPI/Swagger documentation automatically
- Create a REST API with Express.js using TypeScript

## Installation

```bash
npm install
```

## Running the server

```bash
npm run dev
```

## Generating OpenAPI documentation

```bash
npm run spec
```