microsoftgraph / microsoftgraph/msgraph-metadata

POST not found for /onenote/sectionGroups/{id}/sectionGroups

Open
#403 1 comment 0 reactions 1 assignee View on GitHub

@irvinesunday is already working on this.

Since Aug 30, 2023.

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

Description

For the paths:
me/onenote/sectionGroups/{id}/sectionGroups and
users/{user-id}/onenote/sectionGroups/{id}/sectionGroups there is not POST method defined in the OpenAPI description.

Documentation: https://learn.microsoft.com/en-us/graph/api/sectiongroup-post-sectiongroups?view=graph-rest-1.0&tabs=http

Raptor report:

Original HTTP Snippet:
POST /v1.0/me/onenote/sectionGroups/{id}/sectionGroups HTTP/1.1
Content-type: application/json
Host: graph.microsoft.com
Content-Length: 45

{
"displayName": "Section group name"
}

Exception while processing /home/vsts/work/1/a/Snippets/create-sectiongroup-from-sectiongroup-v1-httpSnippet.
HTTP Method 'POST' not found for 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, IEnumerable1 pathSegments, HttpMethod httpMethod) 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, IEnumerable1 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.