Skip to content

Commit

Permalink
[HTTP/OAS] Add description for features API (elastic#184248)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl authored May 27, 2024
1 parent a79edf1 commit b162896
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion x-pack/plugins/features/server/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ export function defineRoutes({ router, featureRegistry }: RouteDefinitionParams)
router.get(
{
path: '/api/features',
options: { tags: ['access:features'] },
options: {
tags: ['access:features'],
access: 'public',
description: `Get features`,
},
validate: {
query: schema.object({ ignoreValidLicenses: schema.boolean({ defaultValue: false }) }),
},
Expand Down

0 comments on commit b162896

Please sign in to comment.