Closed darrenchang closed 9 months ago
Flask-restx generates Swagger 2.0 (https://swagger.io/specification/v2/) compliant docs only. Unfortunately, OpenAPI 3.0 support has been on the ask list for a long time but because of the way schemas are generated it's not a small change.
Flask-restx generates Swagger 2.0 (https://swagger.io/specification/v2/) compliant docs only. Unfortunately, OpenAPI 3.0 support has been on the ask list for a long time but because of the way schemas are generated it's not a small change.
I see. Thank you for the replying to this issue
Argument.__schema__
creates the wrong OpenAPI 3.0 schema for enums. https://github.com/darrenchang/flask-restx/blob/master/flask_restx/reqparse.pyExpected Behavior
Actual Behavior
Environment