Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Missing TypeScript definitions for dynamic endpoints (NestJS)

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
node.js, openapi, typescript
Lĩnh vực
api, backend

Hướng nghiên cứu

Start by reading the OpenAPI schema generation entry point and the YAML spec that defines the dynamic endpoints; the issue does not name specific files or tests. Trace how generated endpoint types are produced, then check that the generated declarations include inferred parameter types such as the id for getCompanyById(id).

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug enhancement

The autogenerated types don’t include dynamic parameters for endpoints like getCompanyById(id).
When using TypeScript in NestJS, the SDK requires casting to any for most calls.
Proposed fix: Extend OpenAPI schema generation to emit .d.ts with inferred types from the YAML spec.

Ngôn ngữ chính
JavaScript
Star
20
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openapi/openapi-nodejs-sdk

Tất cả issue của openapi/openapi-nodejs-sdk

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.