influxdata / influxdata/openapi
schema/SMTPNotificationRule.yml not implemented
- Dominant language
- Shell
- Stars
- 18
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
An SMTPNotificationRule is specified in `common/schemas/NotificationRuleDiscriminator.yml` and declared in `common/schemas/SMTPNotificationRule.yml` and `common/schemas/SMTPNotificationRuleBase.yml`, however...
1. There is no corresponding `SMTPNotificationEndpoint.yml` declaration.
2. When attempting to use `type: smtp` in the requestBody of a POST request to the `/notificationRules` endpoint, the server returns HTTP 400 "invalid notification type smtp"
Will an SMTP notification endpoint and rule be implemented or should the SMTPNotificationRule be removed from openapi?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading common/schemas/NotificationRuleDiscriminator.yml, common/schemas/SMTPNotificationRule.yml, and common/schemas/SMTPNotificationRuleBase.yml, then inspect the /notificationRules requestBody definition. Determine whether type: smtp is intended to be supported; done means the OpenAPI declarations and endpoint behavior consistently support SMTP or the unused schema is removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100