btp-saas-provisioning-api-go/

directory
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0

README

Btp SaaS-Provisioning Service API Go

Prerequisites

Install openapi-generator-cli (using mac)

brew install openapi-generator

for other OS see official guide

How to regenerate

openapi-generator generate -i swagger-patched.json -g go -o pkg/ --additional-properties=generateInterfaces=true
go mod tidy -v

Apply patches

Sometimes api specs need to be patched prior to generating code out of them. For that the widely accepted json-patch standard can be used. To not introduce any more dependencies into the project we do not include an opinionated json-patch library but rather leave it up to the contributor to choose one. You can find a list here: https://jsonpatch.com

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL