Missing paths for OpenAPI generation
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Comienza inspeccionando las rutas generadas en openapi/beta/openapi.yaml y compáralas con las definiciones de la entidad place y las rutas esperadas indicadas en el issue. Revisa el issue 720 relacionado de OpenAPI.NET.OData y el pull request 850 de metadatos para consultar la investigación previa. Se considera terminado cuando se determine si las anotaciones o el comportamiento del generador son los responsables y se documenten o implementen las rutas que faltan.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
This is potentially related to the issue described above.
When generating the OpenAPI description for Microsoft Graph Beta the building, desk, floor, room, roomlist, section, workspace routes are not generated for those entitytypes. All are derived type of the abstract place type.
<EntitySet Name="places" EntityType="microsoft.graph.place" />
<EntityType Name="place" BaseType="graph.entity" Abstract="true">
....
<NavigationProperty Name="checkIns" Type="Collection(graph.checkInClaim)" ContainsTarget="true" />
</EntityType>
<EntityType Name="building" BaseType="graph.place">
...
<NavigationProperty Name="map" Type="graph.buildingMap" ContainsTarget="true" />
</EntityType>
<EntityType Name="room" BaseType="graph.place">
...
</EntityType>
<EntityType Name="roomList" BaseType="graph.place">
...
<NavigationProperty Name="rooms" Type="Collection(graph.room)" ContainsTarget="true" />
<NavigationProperty Name="workspaces" Type="Collection(graph.workspace)" ContainsTarget="true" />
</EntityType>
<Function Name="descendants" IsBound="true" IsComposable="true">
<Parameter Name="bindingParameter" Type="graph.place" />
<ReturnType Type="Collection(graph.place)" Nullable="false" />
</Function>
Sample of places paths currently supported in our OpenAPI:
/places/{place-id}
/places/{place-id}/checkIns
/places/{place-id}/checkIns/$count
/places/{place-id}/descendants()
/places/{place-id}/graph.room
/places/{place-id}/graph.room/checkIns
/places/{place-id}/graph.room/checkIns/$count
/places/{place-id}/graph.roomList
/places/{place-id}/graph.roomList/checkIns
/places/{place-id}/graph.roomList/rooms
Either we don't currently support this behavior or there are missing annotations used to specify this behavior. This requires investigation.
Expected behavior
Paths that we expect to be in our OpenAPI but are not (same as the list of affected EntityTypes above):
/places/microsoft.graph.building
/places/microsoft.graph.floor
/places/microsoft.graph.desk
/places/room
/places/roomlist
/places/section
/places/workspace
Additional context
https://github.com/microsoftgraph/msgraph-metadata/blob/master/openapi/beta/openapi.yaml to see missing paths.
https://learn.microsoft.com/en-us/graph/api/place-list?view=graph-rest-beta&tabs=http
https://github.com/microsoft/OpenAPI.NET.OData/issues/720
https://github.com/microsoftgraph/msgraph-metadata/pull/850
- Lenguaje dominante
- XSLT
- Estrellas
- 171
- Forks
- 56
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 9
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 microsoftgraph/msgraph-metadata
-
ToTriage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
microsoftgraph/msgraph-metadata#1217 ·
Los mantenedores suelen responder en 2 días
-
ToTriage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
microsoftgraph/msgraph-metadata#1192 ·
Los mantenedores suelen responder en 2 días
-
ToTriage
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
microsoftgraph/msgraph-metadata#1233 ·
Los mantenedores suelen responder en 2 días
-
`microsoft.graph.managedDevice` is missing a filter restrictions annotation.Posiblemente ocupada @esidorenko-sl la tomó hace 86 días. AbiertoToTriage
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
microsoftgraph/msgraph-metadata#1193 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
ToTriage
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
microsoftgraph/msgraph-metadata#1169 · 1 reacción ·
Los mantenedores suelen responder en 2 días
Todos los issues de microsoftgraph/msgraph-metadata
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
matomo-org/plugin-CustomAlerts#310 ·
Los mantenedores suelen responder en 1 día
-
A CSV row that removes a language with #CLEAR and fills another name of it keeps one of themAbiertobug level:trivial
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
exoego/keycloak-fuhito#666 ·
Los mantenedores suelen responder en 1 día
-
bug size:small
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fb55/htmlparser2#2579 ·
Los mantenedores suelen responder en 1 día