Repository navigation
0.0.2-preview
Pre-release
Pre-release
Release Notes
Features & Improvements
Expanded Example Coverage:
- Added
UsersControllerandTypesControllerto the example project, demonstrating a wide variety of HTTP methods, route patterns, primitive and nullable types, and object results.
Robust Argument Mapping:
- Introduced a flexible argument mapping system using handler classes for [FromBody], [FromHeader], and default/fallback scenarios.
- Added ParameterMapper and multiple IMethodArgumentHandler implementations for extensible parameter binding.
API Result Handling Overhaul:
- Unified and simplified result handling by removing specialized handlers (OkObjectResultHandler, BadRequestObjectResultHandler) in favor of a more general
ObjectResultHandlerand others. - All result handlers now support an expectedStructuredContent flag for better structured vs. text response control.
- Improved error and status code handling with new StatusCodeResultHandler and enhanced DefaultResultHandler.
Swagger/OpenAPI Integration:
- Improved input schema generation to support request body parameters and more accurate OpenAPI schema conversion.
- Output schema generation now gracefully handles unsupported array schemas.
Serialization Enhancements:
- Updated
JsonSerializerOptionsto ignore null values by default for cleaner output.
Testing & Maintenance
Test Suite Updates:
- Updated tests to match new handler signatures and behaviors.
- Removed obsolete or redundant test files for deleted handlers.
- Improved test coverage for various result and argument mapping scenarios.