-
Release 1.1.15
-
Release 1.1.14
-
Release 1.1.13
-
Release 1.1.12
-
Release 1.1.11
-
Release 1.1.10
-
Release 1.1.9
-
Release 1.1.8
-
Release 1.1.7
-
Release 1.1.6
-
Release 1.1.5
-
Release 1.1.4
-
Release 1.1.3
-
Release 1.1.2
-
Release 1.1.1
-
Release 1.1.0
-
Enhancements in Progress
Enhancements for Future Versions
This command line tool will build API documentation from Bruno collection
(.bru
) files. Each of these files contains an optional docs
section which
contains Markdown documentation for the endpoint. This tool will parse the
.bru
files and generate a single Markdown file containing the documentation
for each endpoint. The resulting Markdown file will be saved to the output
directory.
Variable Name | Description | Values | Default Value |
---|---|---|---|
LOG_LEVEL | The level of logging to use for the log file. Console log level is always info . |
error warn info verbose debug
|
verbose |
From the root directory of the project, run the following command:
npx build-api-docs-from-bruno@latest [command] {options}
Switch | Type | Default | Required | Description |
---|---|---|---|---|
-q --silent
|
boolean |
false |
Optional | Suppresses all output to the console. |
-r --verbose
|
boolean |
false |
Optional | Outputs additional information to the console. |
--help |
Displays help information. | |||
-v --version
|
Displays version information. |
Builds the API documentation from the Bruno collection files.
Switch | Type | Default | Required | Description |
---|---|---|---|---|
-s --source
|
string |
Required | The path to the source directory containing the Bruno collection files. | |
-d --destination
|
string |
Required | The path to the output directory. | |
-t --test
|
boolean |
false |
Optional | Test the build process without writing the output file. |
Examples will be provided in a future release.
GNU General Public License (GPL)
This software is licensed under the GNU General Public License (GPL). The GPL allows users to freely use, copy, modify, and distribute this software under the following conditions:
-
Any modified versions of this software must also be licensed under the GPL.
-
The original or modified software cannot be sold or used for profit.
-
The source code must be made available when distributing the software.
For more detailed information, please visit the official GNU GPL website.
To contribute, contact RamonaSteve.
- [x] Remove console logging for debugging file transport
- [x] Add exception handling for file transport
- [x] Added console logging for debugging file transport
- [x] Refactor logger to enhance logged information
- [x] Revert console log level to info
- [x] Add environment variable usage to README.md
- [x] Enhance logging for file overwrite
- [x] Remove deprecated code
- [x] Correct path for saving configuration file
- [X] Added more debug code
- [X] Correct path for retrieval of Bruno files
- [X] Add additional logging
- [X] Correct path for retrieval of Bruno files
- [X] Correct file path for source files
- [X] Update console log level to debug
- [X] Correct file path for output file
- [X] Add publishConfig to package.json
- [X] Set console logging to Verbose for debugging
- [X] Update TOC in README.md
- [X] Add function to get logger's file transport path
- [X] Write log file path to console at startup
- [X] Remove unneeded debug code
- [X] Add debug code for logging
- [X] Fix regular expression for configuration file name
- [X] Fix output path for logger
- [X] Fix location for default configuration file
- [X] Fix location for all file reads and writes
- [X] Remove CSS styling from README.md
- [X] Add error handling for source directory not existing
- [X] Add header content from
header.md
or a specified file - [X] Add interactive mode
- [X] Add silent mode
- [X] Add support for a list of files or directories to exclude that are in
the source path and end with
.bru
- [X] Add tail content from
tail.md
or a specified file - [X] Add test mode to run process and check for errors but not writing output file
- [X] Add verbose mode
- [X] Allow input of source path, output path and output file name
- [X] Display message if no command is provided
- [X] Make default command
guided
and remove the guided command - [X] Update README.md
- [X] Update unit tests; target 80% coverage
None