Apiary multiple blueprint file into one api
Asked Answered
G

1

9

Hi I am using Apiary to maintain a documentation for my REST API, as our code base is growing our API documentation is getting bigger and bigger. It is becoming very difficult to put all our API inside the single blueprint file, is there any way we can properly organize them into multiple files and show them inside apiary.

Geographical answered 25/3, 2014 at 18:35 Comment(0)
W
11

Yes, there is an undocumented way (it's ugly, but it works): if you are connected with github, you can create a file called apiary.manifest in the root of your repository.

Inside it, you can put newline-separated list of relative paths that are concatenated in that order and shown on your apiary subdomain.

Please note, however, that apiary currently doesn't provide a good way to edit this in the apiary editor. Should you save it there, you'll just get concatenated version saved as apiary.apib back in your repo (this is why it's undocumented).

You'll have to use your editor to edit the blueprint further, i.e. sublime with apiary plugin.

Wicket answered 25/3, 2014 at 19:6 Comment(3)
Do you thinbk you will ever support it with the cli client ? thanks :)Jeffry
@Jeffry definitely; we just want to have better way of configuring the blueprint tooling than the manifest file.Wicket
great ! looking forward :)Jeffry

© 2022 - 2024 — McMap. All rights reserved.