Skip to content

Add basic JSON schema validation#18

Merged
davelopez merged 7 commits intomainfrom
explore_schema_validation
Apr 4, 2022
Merged

Add basic JSON schema validation#18
davelopez merged 7 commits intomainfrom
explore_schema_validation

Conversation

@davelopez
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

wm75 commented Apr 4, 2022

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

@davelopez
Copy link
Copy Markdown
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