diff --git a/agenta-web/src/lib/helpers/openapi_parser.ts b/agenta-web/src/lib/helpers/openapi_parser.ts index e9281100f4..1af5e25d87 100644 --- a/agenta-web/src/lib/helpers/openapi_parser.ts +++ b/agenta-web/src/lib/helpers/openapi_parser.ts @@ -38,7 +38,7 @@ export const openAISchemaToParameters = (schema: GenericObject): Parameter[] => if (parameter.type === "array") { parameter.enum = param["enum"] } - if (parameter.type === "float" || parameter.type === "int") { + if (parameter.type === "integer" || parameter.type === "number") { parameter.minimum = param["minimum"] parameter.maximum = param["maximum"] }