Skip to content

Commit

Permalink
[Authz] Fix how description was added to OAS spec
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddharthMantri committed Oct 28, 2024
1 parent a5db34b commit e1c54a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/kbn-router-to-openapispec/src/process_router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export const processRouter = (
summary: route.options.summary ?? '',
tags: route.options.tags ? extractTags(route.options.tags) : [],
...(description ? { description } : {}),
...(route.options.description ? { description: route.options.description } : {}),
...(hasDeprecations ? { deprecated: true } : {}),
...(route.options.discontinued ? { 'x-discontinued': route.options.discontinued } : {}),
requestBody: !!validationSchemas?.body
Expand Down

0 comments on commit e1c54a3

Please sign in to comment.