Open-EO / openeo-backend-validator

Service to validate back-end compliance with the API specification.
Apache License 2.0
1 stars 3 forks source link

Issue #15: pytest suite: refactor validation to allow swapping validation tool #24

Closed soxofaan closed 5 years ago

soxofaan commented 5 years ago

This addresses issue #15 as discussed with @bgoesswe

This refactor makes it possible to replace the current pure python based OpenApi validation with another approach (e.g. through the Go tool or a node.js based validator)

Current pure python validator combines jsonschema validator with openapi_schema_to_json_schema to handle the differences between JSONschema and OpenAPI, for example to handle nullable correctly.