diff --git a/openapi.yaml b/openapi.yaml index 1dac0c8a2a9c84952b6243db5d7a4d6c09ccd934..9c5c6adabc259c18ea00d7a4ae03650140b8d48f 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -26,7 +26,7 @@ components: id: type: integer readOnly: true - maxLength: 6 + maxLength: 8 shortcut: type: string description: Zkratka @@ -34,6 +34,7 @@ components: type: string description: URL pro přesměrování maxLength: 1024 + required: true code: type: integer description: Kód přesměrování @@ -46,7 +47,7 @@ components: properties: period: type: string - description: Obdobi + description: Období count: type: integer description: Počet @@ -55,7 +56,7 @@ components: properties: timestamp: type: string - description: Datum a cas + description: Datum a čas ip: type: string description: IP adresa @@ -157,7 +158,6 @@ paths: /shortcuts/{id}/stat/: get: tags: - - shortcut - statistic security: - Token: [] @@ -197,7 +197,6 @@ paths: /shortcuts/{id}/log: get: tags: - - shortcuts - statistic security: - Token: []