-
-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output OpenAPI json file during build #348
Comments
can add that in a few days. but if you're in a hurry, it's pretty easy to do it yourself inside an if block in the startup yourself. see this test code for an example: |
Thanks for the hint, I got it working in no time, |
implemented in FastEndpoints/Src/ClientGen/Extensions.cs Lines 148 to 155 in d6e9000
|
Wow, thanks a lot for the quick solution! |
This is awesome! Thanks |
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
The text was updated successfully, but these errors were encountered: