web-app ServeFiles: spec enum has "Never", IRIS returns "No" and rejects "Never"

Đang mở
#4 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
api

Hướng nghiên cứu

Start at the specification entries for PUT /api/admin/v2/web-app and PUT /v2/web-app, comparing the ServeFiles and UseCookies schemas with the GET response values. Done means the ServeFiles enum reflects IRIS 2026.2 and create and update accept the same representation for both fields.

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

Mô tả

The spec's enum for ServeFiles on PUT /api/admin/v2/web-app contains "Never". IRIS 2026.2 reports "No" for such an application and rejects "Never".

Also, when PUT /v2/web-app creates an application, ServeFiles and UseCookies are validated as the numeric codes (0–3), while GET returns strings ("Always", "No", ...) and edits accept the strings.

Suggestion: align the enum with what the server returns and accepts, and accept the same representation on create and update.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
0
Fork
0
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

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 intersystems-community/sysadmin-api-specification

Tất cả issue của intersystems-community/sysadmin-api-specification

Issue tương tự

Thêm issue về Backend & API Design

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.