public class Pagination{
public int start {get;}
public int end {get;}
}
public class ReqDTO: Pagination{
///
/// this is name
///
[Required]
public string Name {get; set;}
///
/// this is count
///
public string Count {get; set;}
}
public class TestController: ControllerBase
{
[OpenApiBodyParameter("application/x-www-form-urlencoded")]
[HttpPost]
public IActionResult GetList(ReqDTO req){
}
}
// The order in which the fields are displaed in the redoc UI document
// default
Fields Description
start
end
Name this is name
Count this is count
// I’d like to be able to control the order in which the fileds are displayed
// like this:
Fields Description
Name this is name
Count this is count
start
end
I want the fields of the objects referenced in allOf to be ranked after the fields of the inheritance class at the time of the final rendering
The JSON file generated by default is as follows:
in the redoc UI
I want the fields of the objects referenced in allOf to be ranked after the fields of the inheritance class at the time of the final rendering