Skip to content

Commit bb50542

Browse files
authored
docs(NET-953): update docs spec, gitignore (#2880)
1 parent 8d4200e commit bb50542

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ data/
2525
netmaker.exe
2626
netmaker.code-workspace
2727
dist/
28+
nmctl

swagger.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,9 @@ definitions:
642642
$ref: '#/definitions/EgressNetworkRoutes'
643643
type: array
644644
x-go-name: EgressRoutes
645+
endpoint_detection:
646+
type: boolean
647+
x-go-name: EndpointDetection
645648
fw_update:
646649
$ref: '#/definitions/FwUpdate'
647650
host:
@@ -1203,6 +1206,8 @@ definitions:
12031206
type: string
12041207
APIPort:
12051208
type: string
1209+
AllowedEmailDomains:
1210+
type: string
12061211
AllowedOrigin:
12071212
type: string
12081213
AuthProvider:
@@ -1324,6 +1329,9 @@ definitions:
13241329
type: integer
13251330
Version:
13261331
type: string
1332+
endpoint_detection:
1333+
type: boolean
1334+
x-go-name: EndpointDetection
13271335
type: object
13281336
x-go-package: github.com/gravitl/netmaker/config
13291337
Signal:
@@ -1584,6 +1592,17 @@ paths:
15841592
summary: Push DNS entries to nameserver.
15851593
tags:
15861594
- dns
1595+
/api/emqx/hosts:
1596+
delete:
1597+
operationId: delEmqxHosts
1598+
responses:
1599+
"200":
1600+
$ref: '#/responses/apiHostResponse'
1601+
schemes:
1602+
- https
1603+
summary: Lists all hosts.
1604+
tags:
1605+
- hosts
15871606
/api/extclients:
15881607
get:
15891608
operationId: getAllExtClients
@@ -2654,6 +2673,49 @@ paths:
26542673
summary: Transfers superadmin role to an admin user.
26552674
tags:
26562675
- user
2676+
/api/users_pending:
2677+
get:
2678+
operationId: getPendingUsers
2679+
responses:
2680+
"200":
2681+
$ref: '#/responses/userBodyResponse'
2682+
schemes:
2683+
- https
2684+
summary: Get all pending users.
2685+
tags:
2686+
- user
2687+
/api/users_pending/{username}/pending:
2688+
delete:
2689+
operationId: deleteAllPendingUsers
2690+
responses:
2691+
"200":
2692+
$ref: '#/responses/userBodyResponse'
2693+
schemes:
2694+
- https
2695+
summary: delete all pending users.
2696+
tags:
2697+
- user
2698+
/api/users_pending/user/{username}:
2699+
delete:
2700+
operationId: deletePendingUser
2701+
responses:
2702+
"200":
2703+
$ref: '#/responses/userBodyResponse'
2704+
schemes:
2705+
- https
2706+
summary: delete pending user.
2707+
tags:
2708+
- user
2709+
post:
2710+
operationId: approvePendingUser
2711+
responses:
2712+
"200":
2713+
$ref: '#/responses/userBodyResponse'
2714+
schemes:
2715+
- https
2716+
summary: approve pending user.
2717+
tags:
2718+
- user
26572719
/api/v1/enrollment-keys:
26582720
get:
26592721
operationId: getEnrollmentKeys

0 commit comments

Comments
 (0)