[Question]: GlobalFilter : after pipeline is no Required in the document description , But it's actually Required,
Closed this issue · 1 comments
wj-stack commented
This is not Bug report or Feature request
- I confirm that this is not bug report or feature request.
Is this question answered in the documentation?
- I have searched the documentation
Is there an existing issue for this?
- I have searched the existing issues
Your question
after pipeline is no Required in the document description,
But it's actually Required,
Actually I just need before pipeline
wyatt@wyatt-VirtualBox:~/code/api/regs$ echo '
> name: globalFilter-example
> kind: GlobalFilter
> beforePipeline:
> flow:
> - filter: validator
>
> filters:
> - name: validator
> kind: Validator
> ' | egctl object create
Error: 400: {"jsonschemaErrs":["afterPipeline: Must validate one and only one schema (oneOf)","afterPipeline.filters: Invalid type. Expected: array, given: null"]}