OneStop is a data discovery system being built by CIRES researchers on a grant from the NOAA National Centers for Environmental Information. We welcome contributions from the community!
This project is maintained by cedardevs
Estimated Reading Time: 5 minutes
Incoming requests to the Search API get validated against a JSON Schema file. This file gets generated from build/resources/open.yaml
by using the file at search/src/main/groovy/org/cedar/onestop/api/search/controller/JsonValidator.groovy
.
To create the yaml file, and skip running tests (sometimes they are problematic), you can do:
./gradlew search:clean search:build -x test -x integrationTest