TypeAPI

An OpenAPI alternative to describe REST APIs for type-safe code generation.

Specification Editor Generator

Go Client Integration

To integrate the generated client SDK you need to add the github.com/apioo/sdkgen-go package to your project. Then you can simply paste the generated code into the source folder and start using the client for example:

credentials := sdkgen.Anonymous{}

client, err := NewClient("http://127.0.0.1:1080", credentials)
if err != nil {
  log.Fatal(err)
}

message, err := client.Test().GetHello()
if err != nil {
  log.Fatal(err)
}

fmt.Println("Message: " + message.Message);
part of the Apioo-Project