Swagger-style Thing Description viewer
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- documentation, frontend
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 10
- Forks
- 4
- Merge medio
- 4 d 15 h
- PR fusionados (30 d)
- 11
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de labthings/labthings-fastapi
-
Tests can fail on `anyio < 4.14`Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
labthings/labthings-fastapi#438 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
labthings/labthings-fastapi#435 ·
Los mantenedores suelen responder en 3 días
-
Consider atomic JSON writesQuizá libre de nuevo @ashiishe2-oss la tomó hace 26 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
labthings/labthings-fastapi#412 · 3 comentarios ·
Los mantenedores suelen responder en 3 días
-
Use `Exception.add_note`Abiertodrop-python-version
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
labthings/labthings-fastapi#354 · 2 comentarios ·
Los mantenedores suelen responder en 3 días
-
Log propagation issueAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
labthings/labthings-fastapi#312 · 1 comentario ·
Los mantenedores suelen responder en 3 días
Todos los issues de labthings/labthings-fastapi
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
bad-antics/lateralus-lang#1623 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
fossguild/thelifesnake#82 ·
Los mantenedores suelen responder en 1 día
-
Unfitted DialectClassifier crashes with a confusing ValueError: raise a clear "not fitted" errorAbiertogood first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
omarelshamy25x/shamy-arabic-nlp#111 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pietbarber/Manage2Soar#1189 ·
Los mantenedores suelen responder en 1 día
-
BUG: write_netcdf fails on Tutorial 3 BEM output with pandas CategoricalDtype DOF coordinatesPosiblemente ocupada @dtgaebe la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
sandialabs/WecOptTool#467 ·