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 71116bc commit aada5caCopy full SHA for aada5ca
api.php
@@ -2628,7 +2628,8 @@ public function executeCommand() {
2628
if ($this->settings['origin']) {
2629
$this->allowOrigin($this->settings['origin'],$this->settings['allow_origin']);
2630
}
2631
- if (!$this->settings['request']) {
+ $currentScriptFilename = basename(__FILE__);
2632
+ if (!$this->settings['request'] || $this->settings['request'] == $currentScriptFilename) {
2633
$this->swagger($this->settings);
2634
} else {
2635
$parameters = $this->getParameters($this->settings);
0 commit comments