Stefan Tsalapatis - 276 - May 5, 2014

How we can add  summary, notes  in Routes  using the Fluid API ?
People love swagger,  our  analyst  wants to write the description, using our web interface. We use Fluid API,  so  we are able to fetch the updated descriptions,  before AppHost Routing. But in Fluid API, there are not public parameters for summary / notes, as in classic  Route attribute.

The API is here:

You can also add attributes dynamically, e.g:
  .AddAttributes(new ApiAttribute(“Description”));

Which you can do for all attributes including the Swagger Attributes:

Note: Because the [Route] attribute are loaded before AppHost.Configure() if you to add them dynamically you’d need to add earlier like in the AppHost constructor.