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 basic JSON schema validation #18

Merged
merged 7 commits into from
Apr 4, 2022
Merged

Conversation

davelopez
Copy link
Owner

This PR adds a basic schema validation for Galaxy Native Workflows (.ga)

schemaValidation

I couldn't find an existing JSON schema for .ga workflows, so a really basic, incomplete, and undocumented JSON schema has been added to the project here. The extension will now validate all .ga files using this schema and should be easy to provide additional schema-based features like hover documentation and autocompletion suggestions in future PRs.

Extending and documenting the schema further should be also pretty easy by following the documentation any help with that will be much appreciated :)

@davelopez davelopez added the enhancement New feature or request label Apr 3, 2022
@wm75
Copy link
Collaborator

wm75 commented Apr 4, 2022

super cool!!
I'll add to it later this week :)

@davelopez
Copy link
Owner Author

Thank you @wm75! that would be awesome!

I'll merge this now, and hopefully, get the other schema-based features (documentation on hover and auto-completion suggestions) in a follow-up soon.

@davelopez davelopez merged commit 66f756a into main Apr 4, 2022
@davelopez davelopez deleted the explore_schema_validation branch April 4, 2022 10:01
@davelopez davelopez mentioned this pull request Apr 4, 2022
3 tasks
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.

2 participants