Java Code Examples for org.raml.v2.api.model.v10.system.types.MarkdownString
The following examples show how to use
org.raml.v2.api.model.v10.system.types.MarkdownString. These examples are extracted from open source projects.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: raml-java-client-generator Source File: DocumentationItemImpl.java License: Apache License 2.0 | 4 votes |
@Override public String getContent() { final MarkdownString content = doc.content(); return content != null ? content.value() : null; }
Example 2
Source Project: raml-java-client-generator Source File: ParameterImpl.java License: Apache License 2.0 | 4 votes |
@Override public String getDescription() { final MarkdownString description = typeDeclaration.description(); return getValue(description); }
Example 3
Source Project: raml-java-client-generator Source File: ResourceImpl.java License: Apache License 2.0 | 4 votes |
@Override public String getDescription() { final MarkdownString description = resource.description(); return description != null ? description.value() : null; }
Example 4
Source Project: raml-java-client-generator Source File: ActionImpl.java License: Apache License 2.0 | 4 votes |
@Override public String getDescription() { final MarkdownString description = method.description(); return description != null ? description.value() : null; }