Openapi-Server-Stubs/OpenapiGenerator.Server/Controllers/PetApi.cs
/// <summary>
/// Add a new pet to the store
/// </summary>
/// <param name="body">Pet object that needs to be added to the store</param>
/// <response code="405">Invalid input</response>
Add a new pet to the store
Add a new pet to the store
[HttpPost]
        [Route("/pet")]
        [ValidateModelState]
        [SwaggerOperation("AddPet")]
        public virtual IActionResult AddPet([FromBody]Pet body)
        { 
            throw new NotImplementedException();
        }
[ HttpPost ] [ Route ( " " ) ] [ ValidateModelState ] [ SwaggerOperation ( " " ) ] public virtual IActionResult AddPet ( [ FromBody ] Pet body ) { throw new NotImplementedException ( ) ; }
Add a new pet to the store
Add a new pet to the store
//TODO: Uncomment the next line to return response 405 or use other options such as return this.NotFound(), return this.BadRequest(..), ... // return StatusCode(405);
Pet
[FromBody]
body
Pet object that needs to be added to the store
Pet object that needs to be added to the store
response
None