Skip to content
Snippets Groups Projects
Commit e2de5ae6 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

adjust docs for new response

parent 65cb49c3
No related branches found
No related tags found
2 merge requests!1856Merge 18.1.0,!1852Resolve "Open link assigned to an element on click"
......@@ -232,12 +232,16 @@ public class NewApiDocs {
private List<FieldDescriptor> getBioEntitySpecificFields(final String prefix) {
final List<FieldDescriptor> result = new ArrayList<>();
result.add(
fieldWithPath(prefix + "immediate_link")
.description("link that should be opened immediately when element is clicked on the map")
.optional()
.type(JsonFieldType.STRING));
result.add(
fieldWithPath(prefix + "id")
.description("unique bioEntity identifier")
.type(JsonFieldType.NUMBER));
result.add(
fieldWithPath(prefix + "stringType")
.description("type of the bioEntity")
.type(JsonFieldType.STRING));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment