Output OpenAPI json file during build
See original GitHub issueHi,
I just started looking into a project that uses FastEndpoints and I am trying to find a way to generate the OpenAPI file(s) during the build.
I imagine it would work similarly to the GenerateClientsAndExitAsync
method. The difference is that I don’t want a whole Client to be generated, just the OpenAPI description file (json or yaml) that is otherwise available during runtime in the browser.
Is this somehow possible or planned? 😃. Otherwise FastEndpoints seems like a really nice choice for creating… well… fast endpoints! 😁
Thanks
Issue Analytics
- State:
- Created 10 months ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to generate a swagger.json file on build in .NET core, . ...
A swagger file (nowadays known as a OpenAPI specification file) is a JSON file that contains the entire definition of your API. All...
Read more >How to output with a NPM script the OpenApi.json file ...
I want to write the openapi.json file produced for swagger-ui, on the disk with an NPM script, how to do this in an...
Read more >Generate OpenApi.json on build from ASP.NET 8 Minimal ...
To generate OpenApi.json on build from an ASP.NET 8 Minimal API, follow these steps: In Visual Studio for Windows 17.7.0 or later, create...
Read more >Generate ASP.NET Core OpenAPI Spec At Build Time
This post will see how to configure Swashbuckle within an ASP.NET Core project to generate a static OpenAPI specification file using the CLI ......
Read more >Usage | OpenAPI Generator
Generator for creating a new template set and configuration for Codegen. The output will be based on the language you specify, and includes ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
implemented in
v5.4.1.5-beta
https://github.com/FastEndpoints/FastEndpoints/blob/d6e90001bee52cba7ecfc230f193e51cd28bd7cf/Src/ClientGen/Extensions.cs#L148-L155This is awesome! Thanks