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
|
||||
|
||||
@ -6,10 +7,10 @@ from pydantic import BaseModel, ConfigDict
|
||||
class PerspectiveCameraParameters(BaseModel):
|
||||
"""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=())
|
||||
|
10
spec.json
10
spec.json
@ -23913,26 +23913,24 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"fov_y": {
|
||||
"nullable": true,
|
||||
"description": "Camera frustum vertical field of view.",
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
},
|
||||
"z_far": {
|
||||
"nullable": true,
|
||||
"description": "Camera frustum far plane.",
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
},
|
||||
"z_near": {
|
||||
"nullable": true,
|
||||
"description": "Camera frustum near plane.",
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"fov_y",
|
||||
"z_far",
|
||||
"z_near"
|
||||
]
|
||||
}
|
||||
},
|
||||
"PlanInterval": {
|
||||
"description": "A plan's interval.",
|
||||
|
Reference in New Issue
Block a user