chore: Use our own site instead of jsDelivr

This commit is contained in:
Matthew Kilgore
2025-03-22 14:04:08 -04:00
parent 71d9b6605b
commit c00edce158
4 changed files with 2060 additions and 2 deletions

View File

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

View File

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

File diff suppressed because it is too large Load Diff