Commit 8f8cc478 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Fix defaults

parent b7d01cd9
......@@ -2,7 +2,7 @@
version: '2.1'
services:
gsicrawler:
image: "${IMAGE:-registry.cluster.gsi.dit.upm.es/social/gsicrawler}:${VERSION:-dev}"
image: "${IMAGE:-gsiupm/gsicrawler}:${VERSION:-dev}"
build: .
volumes:
- ".:/usr/src/app"
......
......@@ -47,9 +47,9 @@ components:
enum:
- json
- elasticsearch
default: json
in: query
description: Select the output. If takes long taskId will be returned
required: true
esendpoint:
name: esendpoint
in: query
......@@ -117,23 +117,21 @@ paths:
enum:
- search
- timeline
default: search
in: query
description: Select the query type. Choose between normal search or retrieve a timeline.
required: true
- name: keep
schema:
type: boolean
default: false
in: query
description: "Keep all original fields in the response"
required: true
- name: number
schema:
type: integer
default: 10
in: query
description: "Number of reviews to retrieve. Set to 0 or below to retrieve all available reviews."
required: true
- $ref: '#/components/parameters/output'
- $ref: '#/components/parameters/esendpoint'
- $ref: '#/components/parameters/index'
......@@ -163,7 +161,6 @@ paths:
default: -1
in: query
description: Number of results wanted
required: true
- $ref: '#/components/parameters/output'
- $ref: '#/components/parameters/esendpoint'
- $ref: '#/components/parameters/index'
......@@ -193,7 +190,6 @@ paths:
default: 10
in: query
description: Number of results wanted
required: true
- $ref: '#/components/parameters/output'
- $ref: '#/components/parameters/esendpoint'
- $ref: '#/components/parameters/index'
......@@ -301,7 +297,6 @@ paths:
default: 10
in: query
description: Number of results wanted
required: true
- $ref: '#/components/parameters/output'
- $ref: '#/components/parameters/esendpoint'
- $ref: '#/components/parameters/index'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment