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

OAS generator does not fail when baseUriParameters.region is empty

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

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

Từ ngày 15/10/2026.

  • #357 của @stmeissner — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
kotlin, openapi
Lĩnh vực
devtools

Hướng nghiên cứu

The payload names no source files. Start with the linked pull request #357, since it already targets this issue and may cover the fix. Reproduce with a spec whose baseUriParameters.region has no enum, and find where the OAS generator throws NoSuchElementException: List is empty before writing openapi.yaml. Done means the generator either fails with a clear error and a non-zero exit, or handles the empty list, with a test covering that case.

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

Mô tả

Given a spec's baseUriParameters.region without an enum list, the OAS generator fails with NoSuchElementException: List is empty and writes no openapi.yaml.
It still reports success, but causes errors in downstream systems.

Ngôn ngữ chính
Kotlin
Star
16
Fork
7
Merge trung bình
5 ngày 23 giờ
Pull request đã merge (30 ngày)
1

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 commercetools/rmf-codegen

Tất cả issue của commercetools/rmf-codegen

Issue tương tự

Thêm issue về Kotlin

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.