Skip to content

Commit 9bac23b

Browse files
author
Richard Smith
authored
Merge pull request #1 from cedadev/swaggerhub
API definition transferred by SwaggerHub
2 parents c969f34 + 3769b10 commit 9bac23b

File tree

4 files changed

+74
-1
lines changed

4 files changed

+74
-1
lines changed

.swagger-codegen-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Swagger Codegen Ignore
2+
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.swagger-codegen/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0.27

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
# STAC Free Text Search

openapi.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"openapi" : "3.0.0",
3+
"info" : {
4+
"title" : "The SpatioTemporal Asset Catalog API - Free Text",
5+
"description" : "Adds parameter to enable free-text searching on text properties.",
6+
"license" : {
7+
"name" : "Apache 2.0",
8+
"url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
9+
},
10+
"version" : "0.1.0"
11+
},
12+
"servers" : [ {
13+
"url" : "https://virtserver.swaggerhub.com/cedadev/free-text/1.0.0",
14+
"description" : "SwaggerHub API Auto Mocking"
15+
} ],
16+
"paths" : { },
17+
"components" : {
18+
"schemas" : {
19+
"searchBody" : {
20+
"type" : "object",
21+
"properties" : {
22+
"q" : {
23+
"$ref" : "#/components/schemas/q"
24+
}
25+
},
26+
"description" : "**Optional Extension: ** Free Text\n\nFree-text queries against item properties."
27+
},
28+
"q" : {
29+
"type" : "string",
30+
"description" : "Search string",
31+
"example" : "HadGem"
32+
}
33+
},
34+
"parameters" : {
35+
"q" : {
36+
"name" : "q",
37+
"in" : "query",
38+
"description" : "**Optional Extension:** Free Text\n\nMake free-text queries against properties in items.\nUse the JSON form of the query used in POST.",
39+
"required" : false,
40+
"allowEmptyValue" : true,
41+
"style" : "form",
42+
"explode" : true,
43+
"schema" : {
44+
"type" : "string",
45+
"example" : "HadGem3"
46+
}
47+
}
48+
}
49+
}
50+
}

0 commit comments

Comments
 (0)