View Issue Details

IDProjectCategoryView StatusLast Update
0009594Talerdocumentationpublic2025-03-05 11:08
Reporterreynir Assigned ToStefan  
PrioritynormalSeverityminorReproducibilityN/A
Status assignedResolutionopen 
Summary0009594: No declared conventions for specifying JSON objects
DescriptionFairly early on in the documentation (1.2.1 under Conventions for Taler RESTful APIs) there is a specification of the shape of a ErrorDetail JSON object:
    https://docs.taler.net/core/api-common.html#tsref-type-ErrorDetail

If you use an existing schema language it would be great to mention that somewhere early (for example in 1.2). Otherwise, a brief introduction would be nice. While I think it is mostly intuitive I can think of some easy misinterpretations. For example, the member »hint?: string;« has a question mark at the end. My guess is this means the member may be absent from the object. However, another possible interpretation is the value is null if not present. Finally, { "hint?": "this is fine" } is a perfectly valid JSON object.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-03-05 11:08 reynir New Issue
2025-03-05 11:08 reynir Status new => assigned
2025-03-05 11:08 reynir Assigned To => Stefan