mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[data views] fields_for_wildcard - disable schema response validation (#159758)
## Summary Response validation is failing when there are field conflicts. Disable response validation until a complete schema can be created. Problem was introduced in https://github.com/elastic/kibana/pull/158608
This commit is contained in:
parent
f97868856d
commit
4a8bbd970a
1 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,7 @@ const fieldSubTypeSchema = schema.object({
|
|||
nested: schema.maybe(schema.object({ path: schema.string() })),
|
||||
});
|
||||
|
||||
// @ts-expect-error
|
||||
const FieldDescriptorSchema = schema.object({
|
||||
aggregatable: schema.boolean(),
|
||||
name: schema.string(),
|
||||
|
@ -97,6 +98,7 @@ const validate: FullValidationConfig<any, any, any> = {
|
|||
// not available to get request
|
||||
body: schema.maybe(schema.object({ index_filter: schema.any() })),
|
||||
},
|
||||
/*
|
||||
response: {
|
||||
200: {
|
||||
body: schema.object({
|
||||
|
@ -105,6 +107,7 @@ const validate: FullValidationConfig<any, any, any> = {
|
|||
}),
|
||||
},
|
||||
},
|
||||
*/
|
||||
};
|
||||
|
||||
const handler: RequestHandler<{}, IQuery, IBody> = async (context, request, response) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue