Skip to content

Commit f7c039e

Browse files
authored
Did You Mean This (Independent Publisher) (#2022)
* Add files via upload * Add files via upload
1 parent 2043c2e commit f7c039e

File tree

3 files changed

+130
-0
lines changed

3 files changed

+130
-0
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "Did You Mean This",
5+
"description": "Google's famed \"Did you mean this?\" feature is a powerful feature to guide your users for corrections easily. This service features a fast and convenient way to embed this feature into your application.",
6+
"version": "1.0",
7+
"contact": {
8+
"name": "Troy Taylor",
9+
"url": "https://www.hitachisolutions.com",
10+
"email": "ttaylor@hitachisolutions.com"
11+
}
12+
},
13+
"host": "api.apilayer.com",
14+
"basePath": "/dymt/",
15+
"schemes": [
16+
"https"
17+
],
18+
"consumes": [],
19+
"produces": [],
20+
"paths": {
21+
"/did_you_mean_this": {
22+
"get": {
23+
"responses": {
24+
"200": {
25+
"description": "default",
26+
"schema": {
27+
"type": "object",
28+
"properties": {
29+
"is_modified": {
30+
"type": "boolean",
31+
"description": "Whether is modified from the original request text.",
32+
"title": "Is Modified"
33+
},
34+
"original_text": {
35+
"type": "string",
36+
"description": "The original text.",
37+
"title": "Original Text"
38+
},
39+
"result": {
40+
"type": "string",
41+
"description": "The result.",
42+
"title": "Result"
43+
}
44+
}
45+
}
46+
}
47+
},
48+
"summary": "Check text",
49+
"description": "Retrieves a suggestion for the provided text.",
50+
"operationId": "Check",
51+
"parameters": [
52+
{
53+
"name": "q",
54+
"in": "query",
55+
"x-ms-summary": "Text",
56+
"description": "The text.",
57+
"required": true,
58+
"type": "string"
59+
}
60+
]
61+
}
62+
}
63+
},
64+
"definitions": {},
65+
"parameters": {},
66+
"responses": {},
67+
"securityDefinitions": {
68+
"api_key": {
69+
"type": "apiKey",
70+
"in": "header",
71+
"name": "apikey"
72+
}
73+
},
74+
"security": [],
75+
"tags": [],
76+
"x-ms-connector-metadata": [
77+
{
78+
"propertyName": "Website",
79+
"propertyValue": "https://apilayer.com/marketplace/dymt-api"
80+
},
81+
{
82+
"propertyName": "Privacy policy",
83+
"propertyValue": "https://apilayer.com/support"
84+
},
85+
{
86+
"propertyName": "Categories",
87+
"propertyValue": "Data"
88+
}
89+
]
90+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"properties": {
3+
"connectionParameters": {
4+
"api_key": {
5+
"type": "securestring",
6+
"uiDefinition": {
7+
"displayName": "API Key",
8+
"description": "The API Key for this api",
9+
"tooltip": "Provide your API Key",
10+
"constraints": {
11+
"tabIndex": 2,
12+
"clearText": false,
13+
"required": "true"
14+
}
15+
}
16+
}
17+
},
18+
"iconBrandColor": "#da3b01",
19+
"capabilities": [],
20+
"publisher": "Troy Taylor",
21+
"stackOwner": "API Temple"
22+
}
23+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Did You Mean This
2+
Google's famed "Did you mean this?" feature is a powerful feature to guide your users for corrections easily. This service features a fast and convenient way to embed this feature into your application.
3+
4+
## Publisher: Troy Taylor, Hitachi Solutions
5+
6+
## Prerequisites
7+
This service requires an account with [APILayer](https://apilayer.com/) and a subscription to the Did You Mean This? service.
8+
9+
## Obtaining Credentials
10+
After subscribing for the service, you will be given an API Key.
11+
12+
## Supported Operations
13+
### Check text
14+
Retrieves a suggestion for the provided text.
15+
16+
## Known Issues and Limitations
17+
There are no known issues at this time.

0 commit comments

Comments
 (0)