Maurits van der Schee 6 years ago
parent
commit
84d57604ff
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      api.php
  2. 1
    0
      src/Tqdev/PhpCrudApi/OpenApi/OpenApiBuilder.php

+ 1
- 0
api.php View File

@@ -3374,6 +3374,7 @@ class OpenApiBuilder
3374 3374
                 }
3375 3375
                 $path = sprintf('/records/%s/{%s}', $tableName, $pkName);
3376 3376
             }
3377
+            $this->openapi->set("$prefix|$path|$method|tags|0", "$tableName");
3377 3378
             $this->openapi->set("$prefix|$path|$method|description", "$operation $tableName");
3378 3379
             $this->openapi->set("$prefix|$path|$method|responses|200|description", "$operation $tableName succeeded");
3379 3380
         }

+ 1
- 0
src/Tqdev/PhpCrudApi/OpenApi/OpenApiBuilder.php View File

@@ -63,6 +63,7 @@ class OpenApiBuilder
63 63
                 }
64 64
                 $path = sprintf('/records/%s/{%s}', $tableName, $pkName);
65 65
             }
66
+            $this->openapi->set("$prefix|$path|$method|tags|0", "$tableName");
66 67
             $this->openapi->set("$prefix|$path|$method|description", "$operation $tableName");
67 68
             $this->openapi->set("$prefix|$path|$method|responses|200|description", "$operation $tableName succeeded");
68 69
         }

Loading…
Cancel
Save