Previously, baseurl was required in openapi.yaml. In order to add support for metalink and mirrorlist repos as well, make all optional, since openapi does not support mutually exclusive parameters. Instead, enforce this logic in server.go, and if no repo has been specified, return a 400 bad request error. |
||
|---|---|---|
| .. | ||
| openapi.gen.go | ||
| openapi.yml | ||
| server.go | ||