Skip to content

Comments

Fix/multitenancy aspnetcore#48

Merged
mheidari988 merged 2 commits intomainfrom
fix/multitenancy-aspnetcore
Jan 13, 2026
Merged

Fix/multitenancy aspnetcore#48
mheidari988 merged 2 commits intomainfrom
fix/multitenancy-aspnetcore

Conversation

@mheidari988
Copy link
Contributor

Summary

  • Fix minimal API OpenAPI route detection by falling back to endpoint metadata and display names so {tenantId} stays in Swagger paths, with regression tests.
  • Switch the multitenancy sample to local project references and refresh the generated OpenAPI spec to reflect tenant routes.

Testing

  • dotnet test
  • Other (add details):

Checklist

  • Includes docs/changelog updates if user-facing
  • Adds/updates tests
  • Keeps public API surface minimal and backward compatible (or documents breaking change)
  • PR scoped to a single concern/module where possible

Notes

  • Breaking changes? If yes, describe impact and migration.
    • None.
  • Related issues/links:
    • N/A

fallback to endpoint metadata and display names when attribute templates are missing
add regression tests for minimal api route templates
switch sample references to local multitenancy projects and update docs
auto-refresh the sample OpenAPI spec to include tenant routes
@mheidari988 mheidari988 self-assigned this Jan 13, 2026
@mheidari988 mheidari988 merged commit cec5a9d into main Jan 13, 2026
2 checks passed
@mheidari988 mheidari988 deleted the fix/multitenancy-aspnetcore branch January 13, 2026 19:03
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.

1 participant