github.com/Axway/agent-sdk@v1.1.101/pkg/apic/apiserver/models/management/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 management 11 12 // WebhookSpec (management.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. (management.v1alpha1.Webhook) 18 Headers map[string]string `json:"headers,omitempty"` 19 }