migrate from swagger to openapi3

This commit is contained in:
Athou
2023-12-17 12:46:44 +01:00
parent 50fcdece86
commit b5d99b9661
36 changed files with 1299 additions and 1272 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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",

View File

@@ -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>
)
}

View File

@@ -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",
},