aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/src/api.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-08 04:22:11 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-08 04:22:11 +0800
commitbe472b61e776ea44a872b54742af8664660aa27c (patch)
treeb3a52124d3a8672a1d74550adf243c8b24bc9d78 /packages/sra-api/src/api.ts
parent260640feed5dcda52936873397cf3b2c899718c6 (diff)
downloaddexon-sol-tools-be472b61e776ea44a872b54742af8664660aa27c.tar
dexon-sol-tools-be472b61e776ea44a872b54742af8664660aa27c.tar.gz
dexon-sol-tools-be472b61e776ea44a872b54742af8664660aa27c.tar.bz2
dexon-sol-tools-be472b61e776ea44a872b54742af8664660aa27c.tar.lz
dexon-sol-tools-be472b61e776ea44a872b54742af8664660aa27c.tar.xz
dexon-sol-tools-be472b61e776ea44a872b54742af8664660aa27c.tar.zst
dexon-sol-tools-be472b61e776ea44a872b54742af8664660aa27c.zip
Add markdown section
Diffstat (limited to 'packages/sra-api/src/api.ts')
-rw-r--r--packages/sra-api/src/api.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/sra-api/src/api.ts b/packages/sra-api/src/api.ts
index 33d4d3619..da61cb1b0 100644
--- a/packages/sra-api/src/api.ts
+++ b/packages/sra-api/src/api.ts
@@ -2,6 +2,7 @@ import { schemas } from '@0xproject/json-schemas';
import { OpenApiSpec } from '@loopback/openapi-v3-types';
import { examples } from './examples';
+import { md } from './md';
import { generateParameters } from './parameters';
import { generateResponses } from './responses';
// We need to replace the `$ref`s to be openAPI compliant.
@@ -10,10 +11,9 @@ const openApiSchemas = JSON.parse(JSON.stringify(schemas).replace(/(\/\w+)/g, ma
export const api: OpenApiSpec = {
openapi: '3.0.0',
info: {
- version: '1.0.0',
+ version: '2.0.0',
title: 'Standard Relayer REST API',
- description:
- '0x Protocol is an open standard. Because of this, we expect many independent applications to be built that will want to use the protocol. In order to make it easier for anyone to source liquidity that conforms to the 0x order format, relayers can opt-in to implementing a set of standard relayer API endpoints. In doing so, they allow clients of the standard relayer API to access the orders on their orderbook.',
+ description: md.introduction,
license: {
name: 'Apache 2.0',
url: 'https://www.apache.org/licenses/LICENSE-2.0.html',