Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    lyashenkogs
    @LyashenkoGS
    Hi. I added some issue recently which describes my particular use case.
    In common I'm implementing a fuzzer for REST based microservices so it will be a part of the CI process.
    I think it will be good to know your's use case, estimates, vision of the product so we can collaborate more efficiently.
    KissPeter
    @KissPeter
    Hi
    Thanks for your work
    and for your issues recorded :-)
    I can say, these are on the "roadmap", but as always many ideas and not enough time
    lyashenkogs
    @LyashenkoGS
    Couldn't you provide some minimal permissions so I will be able to assign issues to myself ?
    KissPeter
    @KissPeter
    You should already receive an invitation to be collaborator
    Pascal Haude
    @pashau

    Hi i realy like the idea of your repo but i couldn't get it starting. I hope this is the right place to ask. i'm running an rest api locally via docker and have a swagger.json for it. When i try to run fuzzer.py no i am getting a KeyError: 'basePath'

    ~/projects/APIFuzzer (master) $ python3 fuzzer.py -s swagger.json -u http://127.0.0.1:8080/  --log debug
    
    Traceback (most recent call last):
      File "fuzzer.py", line 130, in <module>
        prog.prepare()
      File "fuzzer.py", line 42, in prepare
        self.base_url = template_generator.compile_base_url(self.alternate_url)
      File "/home/user/projects/APIFuzzer/apifuzzer/swagger_template_generator.py", line 77, in compile_base_url
        self.api_resources['basePath'].strip('/')
    KeyError: 'basePath'

    maybe you have a quick hint for me what is not right here.

    KissPeter
    @KissPeter
    Hi,
    Sorry I just now noticed your message.
    It fails because it expects the basePath key in your swagger file. According to this: https://swagger.io/docs/specification/2-0/api-host-and-base-path/ it is not a mandatory. I've fixed it , but pull requests are welcome :-)