Skip to content

Commit 0729b52

Browse files
authored
Merge pull request #2 from sudoWright/revert/find-and-fix-a-bug-in-codebase
Revert "Fix parameter structure in Bing API spec"
2 parents 18bce02 + e462c8b commit 0729b52

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

API_actions/bing_requests.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ paths:
2323
required: true
2424
schema:
2525
type: string
26-
- name: cc
27-
in: query
28-
x-ms-parameter-location: client
29-
description: The market where results come from, by default is GLOBAL
30-
required: false
31-
schema:
32-
type: string
3326
responses:
3427
'200':
3528
description: A JSON response with search results and relevant HTTP headers
@@ -39,6 +32,13 @@ paths:
3932
$ref: '#/components/schemas/searchResponse'
4033
security:
4134
- OcpApimSubscriptionKey: []
35+
x-ms-parameter-location:
36+
name: cc
37+
x-ms-parameter-location: "client"
38+
description: The market where results come from, by default is GLOBAL
39+
required: false
40+
schema:
41+
type: string
4242
/v7.0/news/search:
4343
get:
4444
operationId: searchNews
@@ -51,13 +51,6 @@ paths:
5151
required: true
5252
schema:
5353
type: string
54-
- name: cc
55-
in: query
56-
x-ms-parameter-location: client
57-
description: The market where results come from, by default is GLOBAL
58-
required: false
59-
schema:
60-
type: string
6154
responses:
6255
'200':
6356
description: A JSON response with news search results and relevant HTTP headers
@@ -67,6 +60,13 @@ paths:
6760
$ref: '#/components/schemas/newsSearchResponse'
6861
security:
6962
- OcpApimSubscriptionKey: []
63+
x-ms-parameter-location:
64+
name: cc
65+
x-ms-parameter-location: "client"
66+
description: The market where results come from, by default is GLOBAL
67+
required: false
68+
schema:
69+
type: string
7070
components:
7171
securitySchemes:
7272
OcpApimSubscriptionKey:

0 commit comments

Comments
 (0)