Giter Club home page Giter Club logo

Comments (4)

rantav avatar rantav commented on September 15, 2024

Hi, @simstre did you close this b/c it ain't true?...

from flask-restful-swagger.

simstre avatar simstre commented on September 15, 2024

Hi,

I closed because I wasn't sure if it's an issue from swagger, or an issue
created between how swagger detects where methods reside in vs where our
methods were defined.
I did not want to proclaim an issue on a public project before I was
certain of it.
Thanks for checking in, you could look into it if you want, I just created
a cookiecutter flask restful app to test swagger in order to minimize
variables to this problem.

On Fri, Jun 6, 2014 at 2:40 PM, Ran Tavory [email protected] wrote:

Hi, @simstre https://github.com/simstre did you close this b/c it ain't
true?...
[image: ❓]


Reply to this email directly or view it on GitHub
#24 (comment)
.

Best Regards,

Chris Sim

from flask-restful-swagger.

simstre avatar simstre commented on September 15, 2024

so after testing with fresh Flask restful app, I was able to regenerate the same problem.
Please check following code for an example.
http://pastebin.com/1ebHwLf7
so if a class is inheriting from another class and the parent class has the restful methods,
swagger detects that there should be get, post, and delete (in this case), but it doesn't know where to look to find them.
Following is the erorr I get: http://pastebin.com/FH3ywSYq (it is from my test app)
When I dump the resource.dict, I see the list of methods but not the methods' locations
(as it can't find them)

from flask-restful-swagger.

rantav avatar rantav commented on September 15, 2024

Cool, let me know if you find something. I don't remember whether this
scenario had been tested or not.
On Jun 7, 2014 3:21 AM, "Chris Sim" [email protected] wrote:

Hi,

I closed because I wasn't sure if it's an issue from swagger, or an issue
created between how swagger detects where methods reside in vs where our
methods were defined.
I did not want to proclaim an issue on a public project before I was
certain of it.
Thanks for checking in, you could look into it if you want, I just created
a cookiecutter flask restful app to test swagger in order to minimize
variables to this problem.

On Fri, Jun 6, 2014 at 2:40 PM, Ran Tavory [email protected]
wrote:

Hi, @simstre https://github.com/simstre did you close this b/c it
ain't
true?...
[image: ❓]


Reply to this email directly or view it on GitHub
<
https://github.com/rantav/flask-restful-swagger/issues/24#issuecomment-45387237>

.

Best Regards,

Chris Sim


Reply to this email directly or view it on GitHub
#24 (comment)
.

from flask-restful-swagger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.