fix parameter api errors

This commit is contained in:
Wlad 2020-11-20 23:00:52 +01:00
parent b0d103f02a
commit 7f2a831b2e
5 changed files with 20 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
# Dir for bundles
dist
node_modules
build

View File

@ -1,5 +1,7 @@
in: path
name: identifier
schema:
type: string
description: >-
identifier of a given printer profile
required: true

View File

@ -3,3 +3,5 @@ name: source
description: >-
The source for which to list commands, currently either core or custom
required: true
schema:
type: string

View File

@ -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

View File

@ -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