예제 #1
0
 public SwaggerUiFileProvider(string root, SwaggerUiOptions swaggerUiOptions)
 {
     _fileProvider     = new PhysicalFileProvider(root);
     _swaggerUiOptions = swaggerUiOptions;
 }
예제 #2
0
 public SwaggerUiIndexFileInfo(string filePath, SwaggerUiOptions swaggerUiOptions)
 {
     _filePath         = filePath;
     _swaggerUiOptions = swaggerUiOptions;
 }