Software /
code /
prosody-modules
Comparison
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 |
comparison
equal
deleted
inserted
replaced
5291:2aecad5a6c54 | 5292:231d9cc750d9 |
---|---|
778 required: | 778 required: |
779 - value | 779 - value |
780 - since | 780 - since |
781 properties: | 781 properties: |
782 since: | 782 since: |
783 type: float | 783 type: number |
784 description: The metric epoch as UNIX timestamp | 784 description: The metric epoch as UNIX timestamp |
785 value: | 785 value: |
786 type: float | 786 type: number |
787 description: Seconds of CPU time used since the metric epoch | 787 description: Seconds of CPU time used since the metric epoch |
788 c2s: | 788 c2s: |
789 type: integer | 789 type: integer |
790 description: Number of active c2s sessions | 790 description: Number of active c2s sessions |
791 uploads: | 791 uploads: |