Skip to content

Comments

Samples/add multitenancy samples v2#47

Merged
mheidari988 merged 2 commits intomainfrom
samples/add-multitenancy-samples-v2
Jan 13, 2026
Merged

Samples/add multitenancy samples v2#47
mheidari988 merged 2 commits intomainfrom
samples/add-multitenancy-samples-v2

Conversation

@mheidari988
Copy link
Contributor

Summary

  • Fix OpenAPI generation for minimal APIs so tenant route parameters are preserved by reading RoutePattern when attribute templates are missing, with regression tests.
  • Bump the multitenancy sample/docs to v0.2.7 package references.

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 RoutePattern when attribute templates are missing so tenant paths retain {tenantId} in ApiExplorer
test the RoutePattern fallback to prevent regressions
update sample project references and docs to reflect the v0.2.7 package versions
@mheidari988 mheidari988 self-assigned this Jan 13, 2026
@mheidari988 mheidari988 merged commit aeb0d14 into main Jan 13, 2026
2 checks passed
@mheidari988 mheidari988 deleted the samples/add-multitenancy-samples-v2 branch January 13, 2026 13:33
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