Skip to content

feat: add typed response models and convenience constructor#6

Merged
Logan Cook (MWG-Logan) merged 1 commit into
mainfrom
dev
May 22, 2026
Merged

feat: add typed response models and convenience constructor#6
Logan Cook (MWG-Logan) merged 1 commit into
mainfrom
dev

Conversation

@MWG-Logan
Copy link
Copy Markdown
Member

feat: add typed response models and convenience constructor

  • Fix OpenAPI spec: convert 115 "default" response keys to "200" so
    Kiota generates typed return values (SendCollectionAsync/SendAsync)
    instead of SendPrimitiveAsync
  • Regenerate Kiota client with typed models for all GET endpoints
  • Add StaticAccessTokenProvider and NinjaOneClient.Create() factory method
    to eliminate consumer boilerplate
  • Bump package version to 1.1.0

- Fix OpenAPI spec: convert 115 "default" response keys to "200" so
  Kiota generates typed return values (SendCollectionAsync<T>/SendAsync<T>)
  instead of SendPrimitiveAsync<Stream>
- Regenerate Kiota client with typed models for all GET endpoints
- Add StaticAccessTokenProvider and NinjaOneClient.Create() factory method
  to eliminate consumer boilerplate
- Bump package version to 1.1.0
Copilot AI review requested due to automatic review settings May 22, 2026 04:06
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@MWG-Logan Logan Cook (MWG-Logan) merged commit d33b6be into main May 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants