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
As a donation to the OpenAPI project to start a test suite:
Write a wrapper around the tests to dump the data into files for external consumption. There are multiple types of tests that can be produced:
validation of an HTTP request or response against an openapi document. Each directory would contain:
a text file briefly describing the intent of the test (this would come from the test name)
the serialized HTTP request or response (as it would be transmitted over the network)
the openapi document(s) that should be loaded (in yaml or json format)
the validation response, in json format (either true, or a JSON Schema-formatted output structure indicating the error(s))
valid and invalid openapi document(s) themselves. Each directory would contain:
a text file briefly describing the intent of the test (this would come from the test name)
the openapi document(s) that should be loaded (in yaml or json format)
the validation response, in json format (either true, or a JSON Schema-formatted output structure indicating the error(s))
deserialization of HTTP request and response parameters and bodies. Each directory would contain:
a text file briefly describing the intent of the test (this would come from the test name)
the openapi document(s) that should be loaded (in yaml or json format)
the serialized HTTP request or response (as it would be transmitted over the network)
the deserialized parameters (path, header, cookie, query) and body, in json format (perhaps as a json object, with properties named like "query.foo", "header.Blah", "path.foo_id", "body")
The text was updated successfully, but these errors were encountered:
As a donation to the OpenAPI project to start a test suite:
Write a wrapper around the tests to dump the data into files for external consumption. There are multiple types of tests that can be produced:
validation of an HTTP request or response against an openapi document. Each directory would contain:
true
, or a JSON Schema-formatted output structure indicating the error(s))valid and invalid openapi document(s) themselves. Each directory would contain:
true
, or a JSON Schema-formatted output structure indicating the error(s))deserialization of HTTP request and response parameters and bodies. Each directory would contain:
The text was updated successfully, but these errors were encountered: