Update Dockerfile to use Bun for package management, remove package-lock.json, and adjust .gitignore to include it.

This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-03-26 00:32:54 +02:00
parent 157a33096a
commit 4c7f479398
99 changed files with 11426 additions and 2626 deletions
+15
View File
@@ -0,0 +1,15 @@
---
description: "OpenAPI/Swagger API documentation standards — applied when editing API spec files"
globs: ["**/openapi*", "**/swagger*"]
alwaysApply: false
---
# OpenAPI
- Use OpenAPI 3.0+ specification
- Define reusable schemas in `components/schemas`; reference with `$ref`
- Include `description` for every endpoint, parameter, and schema property
- Define `responses` for at least 200, 400, 401, 404, 500
- Use `tags` to group endpoints by domain
- Include `examples` for request/response bodies
- Version the API in the path (`/api/v1/`) or via header
- Use `operationId` for code generation compatibility