-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open API schema for django rest framework JSON:API #870
Comments
Hi @auvipy, I'm not entirely sure that you are referring to exactly. Correct me if I'm wrong, but drf-yasg did only OpenAPI 2.0 out of the box. As far as I can tell, this library (https://github.com/glowka/drf-yasg-json-api) provides that functionality on top of drf-yasg. With regards to JSON:API and DRF, https://github.com/django-json-api/django-rest-framework-json-api seems to be orthogonal to drf-spectacular. Looks like we merely share the It seems that As to OpenAPI 3.1, we are tracking that in #825 and #378, but that seems to be only indirectly related to your question. |
django-json-api/django-rest-framework-json-api#1082 (reply in thread) was what I was referring to. but if it is not possible I will try to make one |
Ah thanks, that was the context I needed. I was not aware of that discussion. So as far as I understand
still seems to hold true. I see 2 options here for
I'm certainly willing to support and accommodate changes that make option 2 possible, as long as this doesn't not lead to drf-spectacular requiring a fundamental refactoring. |
I think that would be more sensible approach. will communicate that with them |
sure thing. I subscribed to that discussion. You can mention me in your communication so I can chime in where needed. I would hate for them to walk through the valley of tears like I did. I'm certain they can benefit from a heap of already solved issues that are already baked into spectacular. |
this was in drf-yasg,, so would be great if this package also provide a 3.0/3.1 compatible schema for JSON:API
The text was updated successfully, but these errors were encountered: