You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run this program, and try to hit the endpoint v2 with postman everything goes as expected.
But, instead, if i call v1, which should be responded by the jsontranscode, i get 404.
I've tracked this down to the call of AddApiExplorer. If i remove that call i'm able to get the v1 as i should.
What do you think about this? Is this the expected behaviour? Am i doing something wrong? Is this a bug? If it is, is a bug in the jsontranscoding or asp.versioning library?
Thank you so much for your time and sorry the lenght of this post. Let me know if you need anything else that could help you answering this.
The text was updated successfully, but these errors were encountered:
Hey guys, i'm having a problem with a project i'm working on and i wanted to see if i'm missing anything or maybe i've stumbled on a bug.
I have created a minimal project where i'm able to reproduce the behaviour, I'm goint to try to guide you pasting snippets of code here.
Program.cs
V2Controller.cs
And greet.proto (This is the wiki example as you can see, just added the route i need to demostrate my point)
When i run this program, and try to hit the endpoint v2 with postman everything goes as expected.
But, instead, if i call v1, which should be responded by the jsontranscode, i get 404.
I've tracked this down to the call of AddApiExplorer. If i remove that call i'm able to get the v1 as i should.
What do you think about this? Is this the expected behaviour? Am i doing something wrong? Is this a bug? If it is, is a bug in the jsontranscoding or asp.versioning library?
Thank you so much for your time and sorry the lenght of this post. Let me know if you need anything else that could help you answering this.
The text was updated successfully, but these errors were encountered: