jgen.writeStartObject(); // begin a hydra:Operation
final String semanticActionType = actionDescriptor.getSemanticActionType();
if (semanticActionType != null) {
jgen.writeStringField("@type", semanticActionType);
}
<BUG>jgen.writeStringField("hydra:method", actionDescriptor.getHttpMethod()

.name());</BUG>
final ActionInputParameter requestBodyInputParameter = actionDescriptor.getRequestBody();
if (requestBodyInputParameter != null) {

jgen.writeStartObject(); // begin a hydra:Operation
final String semanticActionType = actionDescriptor.getSemanticActionType();
if (semanticActionType != null) {
jgen.writeStringField("@type", semanticActionType);
}
jgen.writeStringField("hydra:method", actionDescriptor.getHttpMethod());
final ActionInputParameter requestBodyInputParameter = actionDescriptor.getRequestBody();
if (requestBodyInputParameter != null) {
