juhaku / utoipa

Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust
Apache License 2.0
2.01k stars 160 forks source link

Extending the openapi JSON #885

Closed EvilWatermelon closed 3 months ago

EvilWatermelon commented 3 months ago

Hi,

I have a different non-Rust program with a REST API and I want to integrate the URIs into my REST API. Is it possible to put the URIs from the other service into the JSON? For example creating an external JSON that can be loaded during runtime into SwaggerUi::new().url() and then test both APIs from Swagger which I use on my Rust server.