[Schema Inaccuracy] date fields missing date-time format
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
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- openapi
- Lĩnh vực
- api
Hướng nghiên cứu
Bắt đầu với các mục trong schema OpenAPI tại các đường dẫn được liệt kê trong issue và so sánh các thuộc tính ngày của chúng với các trường lân cận đã sử dụng định dạng date-time. Cập nhật nhất quán từng trường ngày được liệt kê, sau đó xác thực phần mô tả API để xác nhận rằng cả chín vị trí đều cung cấp định dạng mong đợi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Schema Inaccuracy
The following fields are named date, but only have "type": "string". I believe they should also have the date-time format.
paths."/repos/{owner}/{repo}/contents/{path}".put.requestBody.content."application/json".schema.properties.committer.properties.date
paths."/repos/{owner}/{repo}/contents/{path}".put.requestBody.content."application/json".schema.properties.author.properties.date
components.schemas.billing-usage-report.properties.usageItems.items.properties.date
components.schemas.nullable-git-user.properties.date
components.schemas.file-commit.properties.commit.properties.author.properties.date
components.schemas.file-commit.properties.commit.properties.committer.properties.date
components.schemas.git-tag.properties.tagger.properties.date
components.schemas.webhook-status.properties.commit.properties.commit.properties.author.allOf.1.properties.date
components.schemas.webhook-status.properties.commit.properties.commit.properties.committer.allOf.1.properties.date
Expected
format should be set to date-time
Reproduction Steps
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 1.6k
- Fork
- 342
- Merge trung bình
- 2 giờ 23 phút
- Pull request đã merge (30 ngày)
- 57
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/rest-api-description
-
feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
github/rest-api-description#7220 ·
-
feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
github/rest-api-description#7201 ·
-
feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/rest-api-description#7163 ·
-
Runner deprecations: registration_deprecates_at is declared on the response but never returned Đang mởfeature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
github/rest-api-description#7162 ·
-
feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
github/rest-api-description#7135 ·
Tất cả issue của github/rest-api-description
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
external-issue to-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
googleapis/google-cloud-swift#1151 ·
-
SqliteSaver.list(filter=...) silently misses nested metadata values containing non-ASCII text Đang mởexternal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
langchain-ai/langgraph#9074 · 1 bình luận ·
-
documentation specification
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
openai/openai-openapi#584 ·