danielgtaylor / danielgtaylor/openapi-cli-generator

Server Variables

Aperta
#3 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature
Lingua principale
Go
Stelle
218
Fork
54
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently, [OpenAPI 3 server variables](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#serverVariableObject) are not handled at all. They are required to have defaults, so at the very least we should string replace the template values with the defaults.

A better implementation would also expose these as optional parameters for the generated CLI. One complication is that different servers might have different variables, so the ones that get exposed might depend on the current server index.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.