swag-sender/openapi/openapi.yaml
2021-08-23 17:57:54 +03:00

37 lines
897 B
YAML

openapi: 3.0.0
info:
version: 1.0.0
title: RBKmoney Sender API
description:
$ref: './docs/api.md'
termsOfService: http://rbk.money/
contact:
name: RBKmoney support team
email: support@rbk.money
url: 'https://developer.rbk.money'
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
paths:
/message/feedback:
$ref: ./paths/message-feedback.yaml
'/message/exclusion-rules/{ruleID}':
$ref: './paths/message-exclusion-rules@{ruleID}.yaml'
'/message/exclusion-rules':
$ref: './paths/message-exclusion-rules.yaml'
servers:
- url: 'https://{subdomain}.rbk.money/sender/{version}'
variables:
subdomain:
default: api
version:
enum:
- v1
default: v1
security:
- bearer: []
components:
securitySchemes:
bearer:
$ref: './components/security-schemes/Bearer.yaml'