Skip to content

Commit e433cf1

Browse files
committed
Use splitn on tags value
1 parent b26b9a1 commit e433cf1

File tree

1 file changed

+1
-1
lines changed
  • compiler-rs/clients_schema_to_openapi/src

1 file changed

+1
-1
lines changed

compiler-rs/clients_schema_to_openapi/src/paths.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ pub fn add_endpoint(
196196

197197
// Create the operation, it will be repeated if we have several methods
198198
let operation = openapiv3::Operation {
199-
tags: vec![endpoint.name.clone()],
199+
tags: vec![endpoint.name.splitn(1, '.')],
200200
summary: sum_desc.summary,
201201
description: sum_desc.description,
202202
external_docs: tac.convert_external_docs(endpoint),

0 commit comments

Comments
 (0)