microsoftgraph / microsoftgraph/msgraph-metadata

/sites/{hostname}:/{relative-path} missing in OpenAPI description

Open
#404 2 comments 0 reactions 1 assignee View on GitHub

@irvinesunday is already working on this.

Since Aug 30, 2023.

Area: SDK metadata-issue Needs: Investigation priority:p1
Dominant language
XSLT
Stars
166
Forks
55
Avg merge
16h 12m
Merged PRs (30d)
14

Description

Path
/sites/{hostname}:/{relative-path} is missing in OpenAPI description.

Docs: https://learn.microsoft.com/en-us/graph/api/site-getbypath?view=graph-rest-1.0

Raptor report:
Original HTTP Snippet:
GET /v1.0/sites/{hostname}:/{relative-path} HTTP/1.1
Host: graph.microsoft.com

Exception while processing /home/vsts/work/1/a/Snippets/get-site-by-hostname-and-path-v1-httpSnippet.
Path segment '{relative-path}' not found in path
at CodeSnippetsReflection.OpenAPI.SnippetModel.LoadPathNodes(OpenApiUrlTreeNode node, IEnumerable1 pathSegments, HttpMethod httpMethod) at CodeSnippetsReflection.OpenAPI.SnippetModel.LoadPathNodes(OpenApiUrlTreeNode node, IEnumerable1 pathSegments, HttpMethod httpMethod)
at CodeSnippetsReflection.OpenAPI.SnippetModel.LoadPathNodes(OpenApiUrlTreeNode node, IEnumerable`1 pathSegments, HttpMethod httpMethod)
at CodeSnippetsReflection.OpenAPI.SnippetModel..ctor(HttpRequestMessage requestPayload, String serviceRootUrl, OpenApiSnippetMetadata openApiSnippetMetadata) in /home/vsts/work/1/s/microsoft-graph-devx-api/CodeSnippetsReflection.OpenAPI/SnippetModel.cs:line 39
at CodeSnippetsReflection.OpenAPI.OpenApiSnippetsGenerator.ProcessPayloadRequest(HttpRequestMessage requestPayload, String language) in /home/vsts/work/1/s/microsoft-graph-devx-api/CodeSnippetsReflection.OpenAPI/OpenAPISnippetsGenerator.cs:line 57
at CodeSnippetsReflection.App.Program.ProcessFile(ISnippetsGenerator generator, String language, String file) in /home/vsts/work/1/s/microsoft-graph-devx-api/CodeSnippetsReflection.App/Program.cs:line 156

Stack trace:

at CodeSnippetsPipeline.Test.CodeSnippetsPipeline.Test(String httpSnippetFilePath, String language) in /home/vsts/work/1/s/CodeSnippetsPipeline.Test/CodeSnippetsPipeline.cs:line 56
at InvokeStub_CodeSnippetsPipeline.Test(Object, Object, IntPtr*)

at CodeSnippetsPipeline.Test.CodeSnippetsPipeline.Test(String httpSnippetFilePath, String language) in /home/vsts/work/1/s/CodeSnippetsPipeline.Test/CodeSnippetsPipeline.cs:line 56
at InvokeStub_CodeSnippetsPipeline.Test(Object, Object, IntPtr*)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.