Fixing small typo in the sample API.

This commit is contained in:
ravennasoftware 2018-05-25 13:03:51 -07:00
Родитель ba6bd87c31
Коммит 6b89f8c63b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -31,7 +31,7 @@ namespace Microsoft.OpenApi.CSharpAnnotations.DocumentGeneration.Tests.SampleApi
/// <swagger>Group1</swagger>
/// <swagger>Group2</swagger>
/// <returns>The sample object 1</returns>
[HttpPost]
[HttpGet]
[Route("/V1/samples/{id}?queryBool={queryBool}")]
public Task<SampleObject1> SampleGet1(string id, bool queryBool)
{
@ -50,7 +50,7 @@ namespace Microsoft.OpenApi.CSharpAnnotations.DocumentGeneration.Tests.SampleApi
/// <response code="200"><see cref="SampleObject3"/>Paged Entity contract</response>
/// <response code="400"><see cref="string"/>Bad request</response>
/// <returns>The sample object 3</returns>
[HttpPost]
[HttpGet]
[Route("/V1/samples")]
public Task<SampleObject3> SampleGet2()
{