You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we have two services, how do I merge the spec so it's on /panel page?
let api_service =
OpenApiService::new((AuthApi, TestApi), "Test API", version).server(api_doc_url_info);
// What do I call here <--------
let ui = api_service.swagger_ui();
let app = Route::new()
.at("/status", get(server_status))
.nest("/api/auth", get_auth_api())
.nest("/api/test", get_test_api())
.nest("/panel", ui);
The text was updated successfully, but these errors were encountered:
I have two API services.
They both have OpenAPI automatic documentation.
I looked at https://github.com/poem-web/poem/blob/master/examples/openapi/combined-apis/src/main.rs
But it doesn't answer a simple question.
If we have two services, how do I merge the spec so it's on /panel page?
The text was updated successfully, but these errors were encountered: