Reputation: 97
I am using katharsis with spring boot. I want to change the 'id' key in json response with my table PK column name, following is the katharsis response
{
"type": "table-name",
"id": "A",
"attributes": {
"description": "AAA"
},
"relationships": {
},
"links": {
"self": "http://localhost/table-name/A"
}
}
I want to change the above "id": "A" with "coulmnName":"A".
Upvotes: 1
Views: 550
Reputation: 97
Answer on katharsis github repository
https://github.com/katharsis-project/katharsis-core/issues/203
Upvotes: 2