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
|
||||
dist
|
||||
node_modules
|
||||
build
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
in: path
|
||||
name: identifier
|
||||
schema:
|
||||
type: string
|
||||
description: >-
|
||||
identifier of a given printer profile
|
||||
required: true
|
||||
|
||||
@ -3,3 +3,5 @@ name: source
|
||||
description: >-
|
||||
The source for which to list commands, currently either core or custom
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
|
||||
@ -1,4 +1,11 @@
|
||||
openapi: 3.0.2
|
||||
servers:
|
||||
- url: "http://{url}:{port}/api"
|
||||
variables:
|
||||
url:
|
||||
default: localhost
|
||||
port:
|
||||
default: "80"
|
||||
info:
|
||||
license:
|
||||
name: Creative Commons
|
||||
@ -22,8 +29,7 @@ info:
|
||||
- Auth header definitions are still missing
|
||||
|
||||
version: "0.8"
|
||||
servers:
|
||||
- url: "/api"
|
||||
|
||||
tags:
|
||||
- name: General
|
||||
description: General operations
|
||||
|
||||
@ -5,7 +5,13 @@ description: >-
|
||||
tags:
|
||||
- System Commands
|
||||
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
|
||||
name: action
|
||||
required: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user