Swagger-style Thing Description viewer
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 22/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation, frontend
Hướng nghiên cứu
Start by reading the Thing Description document a running LabThings server exposes, since the issue names it as the only interface between the viewer and the server, and compare it with the current Swagger output. Survey existing Thing Description tooling (the WoT node library is mentioned) before deciding whether to build a single-page app. Done means one page per Thing, each property and action listed once, with invoke/read/write working against a live server; the issue leaves repo placement and scope open, so expect a design discussion first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
The Swagger docs are very long, because an Affordance (Property/Action) corresponds to potentially quite a few endpoints. There are some improvements to the API that might make this problem worse. Trawling through Swagger is a pain, and additionally it's not very nice to use, because there's a lot of irrelevant/duplicated information.
Describe the solution you'd like
It would be fantastic to have an interactive documentation page based on the Thing Description, with a page per Thing. That way, each property or action gets exactly one entry, and it's neatly organised by Thing. Ideally, because this is served from a live LabThings server, you'd even be able to invoke actions and read/write properties. Things like polling for completion of an invocation are a pain to do from Swagger, but would be really easy to add to a custom web app.
This would make quite a nice self-contained little project, perhaps even a separate repo that builds a single page web app that we can bundle into the LabThings server. The interface between this and the rest of LabThings is the Thing Description document, so it's already pretty well defined.
Describe alternatives you've considered
I have briefy played with the WoT node library, but not for quite a while. It would be worth doing a survey of Thing Description tools before coding our own from scratch, though I think LabThings is probably enough of an edge case that we are likely to end up rolling our own to some degree.
- Ngôn ngữ chính
- Python
- Star
- 10
- Fork
- 4
- Merge trung bình
- 4 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc 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 labthings/labthings-fastapi
-
Tests can fail on `anyio < 4.14`Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
labthings/labthings-fastapi#438 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
labthings/labthings-fastapi#435 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Consider atomic JSON writesCó thể làm lại được @ashiishe2-oss đã nhận 26 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
labthings/labthings-fastapi#412 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Use `Exception.add_note`Đang mởdrop-python-version
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
labthings/labthings-fastapi#354 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Log propagation issueĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
labthings/labthings-fastapi#312 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của labthings/labthings-fastapi
Issue tương tự
-
bug feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Qiskit/qiskit-obp#156 ·
-
perf(batch-jobs): discover-misses reads the state list without running the whole stage reportĐang mởaction-item enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
getcommunityone/open-navigator#1658 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
review-panel severity:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
kristovatlas/coin-accounting#636 ·
Maintainer thường phản hồi trong vòng 1 ngày