# HG changeset patch # User Kim Alvefur # Date 1680170705 -7200 # Node ID 231d9cc750d99fde7cb58816b69d34cb30bc85e1 # Parent 2aecad5a6c54ab4be17fa44d87b9f1ef4ddde1e9 mod_http_admin_api: Fix types of numbers in openapi spec Numbers are just 'number' in both JSON Schema and Lua diff -r 2aecad5a6c54 -r 231d9cc750d9 mod_http_admin_api/openapi.yaml --- a/mod_http_admin_api/openapi.yaml Wed Mar 29 17:55:29 2023 +0200 +++ b/mod_http_admin_api/openapi.yaml Thu Mar 30 12:05:05 2023 +0200 @@ -780,10 +780,10 @@ - since properties: since: - type: float + type: number description: The metric epoch as UNIX timestamp value: - type: float + type: number description: Seconds of CPU time used since the metric epoch c2s: type: integer