Skip to content

Commit 5bfb54c

Browse files
authored
Merge pull request #12 from doitintl/allocations
Allocations
2 parents 8e4010d + 018e6d6 commit 5bfb54c

24 files changed

+24644
-83
lines changed

OpenAPI/generator_config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
provider:
2+
name: doit
3+
resources:
4+
allocation:
5+
create:
6+
path: /analytics/v1/allocations
7+
method: POST
8+
read:
9+
path: /analytics/v1/allocations/{id}
10+
method: GET
11+
update:
12+
path: /analytics/v1/allocations/{id}
13+
method: PATCH
14+
delete:
15+
path: /analytics/v1/allocations/{id}
16+
method: DELETE

OpenAPI/generator_config_group.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
provider:
2+
name: doit
3+
resources:
4+
allocation_group:
5+
create:
6+
path: /analytics/v1/allocations
7+
method: POST
8+
read:
9+
path: /analytics/v1/allocations/{id}
10+
method: GET
11+
update:
12+
path: /analytics/v1/allocations/{id}
13+
method: PATCH
14+
delete:
15+
path: /analytics/v1/allocations/{id}
16+
method: DELETE

OpenAPI/models.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package: models
2+
output: internal/provider/models/models_gen.go
3+
generate:
4+
models: true

0 commit comments

Comments
 (0)