org.raml.v2.api.model.v10.system.types.MarkdownString Java Examples

The following examples show how to use org.raml.v2.api.model.v10.system.types.MarkdownString. 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 File: DocumentationItemImpl.java    From raml-java-client-generator with Apache License 2.0 4 votes vote down vote up
@Override
public String getContent()
{
    final MarkdownString content = doc.content();
    return content != null ? content.value() : null;
}
 
Example #2
Source File: ParameterImpl.java    From raml-java-client-generator with Apache License 2.0 4 votes vote down vote up
@Override
public String getDescription()
{
    final MarkdownString description = typeDeclaration.description();
    return getValue(description);
}
 
Example #3
Source File: ResourceImpl.java    From raml-java-client-generator with Apache License 2.0 4 votes vote down vote up
@Override
public String getDescription() {
    final MarkdownString description = resource.description();
    return description != null ? description.value() : null;
}
 
Example #4
Source File: ActionImpl.java    From raml-java-client-generator with Apache License 2.0 4 votes vote down vote up
@Override public String getDescription()
{
    final MarkdownString description = method.description();
    return description != null ? description.value() : null;
}