multiple api documentation with swagger code example
Example: multiple method swagger
/session/{uid}:
get:
summary: Get All User Session Route
description: Get All User Session
parameters:
- in: path
name: uid
required: true
schema:
type: string
responses:
'200':
description: Success Get All User Session
delete:
summary: Delete All User Session Route
description: Delete All User Session
parameters:
- in: path
name: uid
required: true
schema:
type: string
responses:
'200':
description: Success Delete All User Session