/usr/share/gocode/src/github.com/go-openapi/loads/fixtures/json/models/modelWithXmlAttributes.json is in golang-github-go-openapi-loads-dev 0.0~git20160704.0.18441df-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | {
"description": "this model serves xml and json structures",
"xml": {
"name": "XMLModel"
},
"properties": {
"id": {
"type": "integer",
"format": "int64",
"xml": {
"attribute": true,
"namespace": "ns1",
"prefix": "urn1"
}
},
"items": {
"type": "array",
"items": {
"type": "string"
},
"xml": {
"wrapped": true
}
}
}
}
|