cancel
Showing results for 
Search instead for 
Did you mean: 

OpenApi3 Links

SOLVED
New Contributor

OpenApi3 Links

The new Links feature in OpenApi V3 look very promising, however I would like to be able to describe these links programmatically and have swagger automatically generate the api specification with links included. Is there any way to do this?

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator

Re: OpenApi3 Links

We actually don't have a library for C#/.NET documentation. You're probably using Swashbuckle or NSwag - neither is developed by us. Unfortunately, we don't know those projects well enough to assist in terms of how to use Links in them, so your best bet would be to file a ticket directly with the library you use.

3 REPLIES 3
Moderator

Re: OpenApi3 Links

Which development language and framework do you use? Do you use any library to document your definition inside the code already?

New Contributor

Re: OpenApi3 Links

We use C# and .NET. We currently use Swagger already to generate our api documentation. We couldn't find any documentation on how to define OpenApi3 Links however besides it's output (the documentation)

Moderator

Re: OpenApi3 Links

We actually don't have a library for C#/.NET documentation. You're probably using Swashbuckle or NSwag - neither is developed by us. Unfortunately, we don't know those projects well enough to assist in terms of how to use Links in them, so your best bet would be to file a ticket directly with the library you use.

New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2
Top Kudoed Authors