Open AkshJain99 opened 5 years ago
OpenAPI 3 support: Along with updating JSON schema validation support, we need to update our swagger documentation to work with OpenAPI 3/swagger 3.
Change the generator settings: settings.SchemaType = JsonSchemaType.OpenApi3;
@vangheem where is the documentation written for guillotina swagger?
actually I am trying to update documentation to support guillotina with openapi3 /swagger3 but what I actually want to know is , thats why asking for documentation
Can you be more specific? I'm not sure I understand what you are asking for.
guillotina_swagger pulls in config from service definitions like here: https://github.com/plone/guillotina/blob/master/guillotina/api/content.py#L246
sorry actually my bad :( i didnt see the comment i did earlier , what i was trying to ask is as i want to swagge documentation related to support of open API3 , so where can i find the documentation related to guillotina swagger?
guillotina_swagger docs are https://github.com/guillotinaweb/guillotina_swagger/blob/master/README.rst
There isn't much to the package--all it's doing is reading configuration, outputting swagger definition and serving swagger html/js.
Swagger docs are here: https://swagger.io/docs/
There are lots of docs on openapi 3.
I hope that helps!
yes will soon make a commit for this :+1:
Upgrade guillotina_swagger to swagger3