We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8662a88 commit 81f4419Copy full SHA for 81f4419
specs/swagger-appwrite.0.7.0.json
src/Spec/Swagger2.php
@@ -96,6 +96,7 @@ public function getServices()
96
$list = [];
97
98
$paths = $this->getAttribute('paths', []);
99
+ $tags = $this->getAttribute('tags', []);
100
101
foreach ($paths as $path) {
102
foreach ($path as $method) {
@@ -112,6 +113,14 @@ public function getServices()
112
113
}
114
115
116
+ foreach($tags as $tag) { // Fetch descriptions
117
+ $name = $tag['name'];
118
+
119
+ if(isset($list[$name])) {
120
+ $list[$name]['description'] = $tag['description'] ?? '';
121
+ }
122
123
124
return $list;
125
126
0 commit comments