We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using flask-apispec with flask-restful Example of view
from flask_restful import Resource, Api from apispec import APISpec from apispec.ext.marshmallow import MarshmallowPlugin from flask_apispec.extension import FlaskApiSpec api = Api(app) app.config.update({ 'APISPEC_SPEC': APISpec( authorizations=authorizations, title='pets', version='v1', plugins=[MarshmallowPlugin()], openapi_version="3.0.3", ), 'APISPEC_SWAGGER_URL': '/swagger/', }) class ListView(MethodResource): def get(self, type_id, list_id): #some code api.add_resource(ListView, '/api/types/<int:type_id>/lists/<int:list_id>/') docs = FlaskApiSpec(app) docs.register(ListView)
and when I open Swagger UI i get
The text was updated successfully, but these errors were encountered:
copy the json data and paste it here oas editor, It will show the error. I faced the same issue with OAS version 3.
Sorry, something went wrong.
No branches or pull requests
I'm using flask-apispec with flask-restful
Example of view
and when I open Swagger UI i get
The text was updated successfully, but these errors were encountered: