Repository navigation
Add an Excel template generated from Microsoft Graph's OpenAPI description - #339
Merged
Merged
Conversation
…ption The template offers 44 typed methods for workbooks in OneDrive for Business and SharePoint: finding workbooks, sessions, worksheets, ranges, tables and their rows and columns, named ranges, charts and calculation. It uses the Microsoft account connection and Files.ReadWrite.All scope of the OneDrive template, and the official Excel icon. The OpenAPI generator gains two rules that Graph's workbook API needs: - headers: operations can take inputs the runtime sends as headers the description does not declare. Workbook methods take an optional sessionId, sent as workbook-session-id. - undescribed: operations Graph serves but its description leaves out, sent with another HTTP method to the path of a described operation. updateRange writes a range with a PATCH to the address getRange reads. The generator stops once Graph describes the operation itself. The OneDrive and Outlook templates are regenerated with the shared REST runtime, which now sends header inputs.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | d24ac7c | Nov 23 2026, 02:34 PM |
…rations A later page's input now carries the header inputs of the first, so a sessionId stays typed when a caller follows nextLink. Two undescribed rules that name the same HTTP method and operation stop generation instead of one replacing the other.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
An Excel template.
Files.ReadWrite.Allscope of the OneDrive template, so it needs no new permission.createchange. Updating andcalculateareupdatechanges. Clearing and deleting aredeletechanges. Sessions only read.template.mdcovers the.xlsxrequirement, session lifetimes and unbounded ranges.Generator rules for Graph's workbook API.
headers: an operation can take inputs that the runtime sends as headers the description does not declare. Workbook methods take an optionalsessionId, sent asworkbook-session-id.undescribed: an operation Graph serves but its description leaves out, sent with another HTTP method to the path of a described operation.updateRangewrites a range with a PATCH to the addressgetRangereads. The generator stops once Graph describes the operation itself.Tests
pnpm check, the generator tests, and the Excel, OneDrive and Outlook template tests.

Confidence Score: 5/5
The PR appears safe to merge; both previous findings are fixed and no new blocking issue was found.Summary
Adds an Excel template with 44 typed Microsoft Graph methods, account connections, approvals, and workbook sessions.
Reviews (2) · Last reviewed commit: "Keep header inputs on later pages and re..." · Reviewed by Greptile