Jump to content

Swagger 3 version


Recommended Posts

Hi All, 

I'm trying to generate python3.8 code from the swagger file at "https://developer.sage.com/api/accounting/files/swagger.full.json". It appears to me that swagger 2 is used by swagger.full.json and pip install swagger_codegen installs swagger 3. 

  • I cant find a version of swagger_codegen that will work with swagger 2 
  • I've tried to convert the swagger 2 file to swagger 3
  • I'm using python but maybe there is a better way? Is c# more reliable for example?

Any help with this would be appreciated!



Link to comment
Share on other sites

  • Administrators


Thanks for updating what worked for you - let us know please if you have further issues. 

I'm not sure about swagger_codegen for swagger 2 - but we can investigate further if it remains a problem!



Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

  • Create New...