Skip to content

yaml api configuration format #252

Answered by AndreyChechel
ApolonTorq asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ApolonTorq

Here's the actual API configuration section structure:

Option Type Default value Description
api object API configuration
api.input string Path to a project file, or a project directory
api.output string ./api Custom path to the API output directory. Relative to output
api.projects array API Project configuration
api.projects[].input string Path to a project file, or a project directory
api.projects[].output string Custom path to the API output directory. Relative to output

The api.input and api.output configs act differently depending on whether the api.projects config is specified or not:

  • if the api.projects is specified, then the api.input and a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by geoffreymcgill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants