ergo / pyramid_apispec

Pyramid plugin for openapi spec generation (using ApiSpec)
BSD 3-Clause "New" or "Revised" License
23 stars 10 forks source link

Does this SwaggerUI supports swagger format 3.0.0? #18

Closed PatriSampaio closed 3 years ago

PatriSampaio commented 3 years ago

I have a situation where I need to user swagger format 3.0.0, can I still use this SwaggerUI integration? Because a valid file(compiles fine in the swagger editor) is not being compiled in my pyramid application SwaggerUI. I'm missing some configuration?

ergo commented 3 years ago

Hi are you using latest version of the package? The default swagger UI is 3.35.2 which was released on Oct 15, 2020. I think it should be supporting 3.x format just fine.

Did you pass openapi_version="3.0.0", to APISpec during initialization?

PatriSampaio commented 3 years ago

Thanks @ergo. I was using pyramid_apispec="0.3.3". I updated to the latest version and now it is working fine!