-
Notifications
You must be signed in to change notification settings - Fork 2
/
muranoauth.yaml
74 lines (69 loc) · 2.65 KB
/
muranoauth.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
swagger: "2.0"
################################################################################
# Service Metadata #
################################################################################
info:
version: "1.0"
title: Signed Request Example
description: This example showcase Murano authenticated requests to https://requestbin.com/r/en0xqdd251y7a .
contact:
name: maintainer name
email: [email protected]
################################################################################
# API Information #
################################################################################
# A hostname with a valid, signed, and active TSL certificate is required.
host: en0xqdd251y7a.x.pipedream.net
basePath: /
################################################################################
# Security #
################################################################################
securityDefinitions:
signature:
# Signature Header, using Murano Services CA
# See doc at https://github.com/exosite/open_api_integration/blob/master/README.md#signature
type: signature
# name: signature # optional by default goint in signature header
clientCA:
# Client CA authentication, using Murano Services CA
# See doc at https://github.com/exosite/open_api_integration/blob/master/README.md#clientca
type: clientCA
security:
- signature: []
################################################################################
# Operations #
################################################################################
paths:
/:
get:
description: Signature
operationId: sign
parameters:
- name: param
type: string
description: A query parameter part of the signature
in: query
responses:
default:
description: Response
post:
description: Signature with Body
operationId: signBody
parameters:
- name: bodyParam
description: A body parameter which length is part of the signature
in: body
schema:
description: A body parameter which length is part of the signature
type: string
responses:
default:
description: Response
put:
description: Client certificate.
operationId: clientCA
security:
- clientCA: []
responses:
default:
description: Response