github.com/Axway/agent-sdk@v1.1.101/pkg/apic/apiserver/models/catalog/v1alpha1/model_webhook_spec.go (about) 1 /* 2 * API Server specification. 3 * 4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 * 6 * API version: SNAPSHOT 7 * Generated by: OpenAPI Generator (https://openapi-generator.tech) 8 */ 9 10 package catalog 11 12 // WebhookSpec (catalog.v1alpha1.Webhook) 13 type WebhookSpec struct { 14 Auth WebhookSpecAuth `json:"auth,omitempty"` 15 Enabled bool `json:"enabled,omitempty"` 16 Url string `json:"url"` 17 // A list of headers that will be sent as par of the http call to the webhook endpoint. (catalog.v1alpha1.Webhook) 18 Headers map[string]string `json:"headers,omitempty"` 19 }