There is a possibility to implement a middleware which validates the incoming and outgoing json against the OpenAPI schema.
Currently the schema only serves as documentation and a contract for the front-end, but it is not tested against the actual application responses.
This could also involve some e2e / schema testing cases.