-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
The schema-service is currently ignoring float and double types when generating the openapi yaml files. In the example below, the availability attribute is left out of the generated aai_swagger_v27.yaml
<xs:element name="survival-time" type="xs:string" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="An attribute specifies the time that an application ...")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="availability" type="xs:float" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This parameter specifies the availability requirement, expressed as a percentage.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> <xs:element name="reliability" type="xs:string" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="An attribute specifies in the context of network layer packet transmissions, percentage value of the amount of sent network layer packets successfully delivered to a given system entity within the time constraint required by the targeted service, divided by the total number of sent network layer packets.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element>
aai_swagger_v27.yaml:
survival-time: type: string description: An attribute specifies the time that an application ... reliability: type: string description: An attribute specifies in the context of network layer packet...