sort - order request parameters by name
@thim81 đang làm issue này rồi.
Từ ngày 9/7/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
I couldn't figure out how to do this.
I need the get, post etc. request parameters to be ordered by the value of the name field.
The parameter fields themselves are ordered consistently according to the config but I'd like the the parameter ordering itself to be alphabetical.
"/api/products": {
"get": {
"summary": "Get the list of existing products.",
"parameters": [
{
"name": "offset", _this should be the second one_
"in": "query",
"description": "The offset to apply to the paginated query.",
"required": false,
"default": 0,
"format": "int32",
"minimum": 0,
"type": "integer"
},
{
"name": "limit", _l comes before o, this should be the first one_
"in": "query",
"description": "The limit to apply to the paginated query.",
"required": false,
"default": null,
"format": "int32",
"maximum": 100,
"minimum": 0,
"type": "integer",
"x-nullable": true
}
],
- Ngôn ngữ chính
- JavaScript
- Star
- 177
- Fork
- 29
- 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
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. 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
- Đọ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 thim81/openapi-format
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
thim81/openapi-format#238 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
thim81/openapi-format#239 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
thim81/openapi-format#237 · 1 bình luận ·
-
Update split document in-placeĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
thim81/openapi-format#232 · 3 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
thim81/openapi-format#196 · 3 bình luận ·
Tất cả issue của thim81/openapi-format
Issue tương tự
-
Add: Digi 4K LogoĐang mởcheck:passed logos:add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
component/administration domain/framework needs-triage Platform(Default) priority/low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
semantic-release/gitlab#1032 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[aw] Upgrade availableĐang mởagentic-workflows
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
githubnext/gh-aw-workshop#3933 ·
Maintainer thường phản hồi trong vòng 2 ngày