Diff

mod_http_admin_api/openapi.yaml @ 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
parent 4778:229f2a79ad6f
child 5293:f60287bba62c
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