Swagger-style Thing Description viewer
Mantenedores costumam responder em até 3 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 22/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Domínio
- documentation, frontend
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 10
- Forks
- 4
- Merge médio
- 4d 15h
- PRs com merge (30d)
- 11
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de labthings/labthings-fastapi
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
labthings/labthings-fastapi#438 ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
labthings/labthings-fastapi#435 ·
Mantenedores costumam responder em até 3 dias
-
Consider atomic JSON writesTalvez livre de novo @ashiishe2-oss assumiu há 26 dias e não há nenhum pull request aberto. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
labthings/labthings-fastapi#412 · 3 comentários ·
Mantenedores costumam responder em até 3 dias
-
Use `Exception.add_note`Abertadrop-python-version
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
labthings/labthings-fastapi#354 · 2 comentários ·
Mantenedores costumam responder em até 3 dias
-
Log propagation issueAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
labthings/labthings-fastapi#312 · 1 comentário ·
Mantenedores costumam responder em até 3 dias
Todas as issues de labthings/labthings-fastapi
Issues semelhantes
-
bug feature request
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Qiskit/qiskit-obp#156 ·
-
perf(batch-jobs): discover-misses reads the state list without running the whole stage reportAbertaaction-item enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
getcommunityone/open-navigator#1658 ·
Mantenedores costumam responder em até 1 dia
-
review-panel severity:low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
kristovatlas/coin-accounting#636 ·
Mantenedores costumam responder em até 1 dia