Burgyn / MMLib.SwaggerForOcelot

This repo contains swagger extension for ocelot.
MIT License
354 stars 95 forks source link

[Question] What is the purpose of PathToSwaggerGenerator? #319

Open mark-buhagiar opened 1 week ago

mark-buhagiar commented 1 week ago

Apologies for the thick question, but I'm unable to find answer to the question.

I currently have my setup as follows:

  app.UseSwagger().UseSwaggerForOcelotUI(opt =>
  {
      opt.PathToSwaggerGenerator = "/swagger/docs";
  })

However, I was trying to figure out what the swagger generator actually is, or is doing, and removing it made no difference. Happy to be pointed to some documentation and told to read!

Thanks