Generate OpenAPI 3 schemas from the swagger 2.0 generation (#1017)

* Generate OpenAPI 3 schemas from the swagger 2.0 generation

* Update API description URL in index.md
This commit is contained in:
Matt
2025-09-23 12:14:37 -04:00
committed by GitHub
parent b56505452f
commit 609b7a606b
11 changed files with 14896 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ document.head.appendChild(elementStyle);
<client-only>
<elements-api
:key="componentKey"
apiDescriptionUrl="https://raw.githubusercontent.com/sysadminsmedia/homebox/refs/heads/main/docs/en/api/openapi-2.0.json"
apiDescriptionUrl="https://raw.githubusercontent.com/sysadminsmedia/homebox/refs/heads/main/docs/en/api/openapi-3.0.json"
router="hash"
layout="responsive"
hideSchemas="true"

4550
docs/en/api/openapi-3.0.json Normal file

File diff suppressed because it is too large Load Diff

2888
docs/en/api/openapi-3.0.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -2238,6 +2238,9 @@
"code": {
"type": "string"
},
"decimals": {
"type": "integer"
},
"local": {
"type": "string"
},

View File

@@ -34,6 +34,8 @@ definitions:
properties:
code:
type: string
decimals:
type: integer
local:
type: string
name: