jamesmcroft / swagger-merge

A CLI & SDK to merge multiple Swagger files together
MIT License
14 stars 1 forks source link

Feature merge dynamicaly +aot compatibility #25

Open guillaume-chervet opened 3 months ago

guillaume-chervet commented 3 months ago

Hi @jamesmcroft ,

Thank you for that cli. Do you think it is possible to make it available as library compatible aot?

My need is for SlimFaas https://github.com/AxaFrance/SlimFaas it is a function as a service over kubernetes it act like a proxy. I would like to merge many swagger in one from all function to one swagger given by SlimFaas.

Do you think it is possible? Do you have time to Do evolution here ? If not i will try to build one inside SlimFaas.

Regards,

Guillaume

jamesmcroft commented 3 months ago

@guillaume-chervet I will take a look. I've not built AOT compatible libraries previously, I will do some research to understand what changes need to be made to the current Swagger Merge SDK to support this.

jamesmcroft commented 1 month ago

@guillaume-chervet a pre-release of this change has been pushed to NuGet - https://www.nuget.org/packages/SwaggerMerge.SDK/1.0.0-preview.240802.1

Let me know how you get on with this change and I will be happy to explore pushing this out officially.

guillaume-chervet commented 3 weeks ago

Thank you so much @jamesmcroft , I test it as soon as I come back from holidays :)