Swagger-style Thing Description viewer
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 22/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- documentation, frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 10
- Fork
- 4
- Merge medio
- 4g 15h
- PR unite (30g)
- 11
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di labthings/labthings-fastapi
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
labthings/labthings-fastapi#438 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
labthings/labthings-fastapi#435 ·
I maintainer di solito rispondono entro 3 giorni
-
Consider atomic JSON writesForse di nuovo libera @ashiishe2-oss l’ha presa 26 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
labthings/labthings-fastapi#412 · 3 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Use `Exception.add_note`Apertadrop-python-version
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
labthings/labthings-fastapi#354 · 2 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Log propagation issueAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
labthings/labthings-fastapi#312 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di labthings/labthings-fastapi
Issue simili
-
bug feature request
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Qiskit/qiskit-obp#156 ·
-
perf(batch-jobs): discover-misses reads the state list without running the whole stage reportApertaaction-item enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
getcommunityone/open-navigator#1658 ·
I maintainer di solito rispondono entro 1 giorno
-
review-panel severity:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
kristovatlas/coin-accounting#636 ·
I maintainer di solito rispondono entro 1 giorno