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

[FEATURE] Add a side-effect-free command to resolve version tags

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

@c19yamamoto đang làm issue này rồi.

Từ ngày 17/10/2026.

  • #1290 của @c19yamamoto — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
32/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
json, typescript
Lĩnh vực
cli

Hướng nghiên cứu

Start with the version-manager command definitions and the CLI startup path, since the issue says startup may download the selected JAR before a command runs. Compare how version-manager list --json resolves tags with how openapitools.json is read and written. Done means version-manager resolve <tags...> prints one resolved version to stdout while leaving openapitools.json and the JAR cache untouched, with a test that checks both.

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

Mô tả

Automated version-update workflows need to resolve a moving tag such as latest to a specific version, then use that same version to update a project's pinned configuration and in subsequent steps. Resolving the tag should not require downloading the generator or modifying the working tree.

Please add a version-manager resolve <versionTags...> command that prints the resolved version to stdout without changing openapitools.json or downloading a generator JAR.

version-manager list --json can list matching releases, but CLI startup may download the currently selected JAR before processing the command. A dedicated resolver would make this operation predictable and side-effect-free.

Ngôn ngữ chính
TypeScript
Star
2k
Fork
210
Merge trung bình
55 phút
Pull request đã merge (30 ngày)
1

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 OpenAPITools/openapi-generator-cli

Tất cả issue của OpenAPITools/openapi-generator-cli

Issue tương tự

Thêm issue về TypeScript

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.