How to write the correct comment to receive request body block with no param definition
trying to receive this
https://i.sstatic.net/egwnryvI.png
but i get this:
API
Swagger. How to write the correct comment to receive request body block with no param definition
trying to receive this
ShopAPI
Add Swagger UI for user to test endpoints
This might look as a newbie question.
Dont work connection with https://petstore.swagger.io
//https://github.com/sdks-io/swagger-petstore-3-dotnet-sdk/blob/1.0.0/doc/controllers/user.md //https://www.nuget.org/packages/sdksio.SwaggerPetstore3SDK/1.0.0?_src=template //https://petstore.swagger.io/#/ var client = new SwaggerPetstoreOpenAPI30.Standard.SwaggerPetstoreOpenAPI30Client.Builder() .CustomHeaderAuthenticationCredentials(“zzz”) // регал этот ключ на https://petstore.swagger.io/#/ .Build(); UserController userController = client.UserController; long? id = 10L; string username = “dsa”; string firstName = “John5”; string lastName = “James5”; string email = “[email protected]”; string password = “123455”; string phone = “123455”; int? userStatus = 15; try { User […]
How to return multiple listings based on the criteria
I have an Action [HttpGet] that returns all entries from a class Services and Status , schema similar to this