-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFunWithGeography.yaml
98 lines (98 loc) · 2.09 KB
/
FunWithGeography.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
paths:
/countries:
get:
tags:
- country
summary: Find all instances of the model matched by filter from the data source.
operationId: country.find
parameters:
- name: filter
in: query
description: 'Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string ({"something":"value"})'
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/country'
deprecated: false
definitions:
country:
properties:
id:
type: string
name:
type: string
code:
type: string
required:
- id
additionalProperties: false
x-any:
properties: {}
city:
properties:
id:
$ref: '#/definitions/ObjectID'
additionalProperties: false
state:
properties:
id:
$ref: '#/definitions/ObjectID'
additionalProperties: false
ObjectID:
type: string
pattern: "^[a-fA-F\\d]{24}$"
basePath: /api
swagger: '2.0'
info:
x-ibm-name: funwithgeography
version: 1.0.0
title: FunWithGeography
schemes:
- https
host: $(catalog.host)
consumes:
- application/json
produces:
- application/json
securityDefinitions:
clientIdSecret:
type: apiKey
description: ''
in: header
name: X-IBM-Client-Secret
clientIdHeader:
type: apiKey
in: header
name: X-IBM-Client-Id
security:
- clientIdHeader: []
clientIdSecret: []
x-ibm-configuration:
testable: true
enforced: true
cors:
enabled: true
catalogs:
apic-dev:
properties:
runtime-url: $(TARGET_URL)
sb:
properties:
runtime-url: 'http://localhost:4001'
assembly:
execute:
- invoke:
target-url: $(api.properties.hostedservice)$(request.path)
catch: []
gateway: datapower-gateway
properties:
hostedservice:
value: 'https://funwithgeography.mybluemix.net'
description: ''
encoded: false