yaml api configuration format #252
-
What's the format for configuring the API section of retype.yaml and can you provide some examples? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @ApolonTorq Here's the actual API configuration section structure:
The
Please see the examples below. A single projectapi:
input: "../Retype.App/"
output: "./api" The same configuration but using the api:
projects:
- input: "../Retype.App/"
output: "./api" Multiple projectsapi:
projects:
- input: "../Retype.App/"
output: "./api"
- input: "../Retype.App.Tests/"
output: "./api" Since the both project in the sample above use the same api:
output: "./api"
projects:
- input: "../Retype.App/"
- input: "../Retype.App.Tests/" |
Beta Was this translation helpful? Give feedback.
Hi @ApolonTorq
Here's the actual API configuration section structure:
api
object
api.input
string
api.output
string
./api
output
api.projects
array
api.projects[].input
string
api.projects[].output
string
output
The
api.input
andapi.output
configs act differently depending on whether theapi.projects
config is specified or not:api.projects
is specified, then theapi.input
anda…