Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VIPAddress ¶
type VIPAddress struct{}
type VIsDate ¶
type VIsDate struct {
// The expected date format. This should be a string that specifies the expected format of the date, using the following standard Go date and time format codes: https://golang.org/pkg/time/#pkg-constants.
// For example, to specify a date in the format "YYYY-MM-DD", you can set Format to "2006-01-02".
Format string
}
func (VIsDate) UpdateOpenAPISchema ¶
type VIsTime ¶
type VIsTime struct {
// The expected format of the time string. This should be a string that specifies the expected format of the time, using the following standard Go date and time format codes: https://golang.org/pkg/time/#pkg-constants.
// For example, to specify a time in the format "15:04:05", you can set Format to "15:04:05".
Format string
}
func (VIsTime) UpdateOpenAPISchema ¶
type VPassword ¶
type VPassword struct {
MinLength int
MaxLength int
RequireSymbols bool
RequireNumbers bool
RequireUpper bool
}
func (VPassword) UpdateOpenAPISchema ¶
type VPhoneNumber ¶
type VPhoneNumber struct {
Prefix string
}
type VRange ¶
func (VRange) UpdateOpenAPISchema ¶
type VStringLength ¶
func (VStringLength) UpdateOpenAPISchema ¶
func (v VStringLength) UpdateOpenAPISchema(schema *openapi3.Schema)
Click to show internal directories.
Click to hide internal directories.