mirror of
https://github.com/valitydev/swag-notification.git
synced 2024-11-06 01:35:19 +00:00
JD-355: refactor delete notification (#3)
This commit is contained in:
parent
8113a6bef4
commit
ffed3cc599
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -1,7 +1,7 @@
|
||||
#!groovy
|
||||
// -*- mode: groovy -*-
|
||||
|
||||
build('openapi-notification', 'docker-host') {
|
||||
build('swag-notification', 'docker-host') {
|
||||
checkoutRepo()
|
||||
loadBuildUtils('build_utils')
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -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
|
||||
|
8
openapi/components/schemas/DeleteNotification.yaml
Normal file
8
openapi/components/schemas/DeleteNotification.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
type: object
|
||||
required:
|
||||
- notificationIds
|
||||
properties:
|
||||
notificationIds:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../schemas/NotificationId.yaml
|
@ -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: Уведомления удалены
|
||||
|
Loading…
Reference in New Issue
Block a user