You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository provides a draft Swagger 2.0 definition of the OpenEO API for rapid prototyping and a proof of concept. The complete API is described in swagger.json. An additional description of core ideas and concepts can be found at https://open-eo.github.io/openeo-api-poc.
The branch openapi_3_0 contains an OpenAPI 3.0.0 specification, which currently cannot be used with tools such as swagger-codegen. However, since swagger 2.0 does not support JSON schema combinations with oneOf and anyOf, this definition lacks a formalization of process argument values.
Documentation and editing
You can use swagger-ui and swagger-editor to
inspect and edit the API specification. Using Docker, the following commands will run swagger-ui on localhost at port 80.
git clone https://github.com/Open-EO/openeo-api-poc.git && cd openeo-api-poc
docker run -p 80:8080 -e SWAGGER_JSON=/api/swagger.json -v $PWD:/api swaggerapi/swagger-ui
# -> open browser at https://localhost
Alternatively, you may import the URL https://raw.githubusercontent.com/Open-EO/openeo-api-poc/master/swagger.json directly in editor.swagger.io or in the swagger-ui demo.