Update FedEx API integration and refactor related classes #46
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.
This commit includes a major update to the FedEx API integration and a significant refactoring of related classes. The
Newtonsoft.Json
package was updated, and several interfaces and their implementations were removed, includingIFedExAuthClient
andFedExAuthClient
. TheFedExServiceCollectionExtensions
class was updated, replacing theAddFedExAuthApiClient
method withAddFedExApiClients
. Several OpenApi references were added inEasyKeys.Shipping.FedEx.Abstractions.csproj
, and theAuthRequestMiddleware
class was updated to useIFedexApiAuthenticatorService
. A newAuthorizationApi.cs
file was added, and changes were made to theauthorization.json
file. TheJsonSerializerOptions
property inFedExApiOptions
class was replaced withJsonSerializerSettings
, and a new namespaceEasyKeys.Shipping.FedEx.Abstractions.Services
was added. Several classes related to address validation and rates and transit times were removed. TheFedexRateProvider.cs
file was significantly refactored, and a new methodAddRestApiFedExRateProvider
was added to theFedExShippingServiceCollectionExtensions
class. A new classFedExShipmentProvider
was added, and changes were made to the namespaces of several classes. Changes were also made toFedExRateProviderTests.cs
andFedExShipmentProvider.cs
.