How to request API Version
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2019
09:46 AM
01-04-2019
09:46 AM
How to request API Version
What i want to do is, I want to ask Swagger "What is the Version of this API?". Is that possible?
I'm talkig about this Version:
"http://myapi/swagger/docs/v1"
Which is set in SwaggerConfig:
c.SingleApiVersion(string.Format(CultureInfo.InvariantCulture, "v{0}", version), title);
Is there not something like swagger/metadata or swagger/versioninfo?
I know that it is written in the Swagger UI but I need something that i can consume in Code.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2019
08:01 PM
01-09-2019
08:01 PM
May be possible provide there exists a respective method.
Regards,
Rao.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2019
12:28 AM
01-14-2019
12:28 AM
Hi Toterbiber,
It looks like you are using Swashbuckle. Swashbuckle is not one of our projects so our ability to provide assistance for it is limited. It's best to ask Swashbuckle questions in the project repository at https://github.com/domaindrivendev/Swashbuckle so that the community there can help you.
Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
