mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
migrate from swagger to openapi3
This commit is contained in:
1654
commafeed-client/package-lock.json
generated
1654
commafeed-client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -45,7 +45,7 @@
|
||||
"react-redux": "^8.0.5",
|
||||
"react-router-dom": "^6.11.2",
|
||||
"react-swipeable": "^7.0.0",
|
||||
"swagger-ui-react": "^4.18.3",
|
||||
"swagger-ui-react": "^5.10.5",
|
||||
"throttle-debounce": "^5.0.0",
|
||||
"tinycon": "^0.6.8",
|
||||
"use-local-storage": "^3.0.0",
|
||||
|
||||
@@ -6,7 +6,7 @@ function ApiDocumentationPage() {
|
||||
return (
|
||||
// force white background because swagger is unreadable with dark theme
|
||||
<Box style={{ backgroundColor: "#fff" }}>
|
||||
<SwaggerUI url="swagger/swagger.json" />
|
||||
<SwaggerUI url="openapi/openapi.json" />
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ export default defineConfig({
|
||||
"/rest": "http://localhost:8083",
|
||||
"/next": "http://localhost:8083",
|
||||
"/ws": "ws://localhost:8083",
|
||||
"/swagger": "http://localhost:8083",
|
||||
"/openapi": "http://localhost:8083",
|
||||
"/custom_css.css": "http://localhost:8083",
|
||||
"/custom_js.js": "http://localhost:8083",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user