File tree 5 files changed +46
-0
lines changed
5 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
2
package-lock.json
3
+ public
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # exit on error
3
+ set -o errexit
4
+
5
+ npx redocly build-docs sodoto --output ./public/sodoto.html
Original file line number Diff line number Diff line change
1
+ ---
2
+ openapi : 3.0.3
3
+ info :
4
+ title : sodoto
5
+ version : 1.0.0
6
+ servers :
7
+ - url : https://sodoto-api.onrender.com
8
+ paths :
9
+ " /video_uploads " :
10
+ get :
11
+ summary : index
12
+ tags :
13
+ - VideoUpload
14
+ responses :
15
+ ' 200 ' :
16
+ description : returns a list of video uploads
17
+ content :
18
+ application/json :
19
+ schema :
20
+ type : array
21
+ items : {}
22
+ example : []
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " docs" ,
3
+ "version" : " 1.0.0" ,
4
+ "private" : true ,
5
+ "scripts" : {
6
+ "build" : " ./build.sh" ,
7
+ "start" : " http-server ./public"
8
+ },
9
+ "license" : " ISC" ,
10
+ "dependencies" : {
11
+ "@redocly/cli" : " ^1.11.0" ,
12
+ "http-server" : " ^14.1.1"
13
+ }
14
+ }
Original file line number Diff line number Diff line change
1
+ apis :
2
+ sodoto :
3
+ root : ./openapi/sodoto.yaml
4
+
You can’t perform that action at this time.
0 commit comments