Skip to content

Commit

Permalink
Introduce IaaS API v1 to Client
Browse files Browse the repository at this point in the history
Introduce IaaS API v1 to Client

Co-authored-by: Robert Hoppe <[email protected]>
  • Loading branch information
roberth1988 and Robert Hoppe authored Jul 30, 2024
1 parent c0ad906 commit ec46c6d
Show file tree
Hide file tree
Showing 19 changed files with 6,974 additions and 1 deletion.
33 changes: 33 additions & 0 deletions internal/config/iaas/v1/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package: iaas
output: ../../../../pkg/services/iaas-api/v1/iaas.go
generate:
models: true
client: true
output-options:
custom-doer:
enabled: true
import: contracts "github.com/SchwarzIT/community-stackit-go-client/pkg/contracts"
name: "contracts.BaseClientInterface"
split-by-tags:
verbose: false
enabled: true
tidy:
verbose: false
functions:
- replace: Id
with: ID
all: true
params:
- replace: Id
with: ID
all: true
- replace: v1OrganizationID
with: OrganizationID
all: true
- replace: v1ProjectID
with: ProjectID
all: true
schemas:
- replace: Id
with: ID
all: true
3 changes: 3 additions & 0 deletions internal/config/iaas/v1/generate.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package gen

//go:generate go run github.com/do87/stackit-client-generator/cmd/[email protected] -config config.yaml iaas-api-v1.json
Loading

0 comments on commit ec46c6d

Please sign in to comment.