SwaggerServer constructor

const SwaggerServer({
  1. required String url,
  2. required String description,
})

In OpenAPI 3.0, you use the servers array to specify one or more base URLs for your API

Implementation

const SwaggerServer({
  required this.url,
  required this.description,
});