Implement WcfWebHttpServiceToSwaggerGenerator: Swagger generator for WCF WEB HTTP Service
Hi Gus, i have a REST API developed in c# WCF service and working good. I would like to use Nswag to generate yaml files. But using NSwag Studio or AssemblyTypeToSwaggerGenerator, i got no operations. How can i get them? Am i using wrong approach? Regards Daniele
Only Web API web services are supported. I think you cannot describe a SOAP web service with the Swagger spec...
I'm not speaking about a soap service. i'm speaking about a REST API implemented with WCF technology.. i think stupid to have to migrate to web api only for doc same methods :-(
Are you talking about this service model: https://msdn.microsoft.com/en-us/library/bb412172(v=vs.110).aspx ?
The rules and attributes are completely different than Web APIs and thus a new Swagger generator has to be implemented...
Therefore it is not supported and the feature is not planned at the moment... You can implement this yourself but it will be not that simple.
Yes, i moved project to WebAPi
Ok, i think we should close this issue... I think the user base for this feature is too small...
@RSuter I'm looking into implementing WcfRestWebServiceToSwaggerGenerator. Please let me know if there are any updates since your last comments.
@pouladpld Still the same, I do not plan to implement it personally. Is it really worth the effort considering the user base?
Any progress on this? I have a WCF net48 site, that's using swaggerwcf to produce a swagger ui, but I'd like to automate a TypeScript client build process using Roslyn during build