From 73e9abbe4bcb9089718e8b0bf789c2676b207fcc Mon Sep 17 00:00:00 2001 From: Andrea Di Cesare Date: Tue, 3 Oct 2023 19:05:40 +0200 Subject: [PATCH] :pencil2: Fix typo in aggregation doc --- docs/mongodb-rest/aggregations.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/mongodb-rest/aggregations.adoc b/docs/mongodb-rest/aggregations.adoc index 2dd73f7c..83b98021 100644 --- a/docs/mongodb-rest/aggregations.adoc +++ b/docs/mongodb-rest/aggregations.adoc @@ -108,7 +108,7 @@ To leverage this feature, you can utilize the `?avars` query parameter when maki It's important to note that the value of a variable can be any valid JSON. This means you can pass various data types, including strings and complex objects. For instance: -[source,http] +[source] ---- ?avars={ "name": "Bob", "obj": {"a": { "json": "object" }} } ---- @@ -123,7 +123,7 @@ A crucial point to remember is that if an aggregation relies on a variable, such Starting from RESTHeart version 7.6, the `$var` operator also supports dot notation. This means you can navigate through nested JSON structures within variables. For instance: -[source,http] +[source] ---- ?avars={ "foo": {"bar": 1 } ----