Happy Business Starts Here

Highlighted
Student

New Zuora REST Swagger YAML

The 5-10-2017 release of the swagger yaml for Zuora seems to be unparsable by Swagger itself. Is there a fix for this?

Tags (2)
3 REPLIES 3
Zuora Alumni

Re: New Zuora REST Swagger YAML

Hi,

 

Can you tell us what error you are getting?  Thanks.



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Student

Re: New Zuora REST Swagger YAML

[ERROR] failed to read resource listing
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'swagger': was expecting ('true', 'false' or 'null')

 

It's failing to parse the yaml at all in the swagger core generation:

 

at io.swagger.parser.SwaggerCompatConverter.readResourceListing(SwaggerCompatConverter.java:189)
at io.swagger.parser.SwaggerCompatConverter.read(SwaggerCompatConverter.java:116)
at io.swagger.parser.SwaggerParser.read(SwaggerParser.java:74)
at io.swagger.codegen.config.CodegenConfigurator.toClientOptInput(CodegenConfigurator.java:419)
at io.swagger.codegen.plugin.CodeGenMojo.execute(CodeGenMojo.java:317)

Zuora Alumni

Re: New Zuora REST Swagger YAML

Hi @mclamp

 

I created a ticket to get some further details from you and also so we can internally track this

 

Thanks,

 



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √