Skip to content

Commit 7e579ae

Browse files
committed
xml comments
1 parent 6bf54eb commit 7e579ae

File tree

4 files changed

+26
-5
lines changed

4 files changed

+26
-5
lines changed

src/QAToolKit.Source.Swagger/QAToolKit.Source.Swagger.csproj

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
5+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
56
<LangVersion>latest</LangVersion>
67

78
<!-- NuGet Metadata -->
@@ -10,7 +11,7 @@
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>
@@ -21,15 +22,19 @@
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>

src/QAToolKit.Source.Swagger/SwaggerFileSource.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,17 @@
88

99
namespace 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();

src/QAToolKit.Source.Swagger/SwaggerProcessor.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
namespace QAToolKit.Source.Swagger
99
{
10+
/// <summary>
11+
/// Swagger processor
12+
/// </summary>
1013
public class SwaggerProcessor
1114
{
1215
/// <summary>

src/QAToolKit.Source.Swagger/SwaggerUrlSource.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@
1111

1212
namespace 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
{

0 commit comments

Comments
 (0)