Last active
July 30, 2018 07:09
-
-
Save AnuragGarg89/3118e8ee58f19a9ee87ff775a9265662 to your computer and use it in GitHub Desktop.
Yaml file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.openapitools</groupId> | |
<artifactId>openapi-java-client</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>openapi-java-client</name> | |
<description>OpenAPI Java</description> | |
<properties> | |
<java.version>1.8</java.version> | |
<maven.compiler.source>${java.version}</maven.compiler.source> | |
<maven.compiler.target>${java.version}</maven.compiler.target> | |
<gson-fire-version>1.8.0</gson-fire-version> | |
<swagger-core-version>1.5.18</swagger-core-version> | |
<!-- <yaml.file>http://qa.api.sdp.ihsmvals-dev.com/v2/api-docs</yaml.file> --> | |
<yaml.file>${project.basedir}/SDP.yaml</yaml.file> | |
<okhttp-version>2.7.5</okhttp-version> | |
<gson-version>2.8.1</gson-version> | |
<threetenbp-version>1.3.5</threetenbp-version> | |
<maven-plugin-version>1.0.0</maven-plugin-version> | |
<junit-version>4.12</junit-version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.5.1</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
<fork>true</fork> | |
<executable>C:\Program Files\Java\jdk1.8.0_144\bin\javac</executable> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<version>3.0.0-M1</version> | |
<executions> | |
<execution> | |
<id>enforce-maven</id> | |
<goals> | |
<goal>enforce</goal> | |
</goals> | |
<configuration> | |
<rules> | |
<requireMavenVersion> | |
<version>2.2.0</version> | |
</requireMavenVersion> | |
</rules> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.openapitools</groupId> | |
<artifactId>openapi-generator-maven-plugin</artifactId> | |
<version>3.1.1</version> | |
<configuration> | |
<inputSpec>${yaml.file}</inputSpec> | |
<output>${project.basedir}</output> | |
</configuration> | |
<executions> | |
<execution> | |
<id>generate-swagger-java</id> | |
<phase>generate-sources</phase> | |
<goals> | |
<goal>generate</goal> | |
</goals> | |
<configuration> | |
<language>java</language> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<version>1.10</version> | |
<executions> | |
<execution> | |
<id>add_sources</id> | |
<phase>generate-sources</phase> | |
<goals> | |
<goal>add-source</goal> | |
</goals> | |
<configuration> | |
<sources> | |
<source> | |
src/main/java</source> | |
</sources> | |
</configuration> | |
</execution> | |
<execution> | |
<id>add_test_sources</id> | |
<phase>generate-test-sources</phase> | |
<goals> | |
<goal>add-test-source</goal> | |
</goals> | |
<configuration> | |
<sources> | |
<source> | |
src/test/java</source> | |
</sources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-source-plugin</artifactId> | |
<version>2.2.1</version> | |
<executions> | |
<execution> | |
<id>attach-sources</id> | |
<goals> | |
<goal>jar-no-fork</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.eclipse.m2e</groupId> | |
<artifactId>lifecycle-mapping</artifactId> | |
<version>1.0.0</version> | |
<configuration> | |
<lifecycleMappingMetadata> | |
<pluginExecutions> | |
<pluginExecution> | |
<pluginExecutionFilter> | |
<groupId>org.openapitools</groupId> | |
<artifactId>openapi-generator-maven-plugin</artifactId> | |
<versionRange>[3.1.1,)</versionRange> | |
<goals> | |
<goal>generate</goal> | |
</goals> | |
</pluginExecutionFilter> | |
<action> | |
<execute /> | |
</action> | |
</pluginExecution> | |
</pluginExecutions> | |
</lifecycleMappingMetadata> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>io.swagger</groupId> | |
<artifactId>swagger-annotations</artifactId> | |
<version>${swagger-core-version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.squareup.okhttp</groupId> | |
<artifactId>okhttp</artifactId> | |
<version>${okhttp-version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.squareup.okhttp</groupId> | |
<artifactId>logging-interceptor</artifactId> | |
<version>${okhttp-version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.code.gson</groupId> | |
<artifactId>gson</artifactId> | |
<version>${gson-version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.gsonfire</groupId> | |
<artifactId>gson-fire</artifactId> | |
<version>${gson-fire-version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.threeten</groupId> | |
<artifactId>threetenbp</artifactId> | |
<version>${threetenbp-version}</version> | |
</dependency> | |
<!-- test dependencies --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>${junit-version}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
description: Api Documentation | |
version: '1.0' | |
title: Api Documentation | |
termsOfService: 'urn:tos' | |
contact: {} | |
license: | |
name: Apache 2.0 | |
url: 'http://www.apache.org/licenses/LICENSE-2.0' | |
host: qa.api.sdp.ihsmvals-dev.com | |
basePath: / | |
tags: | |
- name: web-mvc-endpoint-handler-mapping | |
description: Web Mvc Endpoint Handler Mapping | |
- name: index-controller | |
description: Index Controller | |
- name: operation-handler | |
description: Operation Handler | |
- name: version-controller | |
description: Version Controller | |
- name: basic-error-controller | |
description: Basic Error Controller | |
- name: batch-controller | |
description: Batch Controller | |
- name: options-controller | |
description: Options Controller | |
paths: | |
/: | |
get: | |
tags: | |
- index-controller | |
summary: index | |
operationId: indexUsingGET | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: string | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
head: | |
tags: | |
- index-controller | |
summary: index | |
operationId: indexUsingHEAD | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: string | |
'204': | |
description: No Content | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
post: | |
tags: | |
- index-controller | |
summary: index | |
operationId: indexUsingPOST | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: string | |
'201': | |
description: Created | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
put: | |
tags: | |
- index-controller | |
summary: index | |
operationId: indexUsingPUT | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: string | |
'201': | |
description: Created | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
delete: | |
tags: | |
- index-controller | |
summary: index | |
operationId: indexUsingDELETE | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: string | |
'204': | |
description: No Content | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
options: | |
tags: | |
- index-controller | |
summary: index | |
operationId: indexUsingOPTIONS | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: string | |
'204': | |
description: No Content | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
patch: | |
tags: | |
- index-controller | |
summary: index | |
operationId: indexUsingPATCH | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: string | |
'204': | |
description: No Content | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
/actuator: | |
get: | |
tags: | |
- web-mvc-endpoint-handler-mapping | |
summary: links | |
operationId: linksUsingGET | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
additionalProperties: | |
type: object | |
additionalProperties: | |
$ref: '#/definitions/Link' | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/auditevents: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/beans: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_1 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/conditions: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_2 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/configprops: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_3 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/env: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_5 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
'/actuator/env/toMatch': | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_4 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/flyway: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_6 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/health: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_7 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/heapdump: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_8 | |
consumes: | |
- application/json | |
produces: | |
- application/octet-stream | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/httptrace: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_9 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/info: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_10 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/loggers: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_12 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
'/actuator/loggers/name': | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_11 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
post: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingPOST | |
consumes: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
produces: | |
- '*/*' | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'201': | |
description: Created | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/mappings: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_13 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/metrics: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_15 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
'/actuator/metrics/requiredMetricName': | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_14 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/scheduledtasks: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_16 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/actuator/threaddump: | |
get: | |
tags: | |
- operation-handler | |
summary: handle | |
operationId: handleUsingGET_17 | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
- application/vnd.spring-boot.actuator.v2+json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: false | |
schema: | |
type: object | |
additionalProperties: | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/error: | |
get: | |
tags: | |
- basic-error-controller | |
summary: error | |
operationId: errorUsingGET | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
additionalProperties: | |
type: object | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
head: | |
tags: | |
- basic-error-controller | |
summary: error | |
operationId: errorUsingHEAD | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
additionalProperties: | |
type: object | |
'204': | |
description: No Content | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
post: | |
tags: | |
- basic-error-controller | |
summary: error | |
operationId: errorUsingPOST | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
additionalProperties: | |
type: object | |
'201': | |
description: Created | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
put: | |
tags: | |
- basic-error-controller | |
summary: error | |
operationId: errorUsingPUT | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
additionalProperties: | |
type: object | |
'201': | |
description: Created | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
delete: | |
tags: | |
- basic-error-controller | |
summary: error | |
operationId: errorUsingDELETE | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
additionalProperties: | |
type: object | |
'204': | |
description: No Content | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
options: | |
tags: | |
- basic-error-controller | |
summary: error | |
operationId: errorUsingOPTIONS | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
additionalProperties: | |
type: object | |
'204': | |
description: No Content | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
patch: | |
tags: | |
- basic-error-controller | |
summary: error | |
operationId: errorUsingPATCH | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: object | |
additionalProperties: | |
type: object | |
'204': | |
description: No Content | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
/v1.0/data/batch: | |
post: | |
tags: | |
- batch-controller | |
summary: createBatch | |
operationId: createBatchUsingPOST | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
parameters: | |
- in: body | |
name: batch | |
description: batch | |
required: true | |
schema: | |
$ref: '#/definitions/Batch' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: string | |
'201': | |
description: Created | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
'/v1.0/data/batch/{batchId}': | |
get: | |
tags: | |
- batch-controller | |
summary: getBatch | |
operationId: getBatchUsingGET | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
parameters: | |
- name: batchId | |
in: path | |
description: batchId | |
required: true | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
$ref: '#/definitions/Batch' | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
'/v1.0/options/{supplier}/{exchange}/{instrument}': | |
get: | |
tags: | |
- options-controller | |
summary: getOptionTimestamps | |
operationId: getOptionTimestampsUsingGET | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
parameters: | |
- name: supplier | |
in: path | |
description: supplier | |
required: true | |
type: string | |
- name: exchange | |
in: path | |
description: exchange | |
required: true | |
type: string | |
- name: instrument | |
in: path | |
description: instrument | |
required: true | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
$ref: '#/definitions/OptionTimestamps' | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
'/v1.0/options/{supplier}/{exchange}/{instrument}/{timestamp}': | |
get: | |
tags: | |
- options-controller | |
summary: getOptionSet | |
operationId: getOptionSetUsingGET | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
parameters: | |
- name: supplier | |
in: path | |
description: supplier | |
required: true | |
type: string | |
- name: timestamp | |
in: path | |
description: timestamp | |
required: true | |
type: string | |
- name: exchange | |
in: path | |
description: exchange | |
required: true | |
type: string | |
- name: instrument | |
in: path | |
description: instrument | |
required: true | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: string | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
post: | |
tags: | |
- options-controller | |
summary: createOptionSet | |
operationId: createOptionSetUsingPOST | |
consumes: | |
- application/json | |
produces: | |
- application/json | |
parameters: | |
- in: body | |
name: body | |
description: body | |
required: true | |
schema: | |
type: string | |
- name: supplier | |
in: path | |
description: supplier | |
required: true | |
type: string | |
- name: timestamp | |
in: path | |
description: timestamp | |
required: true | |
type: string | |
- name: exchange | |
in: path | |
description: exchange | |
required: true | |
type: string | |
- name: instrument | |
in: path | |
description: instrument | |
required: true | |
type: string | |
responses: | |
'200': | |
description: OK | |
schema: | |
$ref: '#/definitions/Option' | |
'201': | |
description: Created | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
/version: | |
get: | |
tags: | |
- version-controller | |
summary: getApplicationVersion | |
operationId: getApplicationVersionUsingGET | |
consumes: | |
- application/json | |
produces: | |
- '*/*' | |
responses: | |
'200': | |
description: OK | |
schema: | |
type: string | |
'401': | |
description: Unauthorized | |
'403': | |
description: Forbidden | |
'404': | |
description: Not Found | |
definitions: | |
Batch: | |
type: object | |
properties: | |
batchId: | |
type: string | |
snapTime: | |
type: string | |
format: date-time | |
source: | |
type: string | |
supplier: | |
type: string | |
startTime: | |
type: string | |
format: date-time | |
exchange: | |
type: string | |
Link: | |
type: object | |
properties: | |
href: | |
type: string | |
templated: | |
type: boolean | |
'Map�string,Link�': | |
type: object | |
additionalProperties: | |
$ref: '#/definitions/Link' | |
ModelAndView: | |
type: object | |
properties: | |
empty: | |
type: boolean | |
model: | |
type: object | |
modelMap: | |
type: object | |
additionalProperties: | |
type: object | |
reference: | |
type: boolean | |
status: | |
type: string | |
enum: | |
- '100' | |
- '101' | |
- '102' | |
- '103' | |
- '200' | |
- '201' | |
- '202' | |
- '203' | |
- '204' | |
- '205' | |
- '206' | |
- '207' | |
- '208' | |
- '226' | |
- '300' | |
- '301' | |
- '302' | |
- '303' | |
- '304' | |
- '305' | |
- '307' | |
- '308' | |
- '400' | |
- '401' | |
- '402' | |
- '403' | |
- '404' | |
- '405' | |
- '406' | |
- '407' | |
- '408' | |
- '409' | |
- '410' | |
- '411' | |
- '412' | |
- '413' | |
- '414' | |
- '415' | |
- '416' | |
- '417' | |
- '418' | |
- '419' | |
- '420' | |
- '421' | |
- '422' | |
- '423' | |
- '424' | |
- '426' | |
- '428' | |
- '429' | |
- '431' | |
- '451' | |
- '500' | |
- '501' | |
- '502' | |
- '503' | |
- '504' | |
- '505' | |
- '506' | |
- '507' | |
- '508' | |
- '509' | |
- '510' | |
- '511' | |
- '512' | |
- '513' | |
view: | |
$ref: '#/definitions/View' | |
viewName: | |
type: string | |
Option: | |
type: object | |
properties: | |
document: | |
type: string | |
optionKey: | |
$ref: '#/definitions/OptionKey' | |
OptionKey: | |
type: object | |
properties: | |
exchange: | |
type: string | |
instrument: | |
type: string | |
supplier: | |
type: string | |
timestamp: | |
type: string | |
format: date-time | |
OptionTimestamp: | |
type: object | |
properties: | |
optionTimeStamp: | |
type: string | |
url: | |
type: string | |
OptionTimestamps: | |
type: object | |
properties: | |
optionTimestampList: | |
type: array | |
items: | |
$ref: '#/definitions/OptionTimestamp' | |
View: | |
type: object | |
properties: | |
contentType: | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment