Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bourdakos1/openapi-demo
https://github.com/bourdakos1/openapi-demo
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bourdakos1/openapi-demo
- Owner: bourdakos1
- License: mit
- Created: 2020-08-03T20:51:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-13T19:14:08.000Z (over 2 years ago)
- Last Synced: 2023-02-26T15:11:31.350Z (over 1 year ago)
- Language: JavaScript
- Size: 2.79 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openapi-demo
```
npx @docusaurus/init@next init docs classic
``````
cd docs
``````
yarn add docusaurus-plugin-openapi
``````
plugins: [
["docusaurus-plugin-openapi", {
openapiPath: require.resolve("./openapi.json"),
proxy: {
"/proxy": {
target: "http://localhost:4000",
pathRewrite: { "^/proxy": "" },
},
},
}],
]
``````
{
to: "api/",
activeBasePath: "api",
label: "API",
position: "left",
}
```