@golemio/raw 1.1.3-dev.899785616 → 1.1.3-dev.976391102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,58 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: 🗄️Raw data
4
+ description: >-
5
+ <p>💡 ️Raw data.</p>
6
+ version: 1.0.0
7
+ contact:
8
+ name: Golemio Prague Data Plaform
9
+ email: golemio@operatorict.cz
10
+ url: https://golemio.cz
11
+ servers:
12
+ - url: https://rabin.golemio.cz/v2
13
+ description: Test (development) server
14
+ - url: https://api.golemio.cz/v2
15
+ description: Main (production) server
16
+ - url: http://localhost:3005
17
+ description: Localhost
18
+
19
+ paths:
20
+ /raw/{providerName}:
21
+ post:
22
+ parameters:
23
+ - in: path
24
+ name: providerName
25
+ required: true
26
+ schema:
27
+ type: string
28
+ example: providerName
29
+ tags:
30
+ - 🗄 ️️Raw data
31
+ requestBody:
32
+ content:
33
+ text/plain:
34
+ schema:
35
+ type: string
36
+ examples:
37
+ text/plain:
38
+ summary: Sample data
39
+ value: "text plain"
40
+ application/json:
41
+ schema:
42
+ type: string
43
+ examples:
44
+ application/json:
45
+ summary: Sample data
46
+ value: { "id": 38, "title": "test" }
47
+ application/xml:
48
+ schema:
49
+ type: string
50
+ examples:
51
+ application/xml:
52
+ summary: Sample data
53
+ value: "<users><user>Alice</user><user>Bob</user></users>"
54
+ responses:
55
+ 204:
56
+ description: OK
57
+ 404:
58
+ description: Not found
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/raw",
3
- "version": "1.1.3-dev.899785616",
3
+ "version": "1.1.3-dev.976391102",
4
4
  "description": "Golemio Raw Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,6 +10,8 @@
10
10
  "build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
11
11
  "pretest": "golemio-import-test-data",
12
12
  "test": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register --file 'test/setup.ts' 'test/**/*.test.ts'",
13
+ "apidocs-test": "npm run apidocs-test-input",
14
+ "apidocs-test-input": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi-input.yaml --script test/api-docs/input-gateway/server.js",
13
15
  "test-debug": "run-s 'test -- --inspect-brk=9230'",
14
16
  "code-coverage": "nyc run-s 'test -- -r source-map-support/register'",
15
17
  "generate-docs": "typedoc --out docs/typedoc src",
@@ -30,9 +32,11 @@
30
32
  "yarn": "Use npm!"
31
33
  },
32
34
  "devDependencies": {
35
+ "@apideck/portman": "^1.22.0",
33
36
  "@commitlint/cli": "^11.0.0",
34
37
  "@commitlint/config-conventional": "^11.0.0",
35
- "@golemio/core": "1.8.0",
38
+ "@golemio/cli": "1.4.7-dev.975899315",
39
+ "@golemio/core": "1.8.1",
36
40
  "@golemio/eslint-config": "1.1.1",
37
41
  "@types/body-parser": "1.19.0",
38
42
  "@types/chai": "4.2.3",
@@ -62,7 +66,7 @@
62
66
  "typescript-transform-paths": "^3.4.6"
63
67
  },
64
68
  "peerDependencies": {
65
- "@golemio/core": ">=1.5.0"
69
+ "@golemio/core": ">=1.7.0"
66
70
  },
67
71
  "dependencies": {
68
72
  "body-parser": "1.19.0"