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

0.4.1: Required list has not defined properties: ['sar:pass_direction'] #187

Closed
soxofaan opened this issue Jun 19, 2019 · 2 comments
Closed
Labels
Milestone

Comments

@soxofaan
Copy link
Member

soxofaan commented Jun 19, 2019

The openAPI Spec validator (https://github.com/p1c2u/openapi-spec-validator) raises an issue on openeo api version 0.4.1. Using docker for easy "reproducibility":

$ git describe --all
tags/0.4.1
$ docker run --rm -it -v${PWD}:/app -w/app python bash
root@d655a5560e59:/app# pip install openapi-spec-validator
....

root@d655a5560e59:/app# openapi-spec-validator openapi.json 
Required list has not defined properties: ['sar:pass_direction']

(same result on 0.4.0 FYI)

@m-mohr
Copy link
Member

m-mohr commented Jun 19, 2019

Thanks, that is indeed an undefined property. If it breaks anything just remove it from the file. I'll investigate why our validation tool - speccy - doesn't report such errors and will remove the faulty line in the next version.

@m-mohr
Copy link
Member

m-mohr commented Jun 19, 2019

Fixed on the dev branch.

@m-mohr m-mohr closed this as completed Jun 19, 2019
@m-mohr m-mohr modified the milestones: v1.0, v0.4.2 Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants