sanic-org / sanic-openapi

Easily document your Sanic API with a UI
https://sanic-openapi.readthedocs.io/
MIT License
505 stars 108 forks source link

feat: inital new doc supporting oas2 and oas3 #220

Closed astagi closed 3 years ago

astagi commented 3 years ago

This is still a WIP

artcg commented 3 years ago

Looks great so far :)

artcg commented 3 years ago

👍 btw dont worry about documenting the "class based view" since that feature of sanic is being phased out a bit ... ( but also that documentation doesnt hurt, just wouldnt be a priority)

astagi commented 3 years ago

@artcg doc is ready for review. I also add a commit to support multiple schemas, I'll open a new PR to support multiple servers for OAS3 soon. I made descriptive commit messages, I think is better to merge PR without squashing them in case you want to easily revert code fixes.

No problem for class-based views, it didn't get me so much time. In case we may remove it in the future.

artcg commented 3 years ago

Awesome :) I was thinking about something like that with the server also ...