-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kickoff.yml
50 lines (37 loc) · 1.21 KB
/
.kickoff.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# This is a configuration file for the kickoff utility
description: |
This is a REST API archetype for OPERATION type endpoints
New endpoint descriptors can be generated from this archetype by the
[kickoff](https://github.com/tombenke/kickoff) utility.
welcome: >
You are generating an OPERATION type REST API endpoint
postscript: >
Next steps:
- Add your endpoint to the config.yml of the REST API project
- Modify the generated endpoint descriptor and the corresponding fixtures and schemas
- Run the tests in order to verify the correctness of the new endpoint description
npm test
questions:
-
type: input
name: name
message: The name of the endpoint
default: New Endpoint
-
type: input
name: cName
message: The name of the operation
default: ResourceName
-
type: input
name: description
message: The short description of the operation
default: This is a REST API endpoint
-
type: input
name: uriTemplate
message: The complete URI pattern of the endpoint
default: /new-endpoint
converters:
handlebars:
- service.yml