We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d100a commit c25091bCopy full SHA for c25091b
aiscript-runtime/src/lib.rs
@@ -190,10 +190,10 @@ async fn run_server(
190
if config.apidoc.enabled {
191
match config.apidoc.doc_type {
192
config::ApiDocType::Swagger => {
193
- // router = router.route(
194
- // &config.apidoc.path,
195
- // get(move || async { Html(include_str!("openapi/swagger.html")) }),
196
- // );
+ router = router.route(
+ &config.apidoc.path,
+ get(move || async { Html(include_str!("openapi/swagger.html")) }),
+ );
197
}
198
config::ApiDocType::Redoc => {
199
router = router.route(
0 commit comments