This PR implements openapi support for HttpApiProblem, and, optionally, OpenApiResponder support for the rocket-okapi crate. In rapidoc, the resulting schema looks like this:
I've implemented the schema under a feature flag, under the assumption that you'd prefer to not add dependencies to your clients if they're not intending on using them.
This PR implements openapi support for![image](https://user-images.githubusercontent.com/66472/175251733-05cf0b8a-405d-4a37-8169-123a5f485ebd.png)
HttpApiProblem
, and, optionally,OpenApiResponder
support for therocket-okapi
crate. In rapidoc, the resulting schema looks like this:I've implemented the schema under a feature flag, under the assumption that you'd prefer to not add dependencies to your clients if they're not intending on using them.