diff --git a/inventory_provider/routes/msr.py b/inventory_provider/routes/msr.py
index 94f38b73a1fd8f06282a032584dec51acadc3e50..fe83817d5d400d59834c7ec919618c213c965539 100644
--- a/inventory_provider/routes/msr.py
+++ b/inventory_provider/routes/msr.py
@@ -1375,10 +1375,13 @@ def _asn_peers(asn, group, instance):
     This method returns a list of all peers filtered by `group` and `instance`,
     which can be passed either as URL query parameters or as entries in a
     POST request with a JSON body that matches this schema:
-    `{
-        "group": "group to filter by",
-        "instance": "instance to filter by"
-    }`
+
+    .. code-block:: json
+
+        {
+            "group": "group to filter by",
+            "instance": "instance to filter by"
+        }
 
     Results are returned where all filters given are true, and exact string
     matches.
@@ -1393,7 +1396,7 @@ def _asn_peers(asn, group, instance):
     :param asn: specific ASN to get peers for
     :param group: group to filter by
     :param instance: instance to filter by
-    :return:
+    :return: as above
     """
     r = common.get_current_redis()