From 3e9343b1c364fecaddef8167a8d9638da6f94693 Mon Sep 17 00:00:00 2001 From: Yusuke Tsutsumi Date: Thu, 21 Aug 2025 23:28:56 -0700 Subject: [PATCH] wip: filter documentation --- aep/general/0160/aep.md.j2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/aep/general/0160/aep.md.j2 b/aep/general/0160/aep.md.j2 index 71cda869..bf30bc59 100644 --- a/aep/general/0160/aep.md.j2 +++ b/aep/general/0160/aep.md.j2 @@ -33,6 +33,21 @@ extensions. An API **must** document any specific functions it supports, including any limitations on their usage (for example, if a given function can only be used on certain fields and/or with certain API methods). +### Annotation + +``` +x-aep-filter: + fields: # this field describes the fields that can be operated upon + - path + - description + # these are operations that are supported by the API. They match the + # name of the elements in the grammar. + # https://github.com/google/cel-spec/blob/master/doc/langdef.md#name-resolution + operations: + - 'ConditionalOr' + - 'ConditionalANd' +``` + ### Limitations An API **may** support only a subset of the CEL language, and/or to support