示例#1
0
 private void ConfigureHeaderVersioning(SwaggerGenOptions options, HeaderVersioningScheme versioningScheme)
 {
     options.OperationFilter <HeaderVersioningOperationFilter>(versioningScheme);
 }
示例#2
0
 public HeaderVersioningOperationFilter(HeaderVersioningScheme scheme)
 {
     _scheme = scheme;
 }