-
Notifications
You must be signed in to change notification settings - Fork 87
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
OpenAPI Validation #46
Comments
By the way, I had a look at before writing that statement. Later on https://swagger.io/swagger-inspector/ was released, but again only very basic tests are derived from the API definition, as far as I could tell. I have not yet had a really close look though. It would be great to get something that tests at least some assertions out of the hackathon! |
Investigating an extension to Team Engine which will read an OpenAPI JSON document and then use it as the test document for that server (do you actually do what you claim to do). Biggest advantage is that the infrastructure and reporting will be the same as for all other OGC conformance tests. |
The Abstract Test Suite calls for validation of the OpenAPI doc against the JSON Schema (under development). It then crawls through the OpenAPI document extracting the information it needs to perform the compliance tests. Not an exhaustive OpenAPI test suite, but it should validate the bits that we need. |
Here is another tool (based on Node.js): https://github.com/google/oatts |
Note on requirement 36 - "Currently, no tool is known to validate that a server implements the API specified in its OpenAPI definition."
One result from the hackathon should be a first cut at Annex A and a strategy on how it will be tested using TeamEngine. A general purpose OpenAPI test (does your service conform to your OpenAPI advertisement) seems like a good place to start.
The text was updated successfully, but these errors were encountered: