mirror of
https://github.com/gosticks/octoprint-open-api.git
synced 2025-10-16 11:45:38 +00:00
fix parameter api errors
This commit is contained in:
parent
b0d103f02a
commit
7f2a831b2e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
# Dir for bundles
|
# Dir for bundles
|
||||||
dist
|
dist
|
||||||
node_modules
|
node_modules
|
||||||
|
build
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
in: path
|
in: path
|
||||||
name: identifier
|
name: identifier
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
description: >-
|
description: >-
|
||||||
identifier of a given printer profile
|
identifier of a given printer profile
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
@ -3,3 +3,5 @@ name: source
|
|||||||
description: >-
|
description: >-
|
||||||
The source for which to list commands, currently either core or custom
|
The source for which to list commands, currently either core or custom
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
|||||||
@ -1,4 +1,11 @@
|
|||||||
openapi: 3.0.2
|
openapi: 3.0.2
|
||||||
|
servers:
|
||||||
|
- url: "http://{url}:{port}/api"
|
||||||
|
variables:
|
||||||
|
url:
|
||||||
|
default: localhost
|
||||||
|
port:
|
||||||
|
default: "80"
|
||||||
info:
|
info:
|
||||||
license:
|
license:
|
||||||
name: Creative Commons
|
name: Creative Commons
|
||||||
@ -22,8 +29,7 @@ info:
|
|||||||
- Auth header definitions are still missing
|
- Auth header definitions are still missing
|
||||||
|
|
||||||
version: "0.8"
|
version: "0.8"
|
||||||
servers:
|
|
||||||
- url: "/api"
|
|
||||||
tags:
|
tags:
|
||||||
- name: General
|
- name: General
|
||||||
description: General operations
|
description: General operations
|
||||||
|
|||||||
@ -5,7 +5,13 @@ description: >-
|
|||||||
tags:
|
tags:
|
||||||
- System Commands
|
- System Commands
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: ../../../components/parameters/systemCmdSource.yaml
|
- in: path
|
||||||
|
name: source
|
||||||
|
description: >-
|
||||||
|
The source for which to list commands, currently either core or custom
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
- in: path
|
- in: path
|
||||||
name: action
|
name: action
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user