mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 21:33:02 +01:00
chore: Use our own site instead of jsDelivr
This commit is contained in:
@@ -49,7 +49,8 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- task: swag
|
- task: swag
|
||||||
- task: typescript-types
|
- task: typescript-types
|
||||||
- cp ./backend/app/api/static/docs/swagger.json docs/docs/api/openapi-2.0.json
|
- cp ./backend/app/api/static/docs/swagger.json docs/en/api/openapi-2.0.json
|
||||||
|
- cp ./backend/app/api/static/docs/swagger.yaml docs/en/api/openapi-2.0.yaml
|
||||||
|
|
||||||
go:run:
|
go:run:
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ document.head.appendChild(elementStyle);
|
|||||||
<client-only>
|
<client-only>
|
||||||
<elements-api
|
<elements-api
|
||||||
:key="componentKey"
|
:key="componentKey"
|
||||||
apiDescriptionUrl="https://cdn.jsdelivr.net/gh/sysadminsmedia/homebox@main/docs/docs/api/openapi-2.0.json"
|
apiDescriptionUrl="https://homebox.software/en/api/openapi-2.0.json"
|
||||||
router="hash"
|
router="hash"
|
||||||
layout="responsive"
|
layout="responsive"
|
||||||
hideSchemas="true"
|
hideSchemas="true"
|
||||||
2057
docs/en/api/openapi-2.0.yaml
Normal file
2057
docs/en/api/openapi-2.0.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user