Skip to content

Restore OAuth endpoints in Identity OpenAPI - #21

Merged
PANiXiDA merged 2 commits into
developmentfrom
feature/restore-oauth-openapi
Aug 2, 2026
Merged

Restore OAuth endpoints in Identity OpenAPI#21
PANiXiDA merged 2 commits into
developmentfrom
feature/restore-oauth-openapi

Conversation

@PANiXiDA

@PANiXiDA PANiXiDA commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

What changed

  • updated PANiXiDA.Core.Presentation.Http from 2.0.6 to 2.0.7;
  • added a functional regression test that verifies all OAuth /connect/* paths are present in /openapi/identity.json;
  • allowed the functional test factory to create a dedicated Development host for development-only OpenAPI endpoints while keeping all existing tests in Test.

Why

Version 2.0.6 did not attach HTTP module metadata when endpoint groups used the custom RouteGroupBuilder overload. The module-specific OpenAPI filter therefore excluded the OAuth group from the Identity document and Scalar navigation.

Version 2.0.7 attaches the registered module metadata to custom route groups, restoring OAuth endpoints in the Identity API document.

Verification

  • dotnet restore PANiXiDA.TacticalHeroes.slnx
  • dotnet format PANiXiDA.TacticalHeroes.slnx --verify-no-changes --no-restore
  • dotnet build tests/Identity/PANiXiDA.TacticalHeroes.Identity.FunctionalTests/PANiXiDA.TacticalHeroes.Identity.FunctionalTests.csproj --configuration Release --no-restore
  • resolved package version: 2.0.7
  • CI run 30749341472: all test projects, aggregated reports, and coverage threshold passed
  • local tests were not run by request

Compatibility

  • migrations: none;
  • request and response contracts: unchanged;
  • configuration changes: none;
  • breaking changes: none.

@PANiXiDA
PANiXiDA marked this pull request as ready for review August 2, 2026 13:14
@PANiXiDA
PANiXiDA merged commit c1b3fdb into development Aug 2, 2026
18 checks passed
@PANiXiDA
PANiXiDA deleted the feature/restore-oauth-openapi branch August 2, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants