Documentation
¶
Overview ¶
Some parts of the OpenAPI spec are not supported by oapi-codegen, such as the "oneOf" and "anyOf" keywords. In these cases, you can define the types manually in the types package and reference them via `x-go-type` so the go client works properly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateEntitlementJSONBodyType ¶
type CreateEntitlementJSONBodyType string
CreateEntitlementJSONBodyType defines parameters for CreateEntitlement.
ENUM: "metered", "static", "boolean"
const ( CreateEntitlementJSONBodyTypeMetered CreateEntitlementJSONBodyType = "metered" CreateEntitlementJSONBodyTypeStatic CreateEntitlementJSONBodyType = "static" CreateEntitlementJSONBodyTypeBoolean CreateEntitlementJSONBodyType = "boolean" )
type RecurringPeriod ¶
type RecurringPeriod struct {
// Anchor An arbitrary anchor to base the recurring period on.
Anchor time.Time `json:"anchor"`
// Interval List of pre-defined periods that can be used for recurring & scheduling.
//
// DAY: Every day
// WEEK: Every week
// MONTH: Every month
// YEAR: Every year
Interval RecurringPeriodEnum `json:"interval"`
}
type RecurringPeriodEnum ¶
type RecurringPeriodEnum string
RecurringPeriodEnum List of pre-defined periods that can be used for recurring & scheduling.
Click to show internal directories.
Click to hide internal directories.