So I had this wsdl type
<xsd:element name="studentMarks" minOccurs="0"
maxOccurs="1">
<xsd:simpleType>
<xsd:restriction base="xsd:decimal">
<xsd:totalDigits value="10" />
<xsd:fractionDigits value="5" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
I want to convert this to an OpenAPI field with type: number.
This is what I have come up with, which is wrong.
I know that I can use string type to do this. But is there a way to do this with type number?
"studentMarks": {
"type": "number",
"format": "double",
"multipleOf": 1e-5
},