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