-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4095 from microsoft/andrueastman/untypedNodes
[Generation] Untyped node support
- Loading branch information
Showing
28 changed files
with
369 additions
and
170 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,99 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: nuget | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- generator | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: nuget | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- generator | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
|
||
|
||
- package-ecosystem: nuget | ||
directory: "/it/csharp" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
- package-ecosystem: nuget | ||
directory: "/it/csharp" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
|
||
- package-ecosystem: gomod | ||
directory: "/it/go" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
- package-ecosystem: gomod | ||
directory: "/it/go" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
|
||
- package-ecosystem: composer | ||
directory: "/it/php" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
- package-ecosystem: composer | ||
directory: "/it/php" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
|
||
- package-ecosystem: pip | ||
directory: "/it/python" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
- package-ecosystem: pip | ||
directory: "/it/python" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
|
||
- package-ecosystem: bundler | ||
directory: "/it/ruby" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
- package-ecosystem: bundler | ||
directory: "/it/ruby" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
|
||
- package-ecosystem: npm | ||
directory: "/it/typescript" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
- package-ecosystem: maven | ||
directory: "/it/java" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
|
||
- package-ecosystem: npm | ||
directory: "/vscode/microsoft-kiota" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
eslint: | ||
patterns: | ||
- "*eslint*" | ||
- package-ecosystem: npm | ||
directory: "/it/typescript" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
kiota-dependencies: | ||
patterns: | ||
- "*kiota*" | ||
|
||
- package-ecosystem: npm | ||
directory: "/vscode/microsoft-kiota" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
groups: | ||
eslint: | ||
patterns: | ||
- "*eslint*" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// This is a temporary file to be used until the code is generated and will be overwritten. | ||
package client | ||
|
||
import ( | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" | ||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" | ||
i4bcdc892e61ac17e2afc10b5e2b536b29f4fd6c1ad30f4a5a68df47495db3347 "github.com/microsoft/kiota-serialization-form-go" | ||
i25911dc319edd61cbac496af7eab5ef20b6069a42515e22ec6a9bc97bf598488 "github.com/microsoft/kiota-serialization-json-go" | ||
i56887720f41ac882814261620b1c8459c4a992a0207af547c4453dd39fabc426 "github.com/microsoft/kiota-serialization-multipart-go" | ||
i7294a22093d408fdca300f11b81a887d89c47b764af06c8b803e2323973fdb83 "github.com/microsoft/kiota-serialization-text-go" | ||
) | ||
|
||
// ApiClient the main entry point of the SDK, exposes the configuration and the fluent API. | ||
type ApiClient struct { | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder | ||
} | ||
|
||
// NewApiClient instantiates a new ApiClient and sets the default values. | ||
func NewApiClient(requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ApiClient { | ||
m := &ApiClient{ | ||
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}", map[string]string{}), | ||
} | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RegisterDefaultSerializer(func() i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriterFactory { | ||
return i25911dc319edd61cbac496af7eab5ef20b6069a42515e22ec6a9bc97bf598488.NewJsonSerializationWriterFactory() | ||
}) | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RegisterDefaultSerializer(func() i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriterFactory { | ||
return i7294a22093d408fdca300f11b81a887d89c47b764af06c8b803e2323973fdb83.NewTextSerializationWriterFactory() | ||
}) | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RegisterDefaultSerializer(func() i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriterFactory { | ||
return i4bcdc892e61ac17e2afc10b5e2b536b29f4fd6c1ad30f4a5a68df47495db3347.NewFormSerializationWriterFactory() | ||
}) | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RegisterDefaultSerializer(func() i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriterFactory { | ||
return i56887720f41ac882814261620b1c8459c4a992a0207af547c4453dd39fabc426.NewMultipartSerializationWriterFactory() | ||
}) | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RegisterDefaultDeserializer(func() i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNodeFactory { | ||
return i25911dc319edd61cbac496af7eab5ef20b6069a42515e22ec6a9bc97bf598488.NewJsonParseNodeFactory() | ||
}) | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RegisterDefaultDeserializer(func() i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNodeFactory { | ||
return i7294a22093d408fdca300f11b81a887d89c47b764af06c8b803e2323973fdb83.NewTextParseNodeFactory() | ||
}) | ||
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RegisterDefaultDeserializer(func() i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNodeFactory { | ||
return i4bcdc892e61ac17e2afc10b5e2b536b29f4fd6c1ad30f4a5a68df47495db3347.NewFormParseNodeFactory() | ||
}) | ||
if m.BaseRequestBuilder.RequestAdapter.GetBaseUrl() == "" { | ||
m.BaseRequestBuilder.RequestAdapter.SetBaseUrl("https://localhost/v2") | ||
} | ||
m.BaseRequestBuilder.PathParameters["baseurl"] = m.BaseRequestBuilder.RequestAdapter.GetBaseUrl() | ||
return m | ||
} |
This file contains 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
Oops, something went wrong.