8000 Add swagger-php generated basePath · Issue #6 · alt3/cakephp-swagger · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add swagger-php generated basePath #6
Closed
@bravo-kernel

Description

@bravo-kernel

DocsController should generate the three fields used by Swagger-UI to generate and show the 5AD8 Base Url:

        basePath="/v0",
        host="your.api.local",
        schemes={"http", "https"},

NEVER specify these fields in the source code annotations as this will break deploying your app to environments using no/different basePath.

Update:
Only schemes should be configurable, basePath and host can be fetched realtime.

More information:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0