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

Ability to include an external file as overview section. #62

Merged
merged 3 commits into from
Dec 5, 2017
Merged

Ability to include an external file as overview section. #62

merged 3 commits into from
Dec 5, 2017

Conversation

memiah-steve
Copy link
Contributor

@memiah-steve memiah-steve commented Jun 29, 2017

Adds functionality to include a file (in API blueprint format) to be displayed at the top of the generated blueprint, under the title.

Additionally, the following changes can be made to the dingo/api Docs artisan command to allow cli generation that includes the overview, e.g.

php artisan api:docs --output-file blueprint.apib --overview-file=docs/overview.apib

These changes are reflected here:

Docs.php.txt

This is just one possible solution for #59 (Probably the most simplistic work around).

@memiah-steve
Copy link
Contributor Author

In addition, I've forked dingo/api repo and added artisan command support for adding an overview section. If required can create a pull request for this too.

https://github.com/memiah/api/tree/blueprint-overview

@from2day from2day merged commit 1dc93b8 into dingo:master Dec 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants