Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HOST to API blueprint from API_DOMAIN #17

Open
danielfpferreira opened this issue Nov 24, 2015 · 11 comments · May be fixed by #51
Open

Add HOST to API blueprint from API_DOMAIN #17

danielfpferreira opened this issue Nov 24, 2015 · 11 comments · May be fixed by #51

Comments

@danielfpferreira
Copy link

For apiary.io console tests it is required to fill the HOST variable with the API URL
As this is already defined in API_DOMAIN I think it would be useful for everyone using the doc feature

Thank you.

@jasonlewis
Copy link
Contributor

Will take a look! Thanks.

@tdanielcox
Copy link

+1

@edwinheij
Copy link

Something like this?
https://github.com/KonnectIT/blueprint/commit/062b8040b3e3d00d8b37d994440e91b9e50691de
I needed it for compatibility for swagger with this package https://github.com/kminami/apib2swagger

@lasselehtinen
Copy link

Another Apiary user here who would very much have use for this.

+1

@sefsinalas
Copy link

+1

1 similar comment
@GabrielGil
Copy link

+1

@michabbb
Copy link

michabbb commented Dec 27, 2016

btw... to make this working with aglio the keyword Host has to be written HOST (in uppercase)

michabbb added a commit to michabbb/blueprint that referenced this issue Dec 27, 2016
@michabbb
Copy link

okay, don´t know how the author wants to solve this, but here´s another simple merge: #51

@michabbb michabbb linked a pull request Dec 28, 2016 that will close this issue
@michabbb
Copy link

for those who wait for a fix.. you can add in your composer.json

"require": {
        "michabbb/blueprint": "dev-master",
    },

"repositories": [
        {
            "type":"package",
            "package": {
                "name": "michabbb/blueprint",
                "version":"master",
                "source": {
                    "url": "https://github.com/michabbb/blueprint.git",
                    "type": "git",
                    "reference":"master"
                }
            }
        }
    ]
"scripts": {
        "post-update-cmd": [
            "cp vendor/michabbb/blueprint/* vendor/dingo/blueprint/ -R"
        ]
    },

i know i know... super ugly... but till the hostname is added, it works....

@k1ng440
Copy link

k1ng440 commented Apr 28, 2017

+1

@aradhell
Copy link

aradhell commented Dec 5, 2017

any update ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants