Skip to content

Develop#4

Merged
raulidavid merged 2 commits intomainfrom
develop
Oct 18, 2025
Merged

Develop#4
raulidavid merged 2 commits intomainfrom
develop

Conversation

@raulidavid
Copy link
Copy Markdown
Owner

No description provided.

Moved the `services.AddScoped<ISriClient, SriClient>();` line in the `AddInfrastructureServices` method to occur just before the `return services;` statement. This adjustment ensures proper execution flow and aligns the service registration order for better maintainability.
Centralized NSwag client configuration by introducing `NswagBase`
and `NswagConfiguration`, simplifying `HttpClient` and base URL
management. Updated namespaces from `Jiban.Nswag` to
`Jiban.Infrastructure.Nswag` for better alignment with the
Infrastructure layer.

Updated `Jiban.Multitenant` package to version `9.12.872`.
Reorganized file structure by moving `Platform.cs` to the `Nswag`
directory. Removed unused `using` directives and redundant
properties like `BaseUrl` in generated clients.

Updated `config.nswag` to use the new base class and configuration
class, disable `BaseUrl` generation, and enable response wrapping
with `SwaggerResponse`. Adjusted Swagger UI title in `Program.cs`
to reflect branding changes.

Improved maintainability, modularity, and consistency across the
codebase.
@raulidavid raulidavid merged commit 61e849d into main Oct 18, 2025
2 of 3 checks passed
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