Skip to content

rocket-okapi v0.8.0-rc.3

Compare
Choose a tag to compare
@ralpha ralpha released this 29 May 20:19
· 28 commits to master since this release
rocket-okapi-v0.8.0-rc.3

Note that this update is a minor version update, but still contains breaking changes because the
Rocket version had a minor update with breaking changes too. This will thus fix previous error
because of incompatibility.

Added

  • Add ignore derive attribute to ignore function arguments from documentation. (#113)
  • operation_id can now be overwritten using #[openapi(operation_id = "my_custom_id")],
    but it has to be unique in the API spec. (#63)
  • Added support for #[openapi(deprecated)] to mark endpoint as deprecated in spec. (#123)

Changed

  • rocket-okapi and rocket-okapi-codegen require rocket v0.5.0-rc.3. (#122)

Fixed

  • mount_endpoints_and_merged_docs! does avoid combined paths with double /.
  • Raw identifiers (r#type) can now be used in parameters. (#117)
  • rocket::form::Form<T> now set requested data as "multipart/form-data". (#80)