Closed rxue closed 1 month ago
TODO
Make an ExplanationsByLanguageDTO
for the representation of RESTful API output
Problem
The draft of ExplanationsByLanguageDTO
cannot display anthing
TODO atm ExplanationsByLanguage
displays the hard-coded dummy result, make it display the actual result retrieved from the database
TODO LexicalItemResource.get
has partial implementation in hard-code, implement it to get the actual result from database
in the output of http://localhost/dictionary/rest/lexicalitems/2
the language displays too much irrelevant information.
displayLanguage
is enough