-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi_types.gen.go
42 lines (36 loc) · 1.34 KB
/
openapi_types.gen.go
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
// Package coffee provides primitives to interact with the openapi HTTP API.
//
// Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
package coffee
// Defines values for Characteristic.
const (
Acidity Characteristic = "acidity"
Aftertaste Characteristic = "aftertaste"
Aroma Characteristic = "aroma"
Body Characteristic = "body"
Flavor Characteristic = "flavor"
Sweetness Characteristic = "sweetness"
)
// BestCoffees defines model for BestCoffees.
type BestCoffees struct {
Characteristics []Characteristic `json:"characteristics"`
ChatGpt []Option `json:"chat_gpt"`
Database *[]Option `json:"database,omitempty"`
}
// Characteristic defines model for Characteristic.
type Characteristic string
// Error defines model for Error.
type Error struct {
Code int32 `json:"code"`
Message string `json:"message"`
}
// Option defines model for Option.
type Option struct {
Details *map[string]interface{} `json:"details,omitempty"`
Message string `json:"message"`
}
// GetBestTypeCoffeeParams defines parameters for GetBestTypeCoffee.
type GetBestTypeCoffeeParams struct {
// Characteristics Characteristics to build your best type of coffee, up to 3 selected characteristics.
Characteristics []Characteristic `form:"characteristics" json:"characteristics"`
}