okapi
okapi copied to clipboard
OpenAPI (AKA Swagger) document generation for Rust projects
Rapi doc is an alternative front end for openapi. This pull requests adds support for Rapi Doc to Okapi. The difference with the swagger UI is that swagger UI communicates...
changing the octet-stream here to multipart/form-data. Rocket seems to return a 404 because it doesn't expect octet-stream on a form post. Using multipart also enables a better experience w/ the...
Hi. There is problem with deserializing and then serializing security scheme into JSON. I have a code which parse spec from YAML, then attempt to serialize it into both YAML...
Hello! I am new to Rust and have recently learned about okapi. I am trying to use it for a REST API with a mongodb backend. I would like to...
When deserializing from json the schemas from a param also get added to the extensions object of a param, resulting in faulty json being outputted when serializing again (schema attribute...
Allows you to override the generated operation id for a route. This is convenient when multiple routes have the same function name, e.g. a crud app that has many route...
When attempting to specify two routes with the same path and method, but different accepted format (e.g. `format = "application/json"` vs `format = "application/cbor"`) error message appears: ```An OpenAPI operation...
I have an api with a parameter async. This is a reserved word, so to handle this I have the following form defined, with the form field statement specifying that...
Thank you for this project! I've been struggling with documenting an API I build, and keeping that documentation up to date. I'm trying to add okapi to my project to...
When two routes have the same name for a Request / Response the namespaces are clobbered. Example: https://github.com/leeola/example_okapi_name_collision _([specifically this file](https://github.com/leeola/example_okapi_name_collision/blob/master/src/main.rs))_ will incorrectly report that the `/two` route has a...