This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented inheritdoc support for XML parser domaindrivendev/Swashbu…
- Loading branch information
Showing
7 changed files
with
206 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
test/DotSwashbuckle.AspNetCore.SwaggerGen.Test/DotSwashbuckle.AspNetCore.SwaggerGen.Test.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
...ashbuckle.AspNetCore.SwaggerGen.Test/Fixtures/FakeControllerWithInfiniteLoopInheritDoc.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
|
||
namespace DotSwashbuckle.AspNetCore.SwaggerGen.Test | ||
{ | ||
/// <inheritdoc cref = "FakeControllerWithXmlComments" /> | ||
public class FakeControllerWithInfiniteLoopInheritDoc : FakeControllerWithXmlComments | ||
{ | ||
/// <inheritdoc cref = "FakeControllerWithInfiniteLoopInheritDoc.ActionWithResponseTags"/> | ||
public new void ActionWithSummaryAndRemarksTags() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
/// <inheritdoc cref = "FakeControllerWithInfiniteLoopInheritDoc.ActionWithSummaryAndRemarksTags"/> | ||
public new void ActionWithParamTags(string param1, string param2) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
/// <inheritdoc cref = "FakeControllerWithInfiniteLoopInheritDoc.ActionWithParamTags"/> | ||
public new void ActionWithResponseTags() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
test/DotSwashbuckle.AspNetCore.SwaggerGen.Test/Fixtures/FakeControllerWithInheritDoc.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
|
||
namespace DotSwashbuckle.AspNetCore.SwaggerGen.Test | ||
{ | ||
/// <inheritdoc cref = "FakeControllerWithXmlComments" /> | ||
public class FakeControllerWithInheritDoc : FakeControllerWithXmlComments | ||
{ | ||
/// <inheritdoc cref = "FakeControllerWithXmlComments.ActionWithSummaryAndRemarksTags"/> | ||
public new void ActionWithSummaryAndRemarksTags() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
/// <inheritdoc cref = "FakeControllerWithXmlComments.ActionWithParamTags"/> | ||
public new void ActionWithParamTags(string param1, string param2) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
/// <inheritdoc cref = "FakeControllerWithXmlComments.ActionWithResponseTags"/> | ||
public new void ActionWithResponseTags() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...tSwashbuckle.AspNetCore.SwaggerGen.Test/Fixtures/FakeControllerWithRecursiveInheritDoc.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
|
||
namespace DotSwashbuckle.AspNetCore.SwaggerGen.Test | ||
{ | ||
/// <inheritdoc cref = "FakeControllerWithXmlComments" /> | ||
public class FakeControllerWithRecursiveInheritDoc : FakeControllerWithXmlComments | ||
{ | ||
/// <inheritdoc cref = "FakeControllerWithXmlComments.ActionWithSummaryAndRemarksTags"/> | ||
public new void ActionWithSummaryAndRemarksTags() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
/// <inheritdoc cref = "FakeControllerWithRecursiveInheritDoc.ActionWithSummaryAndRemarksTags"/> | ||
public new void ActionWithParamTags(string param1, string param2) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
/// <inheritdoc cref = "FakeControllerWithRecursiveInheritDoc.ActionWithParamTags"/> | ||
public new void ActionWithResponseTags() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters