Update api spec (#232)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5011954847
commit
a008a9d1aa
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,4 @@
|
|||||||
|
from typing import Optional
|
||||||
|
|
||||||
from pydantic import BaseModel, ConfigDict
|
from pydantic import BaseModel, ConfigDict
|
||||||
|
|
||||||
@ -6,10 +7,10 @@ from pydantic import BaseModel, ConfigDict
|
|||||||
class PerspectiveCameraParameters(BaseModel):
|
class PerspectiveCameraParameters(BaseModel):
|
||||||
"""Defines a perspective view."""
|
"""Defines a perspective view."""
|
||||||
|
|
||||||
fov_y: float
|
fov_y: Optional[float] = None
|
||||||
|
|
||||||
z_far: float
|
z_far: Optional[float] = None
|
||||||
|
|
||||||
z_near: float
|
z_near: Optional[float] = None
|
||||||
|
|
||||||
model_config = ConfigDict(protected_namespaces=())
|
model_config = ConfigDict(protected_namespaces=())
|
||||||
|
10
spec.json
10
spec.json
@ -23913,26 +23913,24 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"fov_y": {
|
"fov_y": {
|
||||||
|
"nullable": true,
|
||||||
"description": "Camera frustum vertical field of view.",
|
"description": "Camera frustum vertical field of view.",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"format": "float"
|
"format": "float"
|
||||||
},
|
},
|
||||||
"z_far": {
|
"z_far": {
|
||||||
|
"nullable": true,
|
||||||
"description": "Camera frustum far plane.",
|
"description": "Camera frustum far plane.",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"format": "float"
|
"format": "float"
|
||||||
},
|
},
|
||||||
"z_near": {
|
"z_near": {
|
||||||
|
"nullable": true,
|
||||||
"description": "Camera frustum near plane.",
|
"description": "Camera frustum near plane.",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"format": "float"
|
"format": "float"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"required": [
|
|
||||||
"fov_y",
|
|
||||||
"z_far",
|
|
||||||
"z_near"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"PlanInterval": {
|
"PlanInterval": {
|
||||||
"description": "A plan's interval.",
|
"description": "A plan's interval.",
|
||||||
|
Reference in New Issue
Block a user