Skip to content

Commit 12ba5b9

Browse files
DorthuGitHub Enterprise
authored andcommitted
Merge pull request #4 from jsager/readme-init
Modified README file to reflect new implementation
2 parents ed38aa2 + 30d888b commit 12ba5b9

File tree

1 file changed

+37
-7
lines changed

1 file changed

+37
-7
lines changed

README.md

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,41 @@
1-
# Linode OpenAPI 3 Schema
1+
# Linode OpenAPI 3
22

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+
```
432

533
## Development
634

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:_

0 commit comments

Comments
 (0)