Changeset

5292:231d9cc750d9

mod_http_admin_api: Fix types of numbers in openapi spec Numbers are just 'number' in both JSON Schema and Lua
author Kim Alvefur <zash@zash.se>
date Thu, 30 Mar 2023 12:05:05 +0200
parents 5291:2aecad5a6c54
children 5293:f60287bba62c
files mod_http_admin_api/openapi.yaml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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