dingo / blueprint

Generate valid API Blueprint documentation
271 stars 108 forks source link

Add HOST to API blueprint from API_DOMAIN #17

Open danielfpferreira opened 9 years ago

danielfpferreira commented 9 years ago

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 commented 9 years ago

Will take a look! Thanks.

tdanielcox commented 9 years ago

+1

edwinheij commented 8 years ago

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 commented 8 years ago

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

+1

sefsinalas commented 8 years ago

+1

GabrielGil commented 8 years ago

+1

michabbb commented 7 years ago

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

michabbb commented 7 years ago

okay, don´t know how the author wants to solve this, but here´s another simple merge: https://github.com/dingo/blueprint/pull/51

michabbb commented 7 years ago

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 commented 7 years ago

+1

aradhell commented 6 years ago

any update ?