gparmigiani

Results 181 comments of gparmigiani

would this work also to support old/legacy framework like durandaljs ? trying to make some legacy project more mantainable.. but uses requirejs and amd modules https://github.com/BlueSpire/Durandal.

Any news on this front? swashbuckle is still a missing integration (and painpoint) for all F# web frameworks? has anyone yet tried to just "write" a custom openapi json object...

https://github.com/domaindrivendev/Swashbuckle.AspNetCore i think with swashbuckle this would be sufficient (can also be pointed to a different custom endpoint if required), and then we need to generate and serve the openapi.json...

i think i found a way to "read endpoints" , at least in saturn if using endpoints routing (not sure if falco also already uses endpoints) ![image](https://user-images.githubusercontent.com/10419217/147217175-76d35f7d-404d-43d3-90b3-52f6f47dbb33.png) this is a...

there also seems to be this project, which is interesting https://github.com/akhansari/FSharp.OpenApi

!! Thanks @pimbrouwers 👍 🎅 🎄 :) :) enjoy holidays

and what also stucks me is getting type information.. as there i need somehow to get a Expression or quotation from a RequestDelegate ... ``` let getApiInformations (context: HttpContext) =...

it seems methodinfo has to be extracted from ``routeEndpoint.RequestDelegate`` in case of giraffe/saturn. if only this could be invoked externally to not rely on MVC only code.. but it's private......

is there any way of ending up anywhere if we try re-write it completely without re-using the CreateApiDescription code from swashbuckle? for sure is quite many lines of code but...

seems there is some work on from aspnet for NET7 milestone.. but it might take time.. https://github.com/dotnet/aspnetcore/issues/37098