Unverified Commit 4c172e34 authored by Benoit Orihuela's avatar Benoit Orihuela Committed by GitHub
Browse files

fix: put name attribute in expanded form when no context provided

As name is not in the core context, it is returned expanded if no context is provided in the request
parents 950c097b 891be17c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
   {
      "id":"https://ngsi-ld-test-suite/context#name",
      "type":"Attribute",
      "attributeName":"name",
      "attributeName":"https://ngsi-ld-test-suite/context#name",
      "typeNames":[
         "https://ngsi-ld-test-suite/context#Building"
      ]
+3 −3
Original line number Diff line number Diff line
@@ -2,9 +2,9 @@
    "id": "urn:ngsi-ld:AttributeList:randomUUID",
    "type": "AttributeList",
    "attributeList": [
        "name",
        "https://ngsi-ld-test-suite/context#subCategory",
        "https://ngsi-ld-test-suite/context#airQualityLevel",
        "https://ngsi-ld-test-suite/context#almostFull"
        "https://ngsi-ld-test-suite/context#almostFull",
        "https://ngsi-ld-test-suite/context#name",
        "https://ngsi-ld-test-suite/context#subCategory"
    ]
}
 No newline at end of file