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 content to cumulusci.yml Pydantic models and JSON Schema #3724

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jlantz
Copy link
Contributor

@jlantz jlantz commented Dec 19, 2023

Added title, description, and examples to all Pydantic models for the cumulusci.yml json schema to provide better help information in IDEs.

There are a few places where I added enums.

cumulusci.yml json schema to provide better help information in IDEs.

Currently the test to compare the generated schema to the schema file is
failing for reasons I can't understand yet, but the content is ready for
review.
@jlantz jlantz requested a review from a team as a code owner December 19, 2023 18:57
@jstvz
Copy link
Contributor

jstvz commented Jan 9, 2024

@jlantz Looks like the some test failures due to a schema mismatch. I'll push a copy of your branch to the remote to resolve the lint failure afterwards.

max=30,
examples=[1, 7, 30],
)
namespaced: bool = Field(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay! the previous definition was wrong (claimed this was a str) and so YAML checking was failing in VSCode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants