Skip to content

Commit

Permalink
Remove Swagger UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 19, 2019
1 parent a67f141 commit 0c6eacf
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 4,826 deletions.
4,795 changes: 55 additions & 4,740 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 4 additions & 24 deletions package.json
Expand Up @@ -11,34 +11,21 @@
"analytics": "^0.2.0",
"analytics-plugin-ga": "^0.1.5",
"auto-changelog": "^1.16.1",
"autoprefixer": "^9.6.1",
"ava": "^2.4.0",
"browserify": "^16.5.0",
"budo": "^11.6.3",
"cp-file": "^7.0.0",
"cpx": "^1.5.0",
"eslint": "^6.3.0",
"eslint-config-prettier": "^6.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.1.0",
"gh-release": "^3.5.0",
"make-dir": "^3.0.0",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.5",
"postcss": "^7.0.18",
"postcss-browser-reporter": "^0.6.0",
"postcss-cli": "^6.1.3",
"postcss-import": "^12.0.1",
"postcss-reporter": "^6.0.1",
"postcss-url": "^8.0.0",
"prettier": "^1.18.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"redoc-cli": "^0.8.6",
"rimraf": "^3.0.0",
"swagger-parser": "^8.0.1",
"swagger-ui": "^3.23.8"
"swagger-parser": "^8.0.1"
},
"files": [],
"homepage": "https://github.com/netlify/open-api#readme",
Expand All @@ -56,24 +43,17 @@
"scripts": {
"prepublishOnly": "git push && git push --tags && gh-release",
"prepare": "run-s lint build test",
"start": "run-s lint build serve",
"start": "run-s lint build",
"build": "run-s convert redoc",
"clean": "rimraf js/dist ui/dist && mkdirp js/dist ui/dist",
"convert": "node ./js/convert.js",
"site": "run-p site:*",
"site:css": "postcss ui/index.css -o ui/dist/bundle.css",
"site:js": "browserify ui/index.js -o ui/dist/bundle.js",
"site:static": "cpx \"ui/{index.html,static/**}\" ui/dist",
"site:swagger": "node ./ui/convert.js",
"serve": "budo --dir ui/dist",
"version": "run-s version:*",
"version:1-swagger": "node js/bump-swagger.js",
"version:2-changelog": "auto-changelog -p --template keepachangelog --breaking-pattern breaking",
"version:3-git": "git add CHANGELOG.md swagger.yml",
"redoc": "node redoc/build.js",
"lint": "run-s eslint prettier",
"eslint": "eslint --fix \"{redoc,js,ui}/*.js\"",
"prettier": "prettier --write --loglevel warn \"{redoc,js,ui}/*.js\" \"*.{js,md,yml,json}\"",
"eslint": "eslint --fix \"{redoc,js}/*.js\"",
"prettier": "prettier --write --loglevel warn \"{redoc,js}/*.js\" \"*.{js,md,yml,json}\"",
"test": "ava"
},
"engines": {
Expand Down
10 changes: 5 additions & 5 deletions test/snapshots/main.js.md
Expand Up @@ -1952,17 +1952,17 @@ Generated by [AVA](https://ava.li).
externalDocs: {
description: 'Online documentation',
url: 'https://www.netlify.com/docs/api/',
'x-logo': {
altText: 'Netlify',
href: 'https://www.netlify.com/docs/',
url: 'netlify-logo.png',
},
},
host: 'api.netlify.com',
info: {
termsOfService: 'https://www.netlify.com/legal/terms-of-use/',
title: 'Netlify\'s API documentation',
version: '0.11.4',
'x-logo': {
altText: 'Netlify',
href: 'https://www.netlify.com/docs/',
url: 'netlify-logo.png',
},
},
paths: {
'/accounts': {
Expand Down
19 changes: 0 additions & 19 deletions ui/convert.js

This file was deleted.

1 change: 0 additions & 1 deletion ui/index.css

This file was deleted.

15 changes: 0 additions & 15 deletions ui/index.html

This file was deleted.

8 changes: 0 additions & 8 deletions ui/index.js

This file was deleted.

14 changes: 0 additions & 14 deletions ui/postcss.config.js

This file was deleted.

Binary file removed ui/screenshot.png
Binary file not shown.
Binary file removed ui/static/favicon-16x16.png
Binary file not shown.
Binary file removed ui/static/favicon-32x32.png
Binary file not shown.

0 comments on commit 0c6eacf

Please sign in to comment.