-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Description
I have general issue with Open API schema generator, it looks like someone wants too hard to deliver this. I decided to create one issue for all problems and not use template - sorry.
- Previously created issue: Error mapping Python regex to OpenAPI. #7204 - URL regexp is invalid for swagger editor (works with Swagger UI, but many other tools just fails, UI can work even if schema is very bad, so please do not use it as reference).
- Create status code are 200, should be 201
- Required fields in response is empty list if no fields required but should be absent.
required: []
→ - Security schemes is not supported at all, but swagger can differ depends on user is logged whether or not (already implemented, so it's inconsistent).
In most cases, schema is invalid or not representing actual API. I think, you should revert this feature, fix all issues, add some tests then release it again. Other source code in DRF is top quality, but this part looks/works bad :/
Davasny, kosciak9, clintonb, hpoul and elonzh