Skip to content

Wrong Api Root in " #7

Description

@weierophinney

Let's say my apigility runs under http://example.com/api, with a service /test thus available under http://example.com/api/test. My issue: The buttons to "Try it out!" are sending their requests to http://example.com/test, which ofc will result in a 500 error every time.

I found that I could fix this in this module's Service.php by modifying $this->baseUrl (appending '/api'), but obviously that's not the intended way to do it.

So is this something I am doing wrong (and if so, how do I do it right?) or something the module is doing wrong?


Originally posted by @marartner at zfcampus/zf-apigility-documentation-swagger#32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions