Fix swagger for namespace on files path
This commit is contained in:
@@ -21,7 +21,7 @@ paths:
|
||||
$ref: "./swagger-register.yaml#/paths"
|
||||
/port:
|
||||
$ref: "./swagger-port.yaml#/paths"
|
||||
/__files__/{path}:
|
||||
/__files__/{namespacePath}/{path}:
|
||||
$ref: "./swagger-files.yaml#/paths"
|
||||
|
||||
components:
|
||||
@@ -41,6 +41,13 @@ components:
|
||||
schema:
|
||||
type: string
|
||||
|
||||
namespacePath:
|
||||
name: namespacePath
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
|
||||
schemas:
|
||||
ok:
|
||||
content:
|
||||
|
||||
Reference in New Issue
Block a user