1 write to Required
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Modeler\ParameterModel.cs (1)
13
Required
= required;
3 references to Required
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (3)
Modeler\MethodModel.cs (2)
53
public IEnumerable<ParameterModel> FormalParameters => NonConstantParameters.OrderBy(p => p.
Required
? 0 : 1).ThenBy(p => p.Name);
55
public IEnumerable<ParameterModel> FormalParametersNoPaging => NonConstantParameters.OrderBy(p => p.
Required
? 0 : 1).ThenBy(p => p.Name).Where(p => Paginated == null || (p.Name != Paginated.PageParameterName && p.Name != Paginated.PageSizeParameterName));
Modeler\ParameterModel.cs (1)
27
return $"{Type} {Name}; Required={
Required
}, In={Location}";