]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Fix example values in OpenAPI documentation
authorMarcin Haba <marcin.haba@bacula.pl>
Fri, 20 Jan 2023 13:47:37 +0000 (14:47 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Sun, 5 Mar 2023 06:06:30 +0000 (07:06 +0100)
gui/baculum/protected/API/openapi_baculum.json

index d7412067047c242012c4eb6f13bdbd96600e7dff..55cfa6ad4e0151f47dd03c66558585f7a8f09817 100644 (file)
                                                "schema": {
                                                        "type": "string",
                                                        "description": "Job status. Note, some statuses can be not visible outside (used internally by Bacula)",
-                                                       "enum": ["C", "R", "B", "T", "W", "E", "e", "f", "D", "A", "I", "F", "S", "m", "M", "s", "j", "c", "d", "t", "p", "i", "a", "l", "L"]
+                                                       "example": ["C", "R", "B", "T", "W", "E", "e", "f", "D", "A", "I", "F", "S", "m", "M", "s", "j", "c", "d", "t", "p", "i", "a", "l", "L"]
                                                }
                                        },
                                        {
                                                "schema": {
                                                        "type": "string",
                                                        "description": "Job status. Note, some statuses can be not visible outside (used internally by Bacula)",
-                                                       "enum": ["C", "R", "B", "T", "W", "E", "e", "f", "D", "A", "I", "F", "S", "m", "M", "s", "j", "c", "d", "t", "p", "i", "a", "l", "L"]
+                                                       "example": ["C", "R", "B", "T", "W", "E", "e", "f", "D", "A", "I", "F", "S", "m", "M", "s", "j", "c", "d", "t", "p", "i", "a", "l", "L"]
                                                }
                                        },
                                        {