Skip to content
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

Add fsharp support to Swashbuckle #2300

Closed
jkone27 opened this issue Dec 21, 2021 · 5 comments
Closed

Add fsharp support to Swashbuckle #2300

jkone27 opened this issue Dec 21, 2021 · 5 comments

Comments

@jkone27
Copy link

jkone27 commented Dec 21, 2021

swashbuckle currently doesnt work with F# functional frameworks on top of aspnetcore (using endpoint routing).

pimbrouwers/Falco#49

#1306

It would be awesome if some workaround existed to fix that issue,

F# webapis in Falco or Saturn (or even plain Giraffe) are very nice and tidy, but atm they cannot have automatic openapi generation on server side, making them not 100% production ready.

Giraffe is one of the most used frameworks, and Saturn is built on top of giraffe.

Falco is newer but also very interesting.

Unfortunately atm aspnetcore apis done with those 3 beautiful frameworks sitting on top of aspnetcore do not have a working swashbuckle option :(

@d4sein
Copy link

d4sein commented Aug 3, 2023

No updates on this?

Copy link
Contributor

github-actions bot commented May 2, 2024

This issue is stale because it has been open for 60 days with no activity. It will be automatically closed in 14 days if no further updates are made.

@github-actions github-actions bot added the stale Stale issues or pull requests label May 2, 2024
@martincostello martincostello added help-wanted A change up for grabs for contributions from the community and removed stale Stale issues or pull requests labels May 2, 2024
@martincostello
Copy link
Collaborator

@captainsafia FYI, maybe something to consider for the new OpenAPI support.

@captainsafia
Copy link
Contributor

I posted a response to this in the linked issue. See here.

TL;DR: Frameworks should implement an IApiDescriptionProvider interface as part of their implementation to opt-in to OpenAPI generation with all tools.

@martincostello
Copy link
Collaborator

Thanks @captainsafia - in that case I'll close this as external for us too.

@martincostello martincostello closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2024
@martincostello martincostello removed the help-wanted A change up for grabs for contributions from the community label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants