Enhanced Route Parameters
This release improves how Laravel-style route parameters are translated to WordPress REST API format, addressing issues with parameter handling for complex routes.
Key Improvements:
- Fixed parameter handling in routes with camelCase format (e.g., {postId} → post_id)
- Resolved empty args array issue in route registration for parameter-containing routes
- Enhanced parameter type detection for REST API documentation
- Improved compatibility between Laravel-style route patterns and WordPress REST schema
- Maintained backward compatibility with existing route structure and tests
These fixes ensure proper REST API documentation generation and consistent parameter access in controllers regardless of parameter naming convention. Routes with complex parameter structures now correctly generate argument schemas for WordPress REST API.