openapi-generator-cli icon indicating copy to clipboard operation
openapi-generator-cli copied to clipboard

[BUG] glob is required JSON schema warning when using inputSpec with remote yaml

Open AlexanderReichart opened this issue 3 years ago • 1 comments

🐛 Bug Report:

Describe the bug

When using inputSpec to use an online yaml file glob is still required, can't be empty and has to point at an existing file (even if that file is empty) throwing a Missing required property 'glob' JSON schema warning when omitted.

Expected behavior

Using inputSpec with a HTTP URL yaml in absence of a local file and glob doesn't throw a warning, warning only shows up when both are missing.

AlexanderReichart avatar Apr 07 '22 12:04 AlexanderReichart

This should be resolved with #492.

KonstantinLukaschenko avatar Apr 15 '22 15:04 KonstantinLukaschenko