OpenAPITools / OpenAPITools/openapi-generator-cli

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

Open
#625 1 comment 0 reactions 1 assignee View on GitHub

@kay-schecker is already working on this.

Since Apr 7, 2022.

bug
Dominant language
TypeScript
Stars
2k
Forks
208
Avg merge
7h 12m
Merged PRs (30d)
6

Description

🐛 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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.