Open Kavan72 opened 1 year ago
Yes there is if you are using rocket
, axum
or actix_web
otherwise it is manual procedure. You can use this to expose external openapi spec. https://docs.rs/utoipa-swagger-ui/latest/utoipa_swagger_ui/struct.SwaggerUi.html#method.external_url_unchecked
Note that there is no currently way to serve openapi spec directly from file.
I'm looking to just serve swagger ui from
swagger.yaml
, is there way i can do this ? for java we are using springdoc-openapi on this we have option to enable this.