Skip to content

Commit d82ec17

Browse files
committed
fix: add summary to create endpoint types
1 parent 88971d3 commit d82ec17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/stainless/src/stl.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,8 @@ interface CreateEndpointOptions<
547547
* and URL for this endpoint, e.g. `"GET /items/{id}"`
548548
*/
549549
endpoint: MethodAndUrl;
550+
/** Optional summary for the endpoint. */
551+
summary?: string;
550552
/** Optional plugin configuration specific to the endpoint. */
551553
config?: Config;
552554
/** The schema for the response defining its properties. */

0 commit comments

Comments
 (0)