Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds package type field #10

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion extensions/x-ms-kiota-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Properties are optional unless specified otherwise.
| clientNamespaceName |string | The namespace to use for all the generated classes(where supported by the language writer).|
| structuredMimeTypes | string[]| Array of strings identifying media types used to represent structured types.|
| dependencyInstallCommand | string | A template for a command to be used to install dependencies for use with the API|
| dependencies | package[]] | An array of packages that the generated client code is dependent on.|
| dependencies | package[] | An array of packages that the generated client code is dependent on.|

## package Object

Expand All @@ -40,6 +40,7 @@ An object that represents a package dependency that is required for the generate
|---|---|---|
| name | string| *Required* Name of package|
| version | string| *Required* Version of the package |
| type | string | *Optional* Type of the package between abstractions, serialization, http, authentication, bundle, additional |

## Schema

Expand Down Expand Up @@ -67,6 +68,7 @@ $defs:
properties:
name: { type: string }
version: { type: string }
type: {type: string }
```

## Example
Expand All @@ -86,6 +88,7 @@ x-ms-kiota-info:
dependencies:
- name: Microsoft.Graph.Core
version: 3.0.0
type: bundle
structuredMimeTypes:
- application/json
servers:
Expand Down