question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to generate swagger for all available versions using swashbuckle.aspnetcore.cli

See original GitHub issue

Hi I am using the following command to generate the swagger files. I have v1,v2,v3 etc. is it possible to create swagger for all possible versions?

dotnet %UserProfile%\.nuget\packages\swashbuckle.aspnetcore.cli\4.0.1\lib\netcoreapp2.0\dotnet-swagger.dll tofile --output D:\tempvsts\swagger\swagger2.json D:\tempvsts\testapimgmt\WebApiService\bin\Debug\netcoreapp2.1\win7-x64\WebApiService.dll v2

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:14
  • Comments:8

github_iconTop GitHub Comments

3reactions
estrandacommented, Jul 7, 2023

I see it’s a long time ago, but any chance to get this PR completed @domaindrivendev / @amrElroumy ?

0reactions
Franklin89commented, Nov 10, 2022

@amrElroumy Any chance you have a branch or frok of this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I use Swashbuckle.AspNetCore.Cli and ...
I want to use Swashbuckle.AspNetCore.Cli and SwaggerHostFactory to generate swagger.json. The generated swagger.json always empty for path ...
Read more >
Get started with Swashbuckle and ASP.NET Core
Swashbuckle.AspNetCore.SwaggerGen: a Swagger generator that builds SwaggerDocument objects directly from your routes, controllers, and models.
Read more >
Swashbuckle CLI: Automating ASP.NET Core API Swagger ...
In this article, we will discuss automatically generating Swagger JSON files in ASP.NET Core via the Swashbuckle CLI. If you are an ASP....
Read more >
Swashbuckle.AspNetCore.Cli dotnet tool to generate ...
I have pulled the source code for version 6.3.1 of Swashbuckle.AspNetCore.Cli, and Program.cs does some interesting things with CommandRunner and SubCommands , ...
Read more >
Swashbuckle.AspNetCore
Swashbuckle generates a Swagger-flavored JSONSchema for every parameter, response and property type that's exposed by your controller actions. Once generated, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found