DEV Community

Discussion on: Some useful Libraries for .NET projects

Collapse
jessicanathany profile image
Jéssica Nathany Author

I use in my work I didn´t have problem

Collapse
sharpninja profile image
The Sharp Ninja

Are your swagger files massaged by hand first?

Thread Thread
jessicanathany profile image
Jéssica Nathany Author

I configured normally something I neet to create in "hand"

Thread Thread
sharpninja profile image
The Sharp Ninja

Let me rephrase, when your swagger generator creates a swagger file for your api, do you have to modify it before generating the client from it?

Thread Thread
jessicanathany profile image
Jéssica Nathany Author

Yes, example: After you install the library Swagger, you need to configure something in your class Startup.cs and the method Configure you will configure your api, API version, SwaggerEndopoint and API Name. Yes, in answer to your question, its necessary make a to configuration. If you have doubt, yet maybe I can help you about this

Thread Thread
sharpninja profile image
The Sharp Ninja

I mean make changes to the swagger file. I've never seen one generate a correct C# client in all the years swagger has been out. I've wasted untold hours on those garbage clients when WCF just works, as does gRPC.