File tree Expand file tree Collapse file tree 4 files changed +26
-5
lines changed
src/QAToolKit.Source.Swagger Expand file tree Collapse file tree 4 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFrameworks >netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks >
5+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
56 <LangVersion >latest</LangVersion >
67
78 <!-- NuGet Metadata -->
1011 <PackageId >QAToolKit.Source.Swagger</PackageId >
1112 <Authors >QAToolKit</Authors >
1213 <Description >
13- QAToolKit Swagger library, that parses Swagger files and produces a common list of HTTP requests.
14+ QAToolKit Swagger library, that parses Swagger files and produces a common list of HTTP requests.
1415 </Description >
1516 <PackageRequireLicenseAcceptance >false</PackageRequireLicenseAcceptance >
1617 <PackageLicenseFile >LICENSE</PackageLicenseFile >
2122 <Configurations >Debug;Release;Debug With Project References</Configurations >
2223 </PropertyGroup >
2324
25+ <PropertyGroup >
26+ <DocumentationFile >bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile >
27+ </PropertyGroup >
28+
2429 <ItemGroup >
2530 <None Include =" ..\..\qatoolkit-64x64.png" Pack =" true" PackagePath =" \" />
2631 <None Include =" ..\..\LICENSE" Pack =" true" PackagePath =" " />
2732 </ItemGroup >
2833
2934 <ItemGroup >
30- <PackageReference Include =" Microsoft.OpenApi" Version =" 1.2.3" />
31- <PackageReference Include =" Microsoft.OpenApi.Readers" Version =" 1.2.3" />
32- <PackageReference Include =" QAToolKit.Core" Version =" 0.1.0" />
35+ <PackageReference Include =" Microsoft.OpenApi" Version =" 1.2.3" />
36+ <PackageReference Include =" Microsoft.OpenApi.Readers" Version =" 1.2.3" />
37+ <PackageReference Include =" QAToolKit.Core" Version =" 0.1.0" />
3338 </ItemGroup >
3439
3540</Project >
Original file line number Diff line number Diff line change 88
99namespace QAToolKit . Source . Swagger
1010{
11+ /// <summary>
12+ /// Swagger file source
13+ /// </summary>
1114 public class SwaggerFileSource : ITestSource < IList < FileInfo > , IList < HttpTestRequest > >
1215 {
1316 private SwaggerOptions _swaggerOptions ;
1417
18+ /// <summary>
19+ /// New instance of swagger file source
20+ /// </summary>
21+ /// <param name="options"></param>
1522 public SwaggerFileSource ( Action < SwaggerOptions > options = null )
1623 {
1724 _swaggerOptions = new SwaggerOptions ( ) ;
Original file line number Diff line number Diff line change 77
88namespace QAToolKit . Source . Swagger
99{
10+ /// <summary>
11+ /// Swagger processor
12+ /// </summary>
1013 public class SwaggerProcessor
1114 {
1215 /// <summary>
Original file line number Diff line number Diff line change 1111
1212namespace QAToolKit . Source . Swagger
1313{
14+ /// <summary>
15+ /// Swagger Url source
16+ /// </summary>
1417 public class SwaggerUrlSource : ITestSource < Uri [ ] , IList < HttpTestRequest > >
1518 {
1619 private SwaggerOptions _swaggerOptions ;
1720
21+ /// <summary>
22+ /// Swagger Url source constructor
23+ /// </summary>
24+ /// <param name="options"></param>
1825 public SwaggerUrlSource ( Action < SwaggerOptions > options = null )
1926 {
2027 _swaggerOptions = new SwaggerOptions ( ) ;
@@ -25,7 +32,6 @@ public SwaggerUrlSource(Action<SwaggerOptions> options = null)
2532 /// Load swagger files from the URL and apply loader settings if necessary
2633 /// </summary>
2734 /// <param name="source"></param>
28- /// <param name="options"></param>
2935 /// <returns></returns>
3036 public async Task < IList < HttpTestRequest > > Load ( Uri [ ] source )
3137 {
You can’t perform that action at this time.
0 commit comments