File tree Expand file tree Collapse file tree 1 file changed +37
-7
lines changed Expand file tree Collapse file tree 1 file changed +37
-7
lines changed Original file line number Diff line number Diff line change 1
- # Linode OpenAPI 3 Schema
1
+ # Linode OpenAPI 3
2
2
3
- This is the API V4 OpenAPI 3 Schema
3
+ This is the Linode API OpenAPI 3 Schema
4
+
5
+ ## Implementation
6
+
7
+ We are using [ ReDoc] ( https://github.com/Rebilly/ReDoc ) as the front end
8
+ UI for our OpenAPI specification.
9
+
10
+ Additionally, we are taking advantage of ReDoc's support of
11
+ [ Vendor Extensions] ( https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md )
12
+ such as ` x-logo ` and ` x-code-samples ` for extended functionality.
13
+
14
+ A CSS file has also been added to the html page, to allow customization to the
15
+ output.
16
+
17
+ ## Requirements
18
+
19
+ Per the [ Deployment
20
+ Guidelines] ( https://github.com/Rebilly/ReDoc#deployment ) of the ReDoc
21
+ specification, ReDoc must be installed on the server via yarn or npm.
22
+
23
+ ** yarn:**
24
+ ```
25
+ yarn add redoc
26
+ ```
27
+
28
+ ** NPM:**
29
+ ```
30
+ npm install redoc --save
31
+ ```
4
32
5
33
## Development
6
34
7
- I recommend [ Swagger Editor] ( https://github.com/swagger-api/swagger-editor ) for
8
- development. You can either download the application, or clone the linked repo
9
- and run ` npm start ` to launch it (or use the online version even). Once in the
10
- editor, use the File menu to Import the swagger.yaml file in this directory and
11
- start editing!
35
+ _ TODO:_ - We need to finalize the local development portion of this
36
+ repository, so developers can see more than just the OpenAPI spec
37
+ itself.
38
+
39
+ ## Deploy
40
+
41
+ _ TODO:_
You can’t perform that action at this time.
0 commit comments