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
- Host: GitHub
- URL: https://github.com/psmyrdek/express-openapi-typescript
- Owner: psmyrdek
- Created: 2024-12-09T09:38:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-09T09:39:50.000Z (over 1 year ago)
- Last Synced: 2025-04-02T06:14:04.677Z (12 months ago)
- Topics: express, openapi, typescript
- Language: TypeScript
- Homepage: https://przeprogramowani.pl
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```