danielgtaylor / danielgtaylor/openapi-cli-generator

Server Variables

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Go
Stars
218
Forks
54
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.