Skip to content

Commit 1371ffa

Browse files
committed
Cleaned error in openapi parameters. Reran clean validate.
1 parent 7145c9b commit 1371ffa

File tree

43 files changed

+5363
-14065
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+5363
-14065
lines changed

openapi.yaml

Lines changed: 701 additions & 1 deletion
Large diffs are not rendered by default.

openapi/components/parameters/parameters.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -252,17 +252,6 @@ aggdatasetidPath:
252252
maximum: 60000
253253
minimum: 1
254254
type: integer
255-
datasetidPath:
256-
description: Valid Neotoma dataset identifier (integer), either singly or in a comma separated list.
257-
in: path
258-
name: datasetid
259-
required: true
260-
schema:
261-
example: 100
262-
format: int32
263-
maximum: 60000
264-
minimum: 1
265-
type: integer
266255
datasetidQuery:
267256
description: Valid Neotoma dataset identifier (integer), either singly or in a comma separated list.
268257
in: query

public/tests.html

Lines changed: 1 addition & 5 deletions
Large diffs are not rendered by default.

public/tests.json

Lines changed: 4627 additions & 13889 deletions
Large diffs are not rendered by default.

test/v1.5-data-contacts-{contactid}-test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ const expect = chakram.expect;
77
describe('tests for /v1.5/data/contacts/{contactid}', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "Contact"', function() {
10-
<<<<<<< HEAD
1110
const response = request('get', 'http://localhost:3001/v1.5/data/contacts/500', {
12-
=======
13-
const response = request('get', 'http://localhost:3001/v1.5/data/contacts/-7161913', {
14-
>>>>>>> develop
1511
'time': true,
1612
});
1713

test/v1.5-data-geopoliticalunits-test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ describe('tests for /v1.5/data/geopoliticalunits', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "An array of geopolitical units."', function() {
1010
const response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits', {
11-
<<<<<<< HEAD
12-
'qs': {'gpid': 5392, 'gpname': 'Canada', 'rank': 3, 'lower': false},
13-
=======
1411
'qs': {'gpid': 5392, 'gpname': 'Canada', 'rank': 4, 'lower': false},
15-
>>>>>>> develop
1612
'time': true,
1713
});
1814

test/v1.5-data-geopoliticalunits-{gpid}-test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ const expect = chakram.expect;
77
describe('tests for /v1.5/data/geopoliticalunits/{gpid}', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "An array of geopolitical units."', function() {
10-
<<<<<<< HEAD
11-
const response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits/500', {
12-
=======
13-
const response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits/7309', {
14-
>>>>>>> develop
10+
const response = request('get', 'http://localhost:3001/v1.5/data/geopoliticalunits/887', {
1511
'time': true,
1612
});
1713

test/v2.0-apps-constdb-datasetages-test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ describe('tests for /v2.0/apps/constdb/datasetages', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "Returns an ordered array (from earliest to latest) of upload counts by month (YYYY/MM/DD; all days as 01). Months with no uploads are excluded. "', function() {
1010
const response = request('get', 'http://localhost:3001/v2.0/apps/constdb/datasetages', {
11-
<<<<<<< HEAD
12-
'qs': {'dbid': 8},
13-
=======
14-
'qs': {'dbid': 10},
15-
>>>>>>> develop
11+
'qs': {'dbid': 34},
1612
'time': true,
1713
});
1814

test/v2.0-apps-constdb-datasets-test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ describe('tests for /v2.0/apps/constdb/datasets', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "Returns the set of datasets contained within a constituent database, identified by the constituent database identifier. Used for quick landing page generation. "', function() {
1010
const response = request('get', 'http://localhost:3001/v2.0/apps/constdb/datasets', {
11-
<<<<<<< HEAD
12-
'qs': {'dbid': 5},
13-
=======
14-
'qs': {'dbid': 35},
15-
>>>>>>> develop
11+
'qs': {'dbid': 13},
1612
'time': true,
1713
});
1814

test/v2.0-apps-constdb-datasetuploads-test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ describe('tests for /v2.0/apps/constdb/datasetuploads', function() {
88
describe('tests for get', function() {
99
it('should respond 200 for "Returns an ordered array (from earliest to latest) of upload counts by month (YYYY/MM/DD; all days as 01). Months with no uploads are excluded. "', function() {
1010
const response = request('get', 'http://localhost:3001/v2.0/apps/constdb/datasetuploads', {
11-
<<<<<<< HEAD
12-
'qs': {'dbid': 33},
13-
=======
14-
'qs': {'dbid': 25},
15-
>>>>>>> develop
11+
'qs': {'dbid': 5},
1612
'time': true,
1713
});
1814

0 commit comments

Comments
 (0)