Documentation
¶
Index ¶
- type RandomDataGenerator
- type RestEndpointsGenerator
- func (reg *RestEndpointsGenerator) FromOpenApiV3Content(openApi []byte) ([]models.RestEndpoint, error)
- func (reg *RestEndpointsGenerator) FromOpenApiV3File(pathToOpenApi string) ([]models.RestEndpoint, error)
- func (reg *RestEndpointsGenerator) FromOpenApiV3Url(urlOpenApi string) ([]models.RestEndpoint, error)
- func (reg *RestEndpointsGenerator) FromSwaggerV2Content(swagger []byte) ([]models.RestEndpoint, error)
- func (reg *RestEndpointsGenerator) FromSwaggerV2File(pathToSwagger string) ([]models.RestEndpoint, error)
- func (reg *RestEndpointsGenerator) FromSwaggerV2Url(urlSwagger string) ([]models.RestEndpoint, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomDataGenerator ¶
type RandomDataGenerator struct {
}
func (*RandomDataGenerator) RandomBool ¶
func (rdg *RandomDataGenerator) RandomBool() bool
func (*RandomDataGenerator) RandomFloat ¶
func (rdg *RandomDataGenerator) RandomFloat() float64
func (*RandomDataGenerator) RandomInt ¶
func (rdg *RandomDataGenerator) RandomInt() int
func (*RandomDataGenerator) RandomString ¶
func (rdg *RandomDataGenerator) RandomString() string
type RestEndpointsGenerator ¶
type RestEndpointsGenerator struct {
// contains filtered or unexported fields
}
func NewRestEndpointsGenerator ¶
func NewRestEndpointsGenerator(randomDataGenerator *RandomDataGenerator) *RestEndpointsGenerator
func (*RestEndpointsGenerator) FromOpenApiV3Content ¶
func (reg *RestEndpointsGenerator) FromOpenApiV3Content(openApi []byte) ([]models.RestEndpoint, error)
func (*RestEndpointsGenerator) FromOpenApiV3File ¶
func (reg *RestEndpointsGenerator) FromOpenApiV3File(pathToOpenApi string) ([]models.RestEndpoint, error)
func (*RestEndpointsGenerator) FromOpenApiV3Url ¶
func (reg *RestEndpointsGenerator) FromOpenApiV3Url(urlOpenApi string) ([]models.RestEndpoint, error)
func (*RestEndpointsGenerator) FromSwaggerV2Content ¶
func (reg *RestEndpointsGenerator) FromSwaggerV2Content(swagger []byte) ([]models.RestEndpoint, error)
func (*RestEndpointsGenerator) FromSwaggerV2File ¶
func (reg *RestEndpointsGenerator) FromSwaggerV2File(pathToSwagger string) ([]models.RestEndpoint, error)
func (*RestEndpointsGenerator) FromSwaggerV2Url ¶
func (reg *RestEndpointsGenerator) FromSwaggerV2Url(urlSwagger string) ([]models.RestEndpoint, error)
Click to show internal directories.
Click to hide internal directories.