/*
 * OpenAPI Petstore
 *
 * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Swashbuckle.AspNetCore.Annotations;
using Swashbuckle.AspNetCore.SwaggerGen;
using System.Text.Json;
using Org.OpenAPITools.Attributes;
using Org.OpenAPITools.Models;

namespace Org.OpenAPITools.Controllers
{ 
    /// <summary>
    /// 
    /// </summary>
    [ApiController]
    public class FakeApiController : ControllerBase
    { 
        /// <summary>
        /// fake endpoint to test parameter example (object)
        /// </summary>
        /// <param name="data"></param>
        /// <response code="0">successful operation</response>
        [HttpGet]
        [Route("/v2/fake/parameter_example_test")]
        [ValidateModelState]
        [SwaggerOperation("FakeParameterExampleTest")]
        public virtual IActionResult FakeParameterExampleTest([FromQuery (Name = "data")][Required()]Pet data)
        {

            //TODO: Uncomment the next line to return response 0 or use other options such as return this.NotFound(), return this.BadRequest(..), ...
            // return StatusCode(0);

            throw new NotImplementedException();
        }
    }
}
