heretolearn
heretolearn
@mmanhertz how would you import the schemas for the swagger documentation in the above example? When all the endpoints are in one `views.py`, adding a decorator before the route adds...
Right. I tried your example with the following contents of respective files (Assuming the schema is correctly setup): **Content of apis.resource1** ``` class Resource1View: def on_request(req, resp): resp.media({"hello": "world"}) ```...
Apologies for not adding that part. The schema mentioned in the the example and here is a response schema. I am talking about the request schema for the `resource1` endpoint....
More over, the endpoints themselves registering with swagger docs does not have anything to do with the schema itself. The docstring should be enough to register an endpoint to the...
Tried that as well. It did not work :(