While not technically in violation of the OpenAPI specification, including a query parameter in a path should be flagged as an error in Spectral:
A path has specific meaning in HTTP as a part of a URL that comes after the host name and before the query string or fragment. A "path item" key must be only a path, it cannot have a query string or a fragment.
Ideally, the Cottontail Access Layer would be refactored so that the schema to be used (currently cineast) can be specified in the config. This would mean we could write tests using the "real" database names and eliminate the hypothetical user error where tests are run against a productive database.