Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit d2ce466

Browse files
committed
docs: add a debug comment
1 parent 97771f9 commit d2ce466

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/lib/api_app/src/lib/openapi_router_derive/src

src/lib/api_app/src/lib/openapi_router_derive/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ pub fn derive_openapi_router(input: TokenStream) -> TokenStream {
3434
.expect("Expected #[openapi(...)] attribute");
3535

3636
// Resolve actual function paths
37+
// @BUG: debug and refactor: the parse_meta() call returns zero paths if "security" is present in the utoipa::OpenApi input
3738
let mut operation_function_paths = Vec::new();
3839
if let Ok(Meta::List(MetaList { nested, .. })) = openapi_attr.parse_meta() {
3940
for item in nested {

0 commit comments

Comments
 (0)