Re: Try it out button displays Cancel then nothing happens.

2018-04-19 Thread Eric Rajkovic
Sorry for a late reply - did not see your answer until now...

On Thursday, April 19, 2018 at 12:00:14 PM UTC-7, Eric Rajkovic wrote:
>
> Did you noticed the "Execute" blue button? - the "cancel" button is just 
> to go back to the read-only version of the form, as before you had clicked 
> on "Try It".
>
> On Saturday, April 7, 2018 at 4:06:13 PM UTC-7, kirsten greed wrote:
>>
>> I added Swashbuckle.AspNetCore 2.4.0 to my VS2017 project
>> following along on Pluralsight's Play by Play course.
>>
>> When I navigate to http://localhost:51806/swagger/  I have the swagger UI
>> When I click on Try It Out not much happens
>>
>> My controller code is
>>
>> [Route("api/[controller]")]
>> public class HeroesController : Controller
>> {
>> public HeroesController()
>> {
>> }
>> /// 
>> /// Get some Heroes.
>> /// 
>> /// 
>> [HttpGet]
>> public IEnumerable Get()
>> {
>> return new string[] { "Hero1", "Hero2" };
>> }
>>
>> }
>>
>>
>>
>>
>>
>> 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Try it out button displays Cancel then nothing happens.

2018-04-19 Thread Eric Rajkovic
Did you noticed the "Execute" blue button? - the "cancel" button is just to 
go back to the read-only version of the form, as before you had clicked on 
"Try It".

On Saturday, April 7, 2018 at 4:06:13 PM UTC-7, kirsten greed wrote:
>
> I added Swashbuckle.AspNetCore 2.4.0 to my VS2017 project
> following along on Pluralsight's Play by Play course.
>
> When I navigate to http://localhost:51806/swagger/  I have the swagger UI
> When I click on Try It Out not much happens
>
> My controller code is
>
> [Route("api/[controller]")]
> public class HeroesController : Controller
> {
> public HeroesController()
> {
> }
> /// 
> /// Get some Heroes.
> /// 
> /// 
> [HttpGet]
> public IEnumerable Get()
> {
> return new string[] { "Hero1", "Hero2" };
> }
>
> }
>
>
>
>
>
> 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.