public static OpenApiParameter CreateStringUuid()
 {
     return(new OpenApiParameter
     {
         Schema = TestDataOpenApiSchemaOfTypeFactory.CreateStringUuid(),
     });
 }
 public static OpenApiParameter CreateNumberFloat()
 {
     return(new OpenApiParameter
     {
         Schema = TestDataOpenApiSchemaOfTypeFactory.CreateNumberFloat(),
     });
 }
Ejemplo n.º 3
0
 public static OpenApiParameter CreateParameterLimit()
 {
     return(new OpenApiParameter
     {
         Name = "limit",
         In = ParameterLocation.Query,
         Description = "Maximum number of results to return",
         Required = false,
         Schema = TestDataOpenApiSchemaOfTypeFactory.CreateInt32(),
     });
 }
Ejemplo n.º 4
0
 public static OpenApiParameter CreateParameterTags()
 {
     return(new OpenApiParameter
     {
         Name = "tags",
         In = ParameterLocation.Query,
         Description = "Tags to filter by",
         Required = false,
         Schema = new OpenApiSchema
         {
             Type = "array",
             Items = TestDataOpenApiSchemaOfTypeFactory.CreateString(),
         },
     });
 }