Skip to content

Confusing and invalid JSON payload examples #47

Open
@m-mohr

Description

@m-mohr

The test suite developed in WP4 contains invalid payloads:

For example: https://raw.githubusercontent.com/eodcgmbh/openeo-test-suite/11b37267ce409f05e6f8c50ee210602735580126/src/openeo_test_suite/tests/general/payload_examples/patch_jobs/patch_jobs_1.json (similarly post_result_1).

For example:

  • "subtype": "string" => doesn't exist
  • "pattern": "/regex/" => only string containing "regexp" allowed
  • "minimum": 0, "maximum": 0 both 0 => only 0 allowed
  • the conditions allow conflict
  • "optional": false, and "default": null at the same time don't work
  • ...

Additionally, many things are very weirdly filled:

  • summary: string?
  • description: string?
  • ...

The example(s) should be cleaned up.

Copied from #45

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions