mod_http_admin_api: Fix types of numbers in openapi spec
authorKim Alvefur <zash@zash.se>
Thu, 30 Mar 2023 12:05:05 +0200
changeset 5296 231d9cc750d9
parent 5295 2aecad5a6c54
child 5297 f60287bba62c
mod_http_admin_api: Fix types of numbers in openapi spec Numbers are just 'number' in both JSON Schema and Lua
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