OpenAPITools / OpenAPITools/openapi-generator-cli

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

Aperta
#625 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@kay-schecker ci sta già lavorando.

Dal 7/4/2022.

bug
Lingua principale
TypeScript
Stelle
2k
Fork
208
Merge medio
7h 12m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.