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.

Output OpenAPI json file during build

See original GitHub issue

Hi,

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:closed
  • Created 10 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

github_iconTop 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 >

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