Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add settings --schema support #1093

Merged
merged 12 commits into from
Mar 17, 2022
Merged

Add settings --schema support #1093

merged 12 commits into from
Mar 17, 2022

Conversation

cidrblock
Copy link
Collaborator

@cidrblock cidrblock commented Mar 16, 2022

Generate a JSON schema for the ansible-navigator settings file.

(it defaults to json, which is the only choice today)

This is not 100% settings driven, the types and fields really need to wait until the settings entries are fully typed and annotation can be used to derive JSON types, but it is a start.

A future PR will use the json schema to validate the settings file the user has provided.

@cidrblock cidrblock marked this pull request as draft March 16, 2022 20:24
@cidrblock cidrblock requested review from a team, relrod, webknjaz and ganeshrn March 16, 2022 22:40
@cidrblock cidrblock marked this pull request as ready for review March 16, 2022 22:41
@cidrblock cidrblock changed the title Add settings --json-schema support Add settings --schema support Mar 17, 2022
@cidrblock cidrblock merged commit bf2c852 into ansible:main Mar 17, 2022
@cidrblock cidrblock added the enhancement New feature or request label Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants