From 003c123dbbd8900d94e8e61c442a2bd3b60f7536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Garc=C3=ADa=20Crespo?= Date: Tue, 23 Jul 2024 11:03:58 +0000 Subject: [PATCH] Clarify namespace name conflict --- Makefile | 8 ++++---- kiota/api/v2_location_default_request_builder.go | 2 +- ..._default_with_purpose_item_request_builder.go | 4 ++-- kiota/api/v2_location_request_builder.go | 12 ++++++------ .../v2_location_with_uu_item_request_builder.go | 16 ++++++++-------- kiota/api/v2_pipeline_request_builder.go | 10 +++++----- .../v2_pipeline_with_uu_item_request_builder.go | 10 +++++----- kiota/client.go | 6 +++--- kiota/kiota-lock.json | 4 ++-- 9 files changed, 36 insertions(+), 36 deletions(-) diff --git a/Makefile b/Makefile index e1436de..b5d39b1 100644 --- a/Makefile +++ b/Makefile @@ -31,14 +31,14 @@ examplemocks: $(MOCKGEN) .PHONY: ssclient ssclient: @which kiota > /dev/null 2>&1 || (echo "kiota not found in PATH, download v1.14.0 from: https://learn.microsoft.com/en-ca/openapi/kiota/install" && exit 1) - kiota generate --language go --clean-output --class-name Client --namespace-name github.com/artefactual-labs/ssclient-go/kiota --openapi typespec/tsp-output/@typespec/openapi3/openapi.v1.yaml --output ./kiota + kiota generate --language go --clean-output --class-name Client --namespace-name xgo.artefactual.dev/ssclient/kiota --openapi typespec/tsp-output/@typespec/openapi3/openapi.v1.yaml --output ./kiota $(MAKE) update-kiota-imports .PHONY: update-kiota-imports update-kiota-imports: - # We use `github.com/artefactual-labs/ssclient-go/kiota` as the namespace - # because kiota escapes `go.artefactual.dev/ssclient/kiota`. - find ./kiota -type f -name '*.go' -exec sed -i 's|github.com/artefactual-labs/ssclient-go/kiota/|go.artefactual.dev/ssclient/kiota/|g' {} + + # We use `artefactual.dev/ssclient/kiota` as the namespace because kiota + # excapes `go.artefactual.dev/ssclient/kiota`. See https://github.com/microsoft/kiota/issues/5012 for more details. + find ./kiota -type f -name '*.go' -exec sed -i 's|xgo.artefactual.dev/ssclient/kiota/|go.artefactual.dev/ssclient/kiota/|g' {} + .PHONY: typespec typespec: diff --git a/kiota/api/v2_location_default_request_builder.go b/kiota/api/v2_location_default_request_builder.go index 98f1f43..d2c31c0 100644 --- a/kiota/api/v2_location_default_request_builder.go +++ b/kiota/api/v2_location_default_request_builder.go @@ -8,7 +8,7 @@ import ( type V2LocationDefaultRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ByPurpose gets an item from the github.com/artefactual-labs/ssclient-go/kiota.api.v2.location.default.item collection +// ByPurpose gets an item from the xgo.artefactual.dev/ssclient/kiota.api.v2.location.default.item collection // returns a *V2LocationDefaultWithPurposeItemRequestBuilder when successful func (m *V2LocationDefaultRequestBuilder) ByPurpose(purpose string)(*V2LocationDefaultWithPurposeItemRequestBuilder) { urlTplParams := make(map[string]string) diff --git a/kiota/api/v2_location_default_with_purpose_item_request_builder.go b/kiota/api/v2_location_default_with_purpose_item_request_builder.go index 5a720b0..4375903 100644 --- a/kiota/api/v2_location_default_with_purpose_item_request_builder.go +++ b/kiota/api/v2_location_default_with_purpose_item_request_builder.go @@ -3,7 +3,7 @@ package api import ( "context" i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90 "go.artefactual.dev/ssclient/kiota/models" + if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee "go.artefactual.dev/ssclient/kiota/models" ) // V2LocationDefaultWithPurposeItemRequestBuilder builds and executes requests for operations under \api\v2\location\default\{purpose} @@ -37,7 +37,7 @@ func (m *V2LocationDefaultWithPurposeItemRequestBuilder) Get(ctx context.Context return err } errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "400": i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.CreateErrorEscapedFromDiscriminatorValue, + "400": if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.CreateErrorEscapedFromDiscriminatorValue, } err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) if err != nil { diff --git a/kiota/api/v2_location_request_builder.go b/kiota/api/v2_location_request_builder.go index ea85b5f..86d6da5 100644 --- a/kiota/api/v2_location_request_builder.go +++ b/kiota/api/v2_location_request_builder.go @@ -3,7 +3,7 @@ package api import ( "context" i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90 "go.artefactual.dev/ssclient/kiota/models" + if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee "go.artefactual.dev/ssclient/kiota/models" ) // V2LocationRequestBuilder builds and executes requests for operations under \api\v2\location @@ -18,7 +18,7 @@ type V2LocationRequestBuilderGetQueryParameters struct { Pipeline__uuid *string `uriparametername:"pipeline__uuid"` // Deprecated: This property is deprecated, use PurposeAsLocationPurpose instead Purpose *string `uriparametername:"purpose"` - PurposeAsLocationPurpose *i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.LocationPurpose `uriparametername:"purpose"` + PurposeAsLocationPurpose *if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.LocationPurpose `uriparametername:"purpose"` Quota *int32 `uriparametername:"quota"` Relative_path *string `uriparametername:"relative_path"` Used *int32 `uriparametername:"used"` @@ -33,7 +33,7 @@ type V2LocationRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *V2LocationRequestBuilderGetQueryParameters } -// ByUuid gets an item from the github.com/artefactual-labs/ssclient-go/kiota.api.v2.location.item collection +// ByUuid gets an item from the xgo.artefactual.dev/ssclient/kiota.api.v2.location.item collection // returns a *V2LocationWithUuItemRequestBuilder when successful func (m *V2LocationRequestBuilder) ByUuid(uuid string)(*V2LocationWithUuItemRequestBuilder) { urlTplParams := make(map[string]string) @@ -64,19 +64,19 @@ func (m *V2LocationRequestBuilder) DefaultEscaped()(*V2LocationDefaultRequestBui return NewV2LocationDefaultRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // returns a LocationListable when successful -func (m *V2LocationRequestBuilder) Get(ctx context.Context, requestConfiguration *V2LocationRequestBuilderGetRequestConfiguration)(i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.LocationListable, error) { +func (m *V2LocationRequestBuilder) Get(ctx context.Context, requestConfiguration *V2LocationRequestBuilderGetRequestConfiguration)(if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.LocationListable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.CreateLocationListFromDiscriminatorValue, nil) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.CreateLocationListFromDiscriminatorValue, nil) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.LocationListable), nil + return res.(if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.LocationListable), nil } // returns a *RequestInformation when successful func (m *V2LocationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *V2LocationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/kiota/api/v2_location_with_uu_item_request_builder.go b/kiota/api/v2_location_with_uu_item_request_builder.go index d56ec8a..818639d 100644 --- a/kiota/api/v2_location_with_uu_item_request_builder.go +++ b/kiota/api/v2_location_with_uu_item_request_builder.go @@ -3,7 +3,7 @@ package api import ( "context" i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90 "go.artefactual.dev/ssclient/kiota/models" + if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee "go.artefactual.dev/ssclient/kiota/models" ) // V2LocationWithUuItemRequestBuilder builds and executes requests for operations under \api\v2\location\{uuid} @@ -39,33 +39,33 @@ func NewV2LocationWithUuItemRequestBuilder(rawUrl string, requestAdapter i2ae418 } // returns a Locationable when successful // returns a ErrorEscaped error when the service returns a 400 status code -func (m *V2LocationWithUuItemRequestBuilder) Get(ctx context.Context, requestConfiguration *V2LocationWithUuItemRequestBuilderGetRequestConfiguration)(i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.Locationable, error) { +func (m *V2LocationWithUuItemRequestBuilder) Get(ctx context.Context, requestConfiguration *V2LocationWithUuItemRequestBuilderGetRequestConfiguration)(if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.Locationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err } errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "400": i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.CreateErrorEscapedFromDiscriminatorValue, + "400": if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.CreateErrorEscapedFromDiscriminatorValue, } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.CreateLocationFromDiscriminatorValue, errorMapping) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.CreateLocationFromDiscriminatorValue, errorMapping) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.Locationable), nil + return res.(if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.Locationable), nil } // Post move files to the specified location. // returns a []byte when successful // returns a ErrorEscaped error when the service returns a 400 status code -func (m *V2LocationWithUuItemRequestBuilder) Post(ctx context.Context, body i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.MoveRequestable, requestConfiguration *V2LocationWithUuItemRequestBuilderPostRequestConfiguration)([]byte, error) { +func (m *V2LocationWithUuItemRequestBuilder) Post(ctx context.Context, body if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.MoveRequestable, requestConfiguration *V2LocationWithUuItemRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { return nil, err } errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "400": i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.CreateErrorEscapedFromDiscriminatorValue, + "400": if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.CreateErrorEscapedFromDiscriminatorValue, } res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) if err != nil { @@ -88,7 +88,7 @@ func (m *V2LocationWithUuItemRequestBuilder) ToGetRequestInformation(ctx context } // ToPostRequestInformation move files to the specified location. // returns a *RequestInformation when successful -func (m *V2LocationWithUuItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.MoveRequestable, requestConfiguration *V2LocationWithUuItemRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +func (m *V2LocationWithUuItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.MoveRequestable, requestConfiguration *V2LocationWithUuItemRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) diff --git a/kiota/api/v2_pipeline_request_builder.go b/kiota/api/v2_pipeline_request_builder.go index 1907df8..f0a230a 100644 --- a/kiota/api/v2_pipeline_request_builder.go +++ b/kiota/api/v2_pipeline_request_builder.go @@ -3,7 +3,7 @@ package api import ( "context" i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90 "go.artefactual.dev/ssclient/kiota/models" + if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee "go.artefactual.dev/ssclient/kiota/models" ) // V2PipelineRequestBuilder builds and executes requests for operations under \api\v2\pipeline @@ -23,7 +23,7 @@ type V2PipelineRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *V2PipelineRequestBuilderGetQueryParameters } -// ByUuid gets an item from the github.com/artefactual-labs/ssclient-go/kiota.api.v2.pipeline.item collection +// ByUuid gets an item from the xgo.artefactual.dev/ssclient/kiota.api.v2.pipeline.item collection // returns a *V2PipelineWithUuItemRequestBuilder when successful func (m *V2PipelineRequestBuilder) ByUuid(uuid string)(*V2PipelineWithUuItemRequestBuilder) { urlTplParams := make(map[string]string) @@ -49,19 +49,19 @@ func NewV2PipelineRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 return NewV2PipelineRequestBuilderInternal(urlParams, requestAdapter) } // returns a PipelineListable when successful -func (m *V2PipelineRequestBuilder) Get(ctx context.Context, requestConfiguration *V2PipelineRequestBuilderGetRequestConfiguration)(i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.PipelineListable, error) { +func (m *V2PipelineRequestBuilder) Get(ctx context.Context, requestConfiguration *V2PipelineRequestBuilderGetRequestConfiguration)(if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.PipelineListable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.CreatePipelineListFromDiscriminatorValue, nil) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.CreatePipelineListFromDiscriminatorValue, nil) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.PipelineListable), nil + return res.(if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.PipelineListable), nil } // returns a *RequestInformation when successful func (m *V2PipelineRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *V2PipelineRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/kiota/api/v2_pipeline_with_uu_item_request_builder.go b/kiota/api/v2_pipeline_with_uu_item_request_builder.go index c431d00..3b97739 100644 --- a/kiota/api/v2_pipeline_with_uu_item_request_builder.go +++ b/kiota/api/v2_pipeline_with_uu_item_request_builder.go @@ -3,7 +3,7 @@ package api import ( "context" i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90 "go.artefactual.dev/ssclient/kiota/models" + if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee "go.artefactual.dev/ssclient/kiota/models" ) // V2PipelineWithUuItemRequestBuilder builds and executes requests for operations under \api\v2\pipeline\{uuid} @@ -32,22 +32,22 @@ func NewV2PipelineWithUuItemRequestBuilder(rawUrl string, requestAdapter i2ae418 } // returns a Pipelineable when successful // returns a ErrorEscaped error when the service returns a 400 status code -func (m *V2PipelineWithUuItemRequestBuilder) Get(ctx context.Context, requestConfiguration *V2PipelineWithUuItemRequestBuilderGetRequestConfiguration)(i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.Pipelineable, error) { +func (m *V2PipelineWithUuItemRequestBuilder) Get(ctx context.Context, requestConfiguration *V2PipelineWithUuItemRequestBuilderGetRequestConfiguration)(if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.Pipelineable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err } errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "400": i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.CreateErrorEscapedFromDiscriminatorValue, + "400": if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.CreateErrorEscapedFromDiscriminatorValue, } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.CreatePipelineFromDiscriminatorValue, errorMapping) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.CreatePipelineFromDiscriminatorValue, errorMapping) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(i4542e4a18d89521068e4fdd8b8a4838f8ff1e57b1ea39592474927024654da90.Pipelineable), nil + return res.(if24bd427556b5f40ce1336ebc33d491ebd9ce71ce225ad2b47d523c1b0f25dee.Pipelineable), nil } // returns a *RequestInformation when successful func (m *V2PipelineWithUuItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *V2PipelineWithUuItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/kiota/client.go b/kiota/client.go index 32bd5c8..7665af8 100644 --- a/kiota/client.go +++ b/kiota/client.go @@ -6,8 +6,8 @@ import ( i4bcdc892e61ac17e2afc10b5e2b536b29f4fd6c1ad30f4a5a68df47495db3347 "github.com/microsoft/kiota-serialization-form-go" i56887720f41ac882814261620b1c8459c4a992a0207af547c4453dd39fabc426 "github.com/microsoft/kiota-serialization-multipart-go" i7294a22093d408fdca300f11b81a887d89c47b764af06c8b803e2323973fdb83 "github.com/microsoft/kiota-serialization-text-go" + i770b03eacb8340418cb3e695c2d81c4a1e893c9f1722f38ff6b48d33752418e0 "go.artefactual.dev/ssclient/kiota/api" i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ia1132f66e4c4eaa349246b10527385d3b7e3de15ae69c27b2dce3bfa7f62dee2 "go.artefactual.dev/ssclient/kiota/api" ) // Client the main entry point of the SDK, exposes the configuration and the fluent API. @@ -16,8 +16,8 @@ type Client struct { } // Api the api property // returns a *ApiRequestBuilder when successful -func (m *Client) Api()(*ia1132f66e4c4eaa349246b10527385d3b7e3de15ae69c27b2dce3bfa7f62dee2.ApiRequestBuilder) { - return ia1132f66e4c4eaa349246b10527385d3b7e3de15ae69c27b2dce3bfa7f62dee2.NewApiRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +func (m *Client) Api()(*i770b03eacb8340418cb3e695c2d81c4a1e893c9f1722f38ff6b48d33752418e0.ApiRequestBuilder) { + return i770b03eacb8340418cb3e695c2d81c4a1e893c9f1722f38ff6b48d33752418e0.NewApiRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // NewClient instantiates a new Client and sets the default values. func NewClient(requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*Client) { diff --git a/kiota/kiota-lock.json b/kiota/kiota-lock.json index 442bebf..3e07fdd 100644 --- a/kiota/kiota-lock.json +++ b/kiota/kiota-lock.json @@ -1,10 +1,10 @@ { - "descriptionHash": "6A474F3CC2C958FBD9951A800B9346F6CBB00A0DAD139711537FDBD49A071E8ACE73DC0ED12BAA735DE36FD1AF10D7AAFF8C21C67B86FD27645D12DC4DF93117", + "descriptionHash": "605ECC23D2F19BC8758185B460F3D427B2F2645D16DF4EE419F0CAB40EADA894BD07C667E4A616D5D0F5AE4076CD68BF11A56C37A3D4F16D872052215F646A22", "descriptionLocation": "../typespec/tsp-output/@typespec/openapi3/openapi.v1.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.16.0", "clientClassName": "Client", - "clientNamespaceName": "github.com/artefactual-labs/ssclient-go/kiota", + "clientNamespaceName": "xgo.artefactual.dev/ssclient/kiota", "language": "Go", "usesBackingStore": false, "excludeBackwardCompatible": false,