teddysmithdev / pokemon-review-api

Review and rate your favorite pokemon (in .NET Core Web API)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minor mistake in typeof()

nat246 opened this issue · comments

[ProducesResponseType(200, Type = typeof(Owner))]

I was following your tutorial and I think this should be typeof(IEnumerable<Pokemon>) since you're returning a list of pokemons in this request method.
Not sure why yours still works though, correct me if I'm wrong.

Same here, I've also noticed this.