Giter Site home page Giter Site logo

flask-apidoc's People

Contributors

colelloa avatar nikhilmitrax avatar olivetree123 avatar viniciuschiele avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flask-apidoc's Issues

python manage.py apidoc error


Last login: Sat Jul 16 11:54:16 on ttys000
allranMacPro:~ allran$ /Users/allran/PycharmProjects/college/flask/bin/python /Users/allran/PycharmProjects/college/manage.py apidoc
Traceback (most recent call last):
  File "/Users/allran/PycharmProjects/college/manage.py", line 93, in <module>
    manager.run()
  File "/Users/allran/PycharmProjects/college/flask/lib/python2.7/site-packages/flask_script/__init__.py", line 412, in run
    result = self.handle(sys.argv[0], sys.argv[1:])
  File "/Users/allran/PycharmProjects/college/flask/lib/python2.7/site-packages/flask_script/__init__.py", line 383, in handle
    res = handle(*args, **config)
  File "/Users/allran/PycharmProjects/college/flask/lib/python2.7/site-packages/flask_script/commands.py", line 216, in __call__
    return self.run(*args, **kwargs)
  File "/Users/allran/PycharmProjects/college/flask/lib/python2.7/site-packages/flask_apidoc/commands.py", line 43, in run
    return subprocess.call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

OSError: [Errno 2] No such file or directory

I set up the flask-apidoc at first successfully but now it is not working when I work the command below:

python manage.py apidoc

The error:
Traceback (most recent call last): File "manage.py", line 9, in <module> manager.run() File "/usr/local/lib/python2.7/dist-packages/flask_script/__init__.py", line 412, in run result = self.handle(sys.argv[0], sys.argv[1:]) File "/usr/local/lib/python2.7/dist-packages/flask_script/__init__.py", line 383, in handle res = handle(*args, **config) File "/usr/local/lib/python2.7/dist-packages/flask_script/commands.py", line 216, in __call__ return self.run(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/flask_apidoc/commands.py", line 43, in run return subprocess.call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE) File "/usr/lib/python2.7/subprocess.py", line 523, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

when parse error no showing of info

when apidoc have some parse error. Cmd execute 'python manage.py apidoc' show nothing, only show process exit with code 1. No any valueable info explain what happend.When I execute cmd with apidoc like 'apidoc -i srv/ -o static/docs', it worked show valueable info.

Help, It does not work

image
image
image
image

my project is use Blueprint and flask-restful,but python manage.py apidoc does not work for me, thanks

flask-apidoc two bug

  1. @api can not identify string:sg_id
    @api {DELETE} /api/v1/sgs/string:sg_id delete firewall
  2. url with GET and POST views, only identify one view.
    @api {GET} /api/v1/sgs/ retuen all sgs
    @api {POST} /api/v1/sgs create sgs

WindowError: [Error 2]

Hello, I'm a new flask user
I can use 'apidoc -i src -o dest' command to generate apidocs, but failed to use 'python manage.py apidoc', the error list as follow:
D:\DevelopSpace\pythons\apps\express_opt\opt-web>python manage.py apidoc Traceback (most recent call last): File "manage.py", line 32, in <module> manager.run() File "D:\Program\Python27\lib\site-packages\flask_script\__init__.py", line 412, in run result = self.handle(sys.argv[0], sys.argv[1:]) File "D:\Program\Python27\lib\site-packages\flask_script\__init__.py", line 383, in handle res = handle(*args, **config) File "D:\Program\Python27\lib\site-packages\flask_script\commands.py", line 216, in __call__ return self.run(*args, **kwargs) File "D:\Program\Python27\lib\site-packages\flask_apidoc\commands.py", line 43, in run return subprocess.call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE) File "D:\Program\Python27\lib\subprocess.py", line 168, in call return Popen(*popenargs, **kwargs).wait() File "D:\Program\Python27\lib\subprocess.py", line 390, in __init__ errread, errwrite) File "D:\Program\Python27\lib\subprocess.py", line 640, in _execute_child startupinfo) WindowsError: [Error 2]

I don't know how to use flask to touch the URL 127.0.0.1:500/docs.

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.