diff --git a/internal/generator/ts_generator.go b/internal/generator/ts_generator.go index 977fd26..8177b61 100644 --- a/internal/generator/ts_generator.go +++ b/internal/generator/ts_generator.go @@ -63,8 +63,7 @@ var swaggerTypeToTypescriptType = map[string]string{ "boolean": "boolean", "array": "any[]", "object": "any", - "double": "number", - "decimal": "number", + "number": "number", } func generateTypes(doc *openapi3.T, outputPath string) error {