mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[data.search] Update routes to not accept query (#154869)
This commit is contained in:
parent
d83f1fe5c1
commit
fb44bebf58
1 changed files with 0 additions and 4 deletions
|
@ -22,8 +22,6 @@ export function registerSearchRoute(router: DataPluginRouter): void {
|
|||
id: schema.maybe(schema.string()),
|
||||
}),
|
||||
|
||||
query: schema.object({}, { unknowns: 'allow' }),
|
||||
|
||||
body: schema.object(
|
||||
{
|
||||
legacyHitsTotal: schema.maybe(schema.boolean()),
|
||||
|
@ -78,8 +76,6 @@ export function registerSearchRoute(router: DataPluginRouter): void {
|
|||
strategy: schema.string(),
|
||||
id: schema.string(),
|
||||
}),
|
||||
|
||||
query: schema.object({}, { unknowns: 'allow' }),
|
||||
},
|
||||
},
|
||||
async (context, request, res) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue