Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: move parameter definitions to proper parameters section in OpenAPI schema

Louis Beaumont0eb4a54ba2b0
diff --git a/content/docs-mintlify-mig-tmp/openapi.yaml b/content/docs-mintlify-mig-tmp/openapi.yaml
index 2cef8e4c8..31c748b36 100644
--- a/content/docs-mintlify-mig-tmp/openapi.yaml
+++ b/content/docs-mintlify-mig-tmp/openapi.yaml
@@ -169,11 +169,7 @@ paths:
get:
operationId: server_get_pipe_info_handler
parameters:
- - name: pipe_id
- schema:
- type: string
- in: path
- style: simple
+ - $ref: '#/components/parameters/PipeIdParam'
responses:
'200':
description: ''
@@ -323,11 +319,7 @@ paths:
get:
operationId: server_get_frame_data
parameters:
- - name: frame_id
- schema:
- type: integer
- in: path
- style: simple
+ - $ref: '#/components/parameters/FrameIdParam'
responses:
'200':
description: ''
@@ -579,11 +571,7 @@ paths:
get:
operationId: server_get_pipe_build_status
parameters:
- - name: pipe_id
- schema:
- type: string
- in: path
- style: simple
+ - $ref: '#/components/parameters/PipeIdParam'
responses:
'200':
description: ''
@@ -2029,6 +2017,7 @@ components:
type: integer
required:
- device_id
+ parameters:
ContentTypeParam:
name: content_type
in: path
@@ -2043,3 +2032,17 @@ components:
schema:
type: integer
style: simple
+ PipeIdParam:
+ name: pipe_id
+ in: path
+ required: true
+ schema:
+ type: string
+ style: simple
+ FrameIdParam:
+ name: frame_id
+ in: path
+ required: true
+ schema:
+ type: integer
+ style: simple