JustSteveKing / laravel-redoc

A simple API documentation package for Laravel using OpenAPI and Redoc
MIT License
75 stars 11 forks source link

Feature - Route Middleware #6

Closed johnathanmdell closed 2 years ago

johnathanmdell commented 2 years ago

Problem - Redoc route is public and unprotected

Solution - Optional middleware in route configuration, user can specify which middleware the route is covered by, fallback to empty array if middleware config is missing for backwards compatibility with older configs.