feat: PhaseTwo API SDK generated via Kiota#175
feat: PhaseTwo API SDK generated via Kiota#175curiousvlxd wants to merge 1 commit intoNikiforovAll:mainfrom
Conversation
|
I've followed such repetitive namespace naming, please let me know if it's correct: |
There was a problem hiding this comment.
Pull Request Overview
Introduces a Kiota-generated C# SDK for the PhaseTwo Keycloak Admin API, providing client, models, and DI extensions.
- Adds
kiota-lock.jsonto lock generator settings. - Provides
ServiceCollectionExtensionsandPhaseTwoAdminClientOptionsfor DI setup. - Includes generated
PhaseTwoAdminApiClient, Models, RequestBuilders, and a new project file.
Reviewed Changes
Copilot reviewed 91 out of 91 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/PhaseTwo.AuthServices.Sdk.Kiota/kiota-lock.json | Stores Kiota generator configuration |
| src/PhaseTwo.AuthServices.Sdk.Kiota/ServiceCollectionExtensions.cs | Adds DI extension methods for the client |
| src/PhaseTwo.AuthServices.Sdk.Kiota/PhaseTwoAuthServices.Sdk.Kiota.csproj | Defines project metadata and package settings |
Comments suppressed due to low confidence (1)
src/PhaseTwo.AuthServices.Sdk.Kiota/ServiceCollectionExtensions.cs:147
- [nitpick] The explicit assignment of
options.SslRequiredduplicates the input; consider removing it or documenting why it’s needed to reduce redundant code.
// redundant
|
@curiousvlxd thank you for the contribution, and sorry for the late reply. I think it is better to create Are there any blockers that stop us from moving this one to the contrib repo? |
Hi @NikiforovAll!
PhaseTwo is a set of extensions for Keycloak's Admin API, enabling advanced multi-tenancy, user, and organization management.
This PR introduces a Kiota-generated SDK for the PhaseTwo Admin API, based on the OpenAPI specification:
🔗 https://raw.githubusercontent.com/p2-inc/phasetwo-docs/main/openapi.yaml
To be done