When using the ApiParserImpl's createApiListings() method to generated the swagger model, the deprecated field inside the operations of the apis, which is of type Option[String] has a value of null, which causes the swagger json serializer to crash.
I was able to fix it using the following code, but I think the null should not have been there in the first place.
When using the
ApiParserImpl
'screateApiListings()
method to generated the swagger model, thedeprecated
field inside the operations of the apis, which is of typeOption[String]
has a value of null, which causes the swagger json serializer to crash.I was able to fix it using the following code, but I think the
null
should not have been there in the first place.