nextapps-be / laravel-swagger-ui

Add Swagger UI to a Laravel application.
MIT License
160 stars 20 forks source link

Adding two options #4

Closed jamesRUS52 closed 3 years ago

jamesRUS52 commented 3 years ago
  1. local_server_only:bool (allow to use list of servers from openapi.json
  2. api_base_path (allow to use different path of api endpoints)
gdebrauwer commented 3 years ago

I think that it might be a bit more future-proof if we just define a simple 'servers' config variable. Then you have complete freedom in which servers you want to use in your openapi file.