Skip to content

✨ Added modules and helpers for carrying out operations on YAML and JSON#872

Open
acabarbaye wants to merge 1 commit into
masterfrom
json
Open

✨ Added modules and helpers for carrying out operations on YAML and JSON#872
acabarbaye wants to merge 1 commit into
masterfrom
json

Conversation

@acabarbaye
Copy link
Copy Markdown
Contributor

Description

Description

  • added validation rules for paths
  • added standard ways for serialising JSON and YAML content/files
  • added a standard way to validate a JSON or YAML file against a JSON Schema

Test Coverage

  • This change is covered by existing or additional automated tests.
  • Manual testing has been performed (and evidence provided) as automated testing was not feasible.
  • Additional tests are not required for this change (e.g. documentation update).

id := field.OptionalString(schemaID, composingSchemas[0].ID)

compiler := santhoshjsonschema.NewCompiler()
err = collection.EachRef[Schema](slices.Values(composingSchemas), func(schema *Schema) error {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant