JD-355: refactor delete notification (#3)

This commit is contained in:
vitaxa 2021-08-05 13:26:12 +03:00 committed by GitHub
parent 8113a6bef4
commit ffed3cc599
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 10 deletions

2
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
#!groovy
// -*- mode: groovy -*-
build('openapi-notification', 'docker-host') {
build('swag-notification', 'docker-host') {
checkoutRepo()
loadBuildUtils('build_utils')

View File

@ -1,7 +1,7 @@
UTILS_PATH := build_utils
TEMPLATES_PATH := .
SERVICE_NAME := openapi-notification
SERVICE_NAME := swag-notification
BUILD_IMAGE_TAG := 442c2c274c1d8e484e5213089906a4271641d95e
CALL_ANYWHERE := all install validate build java.compile java.deploy

View File

@ -0,0 +1,8 @@
type: object
required:
- notificationIds
properties:
notificationIds:
type: array
items:
$ref: ../schemas/NotificationId.yaml

View File

@ -9,14 +9,7 @@ delete:
content:
application/json:
schema:
type: object
required:
- notificationIds
properties:
notificationIds:
type: array
items:
$ref: ../components/schemas/NotificationId.yaml
$ref: ../components/schemas/DeleteNotification.yaml
responses:
'200':
description: Уведомления удалены