Document register public
parent
0e16340fd2
commit
4492307499
|
|
@ -5,6 +5,7 @@ paths:
|
|||
summary: "Register a new namespace"
|
||||
parameters:
|
||||
- $ref: "#/components/parameters/namespace"
|
||||
- $ref: "#/components/parameters/public"
|
||||
requestBody:
|
||||
description: "A url-form-encoded password for the namespace"
|
||||
content:
|
||||
|
|
@ -22,6 +23,14 @@ components:
|
|||
parameters:
|
||||
namespace:
|
||||
$ref: "./swagger.yaml#/components/parameters/namespace"
|
||||
|
||||
public:
|
||||
name: public
|
||||
in: query
|
||||
description: "if not empty, then namespace is accessible without auth"
|
||||
schema:
|
||||
type: string
|
||||
|
||||
schemas:
|
||||
ok:
|
||||
$ref: "./swagger.yaml#/components/schemas/ok"
|
||||
|
|
|
|||
Loading…
Reference in New Issue