We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be988ea commit 392729dCopy full SHA for 392729d
1 file changed
bin/php-openapi
@@ -144,7 +144,11 @@ switch ($command) {
144
case 'convert':
145
146
$openApi = read_input($inputFile, $inputFormat);
147
- $openApi->resolveReferences();
+ try {
148
+ $openApi->resolveReferences();
149
+ } catch (\cebe\openapi\exceptions\UnresolvableReferenceException $e) {
150
+ error("[\e[33m{$e->context}\e[0m] " . $e->getMessage());
151
+ }
152
153
if ($outputFile === null) {
154
if ($outputFormat === null) {
0 commit comments