Merge pull request #55 from danielfernandez/olingo-1395
[OLINGO-1395] Fixed parsing error when ReturnType contains Annotation
This commit is contained in:
commit
a110e09203
|
@ -71,6 +71,9 @@ class ClientCsdlReturnType extends CsdlReturnType implements Serializable {
|
|||
if (srid != null) {
|
||||
returnType.setSrid(SRID.valueOf(srid));
|
||||
}
|
||||
} else if ("Annotation".equals(jp.getCurrentName())) {
|
||||
jp.nextToken();
|
||||
returnType.getAnnotations().add(jp.readValueAs(ClientCsdlAnnotation.class));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -138,7 +138,11 @@
|
|||
<ReturnType Type="SEPMRA_SO_MAN2.I_DraftAdministrativeDataType"/>
|
||||
</Action>
|
||||
<Action Name="UARTString" IsBound="false">
|
||||
<ReturnType Type="Edm.String"/>
|
||||
<ReturnType Type="Edm.String">
|
||||
<Annotation Term="Core.Description">
|
||||
<String>The description for this return type</String>
|
||||
</Annotation>
|
||||
</ReturnType>
|
||||
</Action>
|
||||
<Function Name="_FC_RTTimeOfDay_" IsBound="true" IsComposable="true">
|
||||
<Parameter Name="ParameterTimeOfDay" Type="Edm.TimeOfDay" Nullable="false"/>
|
||||
|
|
Loading…
Reference in New Issue