Files
gym/v1.json
2026-04-28 17:22:50 +03:30

12497 lines
310 KiB
JSON

{
"openapi": "3.1.1",
"info": {
"title": "Gym.Presentation.WebApi | v1",
"version": "1.0.0"
},
"servers": [
{
"url": "/"
}
],
"paths": {
"/api/v1/accounts/register-and-login-by-mobile": {
"post": {
"tags": [
"Account"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddUserByMobileCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddUserByMobileCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddUserByMobileCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfTokenResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfTokenResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfTokenResponse"
}
}
}
}
}
}
},
"/api/v1/accounts/refresh-token": {
"post": {
"tags": [
"Account"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RefreshTokenRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/RefreshTokenRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/RefreshTokenRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfTokenResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfTokenResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfTokenResponse"
}
}
}
}
}
}
},
"/api/v1/accounts/logout": {
"post": {
"tags": [
"Account"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LogoutRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/LogoutRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/LogoutRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfLogoutResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfLogoutResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfLogoutResponse"
}
}
}
}
}
}
},
"/api/v1/accounts/send-otp-sms": {
"post": {
"tags": [
"Account"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddSmsVerificationCodeCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddSmsVerificationCodeCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddSmsVerificationCodeCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/accounts/password": {
"post": {
"tags": [
"Account"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SetPasswordRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/SetPasswordRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/SetPasswordRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"Account"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ChangePasswordRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ChangePasswordRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ChangePasswordRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/accounts/password/has": {
"get": {
"tags": [
"Account"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
}
}
}
}
}
},
"/api/v1/users": {
"get": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllUserQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllUserQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllUserQueryDto"
}
}
}
}
}
}
},
"/api/v1/users/{userId}/promote-to-admin": {
"post": {
"tags": [
"Users"
],
"parameters": [
{
"name": "userId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/users/{userId}/block-status": {
"put": {
"tags": [
"Users"
],
"parameters": [
{
"name": "userId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateUserBlockStatusRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateUserBlockStatusRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateUserBlockStatusRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/users/me/password": {
"post": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SetPasswordRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/SetPasswordRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/SetPasswordRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ChangePasswordRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ChangePasswordRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ChangePasswordRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/users/me/password/has": {
"get": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
}
}
}
}
}
},
"/api/v1/users/me": {
"get": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/GetUserByPublicKey"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetUserByPublicKey"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/GetUserByPublicKey"
}
}
}
}
}
}
},
"/api/v1/users/me/profile/incomplete": {
"get": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
}
}
}
}
}
},
"/api/v1/users/me/profile/has-name": {
"get": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfboolean"
}
}
}
}
}
}
},
"/api/v1/users/me/profile": {
"put": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateUserProfileRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateUserProfileRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateUserProfileRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/users/me/workout-request": {
"post": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WorkoutRequestCoreRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/WorkoutRequestCoreRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/WorkoutRequestCoreRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WorkoutRequestCoreRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/WorkoutRequestCoreRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/WorkoutRequestCoreRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"get": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetWorkoutRequestCoreQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetWorkoutRequestCoreQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetWorkoutRequestCoreQueryDto"
}
}
}
}
}
}
},
"/api/v1/users/me/workout-request/location": {
"put": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WorkoutRequestLocationRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/WorkoutRequestLocationRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/WorkoutRequestLocationRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"get": {
"tags": [
"Users"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetWorkoutRequestLocationQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetWorkoutRequestLocationQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetWorkoutRequestLocationQueryDto"
}
}
}
}
}
}
},
"/api/v1/admin/bmi": {
"get": {
"tags": [
"AdminBmi"
],
"parameters": [
{
"name": "Offset",
"in": "query",
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Limit",
"in": "query",
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "FromDate",
"in": "query",
"schema": {
"type": "string",
"format": "date-time"
}
},
{
"name": "ToDate",
"in": "query",
"schema": {
"type": "string",
"format": "date-time"
}
},
{
"name": "UserId",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAdminBmiListQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAdminBmiListQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAdminBmiListQueryDto"
}
}
}
}
}
}
},
"/api/v1/users/me/bmi/last": {
"get": {
"tags": [
"Bmi"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetLastUserBmiQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetLastUserBmiQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetLastUserBmiQueryDto"
}
}
}
}
}
}
},
"/api/v1/users/me/bmi": {
"get": {
"tags": [
"Bmi"
],
"parameters": [
{
"name": "Offset",
"in": "query",
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Limit",
"in": "query",
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "FromDate",
"in": "query",
"schema": {
"type": "string",
"format": "date-time"
}
},
{
"name": "ToDate",
"in": "query",
"schema": {
"type": "string",
"format": "date-time"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetUserBmiListQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetUserBmiListQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetUserBmiListQueryDto"
}
}
}
}
}
}
},
"/api/v1/users/me/bmi/request": {
"post": {
"tags": [
"Bmi"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RequestUserBmiCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/RequestUserBmiCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/RequestUserBmiCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfRequestUserBmiResponseDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfRequestUserBmiResponseDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfRequestUserBmiResponseDto"
}
}
}
}
}
}
},
"/api/v1/subscriptions/user-subscriptions": {
"get": {
"tags": [
"UserSubscriptions"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "IsActive",
"in": "query",
"schema": {
"type": "boolean"
}
},
{
"name": "PackageId",
"in": "query",
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "UserId",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllUserSubscriptionQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllUserSubscriptionQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllUserSubscriptionQueryDto"
}
}
}
}
}
}
},
"/api/v1/subscriptions/user-subscriptions/me/status": {
"get": {
"tags": [
"UserSubscriptions"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetCurrentUserSubscriptionStatusQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetCurrentUserSubscriptionStatusQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetCurrentUserSubscriptionStatusQueryDto"
}
}
}
}
}
}
},
"/api/v1/subscriptions/user-subscriptions/{id}/status": {
"put": {
"tags": [
"UserSubscriptions"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateUserSubscriptionStatusRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateUserSubscriptionStatusRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateUserSubscriptionStatusRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/subscriptions/user-subscriptions/{id}/extend": {
"put": {
"tags": [
"UserSubscriptions"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExtendUserSubscriptionRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExtendUserSubscriptionRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ExtendUserSubscriptionRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/subscriptions/package-tags": {
"post": {
"tags": [
"PackageTags"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddPackageTagCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddPackageTagCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddPackageTagCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"get": {
"tags": [
"PackageTags"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "SubscriptionPackageId",
"in": "query",
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllPackageTagQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllPackageTagQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllPackageTagQueryDto"
}
}
}
}
}
},
"put": {
"tags": [
"PackageTags"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdatePackageTagCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdatePackageTagCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdatePackageTagCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/subscriptions/package-tags/{id}": {
"get": {
"tags": [
"PackageTags"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetPackageTagByIdQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetPackageTagByIdQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetPackageTagByIdQueryDto"
}
}
}
}
}
},
"delete": {
"tags": [
"PackageTags"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/subscriptions/packages": {
"post": {
"tags": [
"SubscriptionPackages"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddSubscriptionPackageCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddSubscriptionPackageCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddSubscriptionPackageCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"get": {
"tags": [
"SubscriptionPackages"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllSubscriptionPackageQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllSubscriptionPackageQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllSubscriptionPackageQueryDto"
}
}
}
}
}
},
"put": {
"tags": [
"SubscriptionPackages"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateSubscriptionPackageCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateSubscriptionPackageCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateSubscriptionPackageCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/subscriptions/packages/{id}": {
"get": {
"tags": [
"SubscriptionPackages"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetSubscriptionPackageByIdQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetSubscriptionPackageByIdQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetSubscriptionPackageByIdQueryDto"
}
}
}
}
}
},
"delete": {
"tags": [
"SubscriptionPackages"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/subscriptions/invoices": {
"get": {
"tags": [
"Invoices"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "PackageId",
"in": "query",
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "DiscountCodeId",
"in": "query",
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Status",
"in": "query",
"schema": {
"$ref": "#/components/schemas/InvoiceStatus"
}
},
{
"name": "UserId",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllInvoiceQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllInvoiceQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllInvoiceQueryDto"
}
}
}
}
}
}
},
"/api/v1/subscriptions/discount-codes": {
"post": {
"tags": [
"DiscountCodes"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddDiscountCodeCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddDiscountCodeCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddDiscountCodeCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"get": {
"tags": [
"DiscountCodes"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllDiscountCodeQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllDiscountCodeQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllDiscountCodeQueryDto"
}
}
}
}
}
},
"put": {
"tags": [
"DiscountCodes"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateDiscountCodeCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateDiscountCodeCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateDiscountCodeCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/subscriptions/discount-codes/{id}": {
"get": {
"tags": [
"DiscountCodes"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetDiscountCodeByIdQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetDiscountCodeByIdQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetDiscountCodeByIdQueryDto"
}
}
}
}
}
},
"delete": {
"tags": [
"DiscountCodes"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/subscriptions/discount-allowed-users": {
"post": {
"tags": [
"DiscountAllowedUsers"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddDiscountAllowedUserCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddDiscountAllowedUserCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddDiscountAllowedUserCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"get": {
"tags": [
"DiscountAllowedUsers"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "DiscountCodeId",
"in": "query",
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllDiscountAllowedUserQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllDiscountAllowedUserQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllDiscountAllowedUserQueryDto"
}
}
}
}
}
},
"put": {
"tags": [
"DiscountAllowedUsers"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateDiscountAllowedUserCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateDiscountAllowedUserCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateDiscountAllowedUserCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/subscriptions/discount-allowed-users/{id}": {
"get": {
"tags": [
"DiscountAllowedUsers"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetDiscountAllowedUserByIdQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetDiscountAllowedUserByIdQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetDiscountAllowedUserByIdQueryDto"
}
}
}
}
}
},
"delete": {
"tags": [
"DiscountAllowedUsers"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/ObjectStorage/upload": {
"post": {
"tags": [
"ObjectStorage"
],
"parameters": [
{
"name": "api-version",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"type": "object",
"properties": {
"ContentType": {
"type": "string"
},
"ContentDisposition": {
"type": "string"
},
"Headers": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"Length": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int64"
},
"Name": {
"type": "string"
},
"FileName": {
"type": "string"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/ObjectStorage/download/{id}": {
"get": {
"tags": [
"ObjectStorage"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "api-version",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/v1/foods/tags": {
"post": {
"tags": [
"FoodTags"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddFoodTagCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddFoodTagCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddFoodTagCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"get": {
"tags": [
"FoodTags"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllFoodTagQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllFoodTagQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllFoodTagQueryDto"
}
}
}
}
}
},
"put": {
"tags": [
"FoodTags"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateFoodTagCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateFoodTagCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateFoodTagCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/foods/tags/{id}": {
"get": {
"tags": [
"FoodTags"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetFoodTagByIdQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetFoodTagByIdQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetFoodTagByIdQueryDto"
}
}
}
}
}
},
"delete": {
"tags": [
"FoodTags"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/foods": {
"post": {
"tags": [
"Foods"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddFoodCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddFoodCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddFoodCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/foods/{id}": {
"get": {
"tags": [
"Foods"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetFoodByIdQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetFoodByIdQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetFoodByIdQueryDto"
}
}
}
}
}
}
},
"/api/v1/foods/categories": {
"post": {
"tags": [
"FoodCategories"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddFoodCategoryCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddFoodCategoryCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddFoodCategoryCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"FoodCategories"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateFoodCategoryCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateFoodCategoryCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateFoodCategoryCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"get": {
"tags": [
"FoodCategories"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllFoodCategoryQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllFoodCategoryQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllFoodCategoryQueryDto"
}
}
}
}
}
}
},
"/api/v1/foods/categories/{id}": {
"delete": {
"tags": [
"FoodCategories"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"get": {
"tags": [
"FoodCategories"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetFoodCategoryByIdQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetFoodCategoryByIdQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetFoodCategoryByIdQueryDto"
}
}
}
}
}
}
},
"/api/v1/tags": {
"get": {
"tags": [
"Tags"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllTagQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllTagQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllTagQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"Tags"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddTagCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddTagCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddTagCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"Tags"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateTagCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateTagCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateTagCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/tags/{id}": {
"delete": {
"tags": [
"Tags"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/safety-levels": {
"get": {
"tags": [
"SafetyLevels"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllSafetyLevelQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllSafetyLevelQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllSafetyLevelQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"SafetyLevels"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddSafetyLevelCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddSafetyLevelCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddSafetyLevelCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"SafetyLevels"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateSafetyLevelCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateSafetyLevelCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateSafetyLevelCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/safety-levels/{id}": {
"delete": {
"tags": [
"SafetyLevels"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/muscles": {
"get": {
"tags": [
"Muscles"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "GroupId",
"in": "query",
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllMuscleQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllMuscleQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllMuscleQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"Muscles"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddMuscleCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddMuscleCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddMuscleCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"Muscles"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateMuscleCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateMuscleCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateMuscleCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/muscles/{id}": {
"delete": {
"tags": [
"Muscles"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/muscle-groups": {
"get": {
"tags": [
"MuscleGroups"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllMuscleGroupQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllMuscleGroupQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllMuscleGroupQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"MuscleGroups"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddMuscleGroupCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddMuscleGroupCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddMuscleGroupCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"MuscleGroups"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateMuscleGroupCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateMuscleGroupCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateMuscleGroupCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/muscle-groups/{id}": {
"delete": {
"tags": [
"MuscleGroups"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/metric-types": {
"get": {
"tags": [
"MetricTypes"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllMetricTypeQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllMetricTypeQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllMetricTypeQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"MetricTypes"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddMetricTypeCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddMetricTypeCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddMetricTypeCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"MetricTypes"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateMetricTypeCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateMetricTypeCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateMetricTypeCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/metric-types/{id}": {
"delete": {
"tags": [
"MetricTypes"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/locations": {
"get": {
"tags": [
"Locations"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllLocationQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllLocationQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllLocationQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"Locations"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddLocationCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddLocationCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddLocationCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"Locations"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateLocationCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateLocationCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateLocationCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/locations/{id}": {
"delete": {
"tags": [
"Locations"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercise-types": {
"get": {
"tags": [
"ExerciseTypes"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllExerciseTypeQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllExerciseTypeQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllExerciseTypeQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"ExerciseTypes"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseTypeCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseTypeCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseTypeCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"ExerciseTypes"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseTypeCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseTypeCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseTypeCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercise-types/{id}": {
"delete": {
"tags": [
"ExerciseTypes"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercise-synonyms": {
"get": {
"tags": [
"ExerciseSynonyms"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllExerciseSynonymQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllExerciseSynonymQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllExerciseSynonymQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"ExerciseSynonyms"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseSynonymCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseSynonymCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseSynonymCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"ExerciseSynonyms"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseSynonymCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseSynonymCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseSynonymCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercise-synonyms/{id}": {
"delete": {
"tags": [
"ExerciseSynonyms"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises": {
"get": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllExerciseQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllExerciseQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllExerciseQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises/{publicId}": {
"get": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "publicId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetExerciseByIdQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetExerciseByIdQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfGetExerciseByIdQueryDto"
}
}
}
}
}
}
},
"/api/v1/exercises/{exerciseId}/muscles": {
"post": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseMuscleCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseMuscleCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseMuscleCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises/{exerciseId}/muscles/{muscleId}": {
"put": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "muscleId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseMuscleCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseMuscleCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseMuscleCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"delete": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "muscleId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises/{exerciseId}/metrics": {
"post": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseMetricCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseMetricCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseMetricCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises/{exerciseId}/metrics/{metricTypeId}": {
"put": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "metricTypeId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseMetricCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseMetricCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseMetricCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"delete": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "metricTypeId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises/{exerciseId}/tags": {
"post": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseTagCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseTagCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseTagCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises/{exerciseId}/tags/{tagId}": {
"put": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "tagId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseTagCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseTagCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseTagCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"delete": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "tagId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises/{exerciseId}/locations": {
"post": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseLocationCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseLocationCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseLocationCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises/{exerciseId}/locations/{locationId}": {
"put": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "locationId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseLocationCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseLocationCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseLocationCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"delete": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "locationId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises/{exerciseId}/equipments": {
"post": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseEquipmentCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseEquipmentCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddExerciseEquipmentCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/exercises/{exerciseId}/equipments/{equipmentId}": {
"put": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "equipmentId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseEquipmentCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseEquipmentCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateExerciseEquipmentCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"delete": {
"tags": [
"Exercises"
],
"parameters": [
{
"name": "exerciseId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "equipmentId",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/equipments": {
"get": {
"tags": [
"Equipments"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllEquipmentQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllEquipmentQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllEquipmentQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"Equipments"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddEquipmentCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddEquipmentCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddEquipmentCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"Equipments"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateEquipmentCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateEquipmentCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateEquipmentCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/equipments/{id}": {
"delete": {
"tags": [
"Equipments"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/difficulty-levels": {
"get": {
"tags": [
"DifficultyLevels"
],
"parameters": [
{
"name": "Pagination.Offset",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Pagination.Limit",
"in": "query",
"schema": {
"maximum": 2147483647,
"minimum": 0,
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
{
"name": "Search",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllDifficultyLevelQueryDto"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllDifficultyLevelQueryDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ResultOfIPageResultOfGetAllDifficultyLevelQueryDto"
}
}
}
}
}
},
"post": {
"tags": [
"DifficultyLevels"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AddDifficultyLevelCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AddDifficultyLevelCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/AddDifficultyLevelCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
},
"put": {
"tags": [
"DifficultyLevels"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateDifficultyLevelCommand"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UpdateDifficultyLevelCommand"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UpdateDifficultyLevelCommand"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
},
"/api/v1/difficulty-levels/{id}": {
"delete": {
"tags": [
"DifficultyLevels"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": "integer",
"format": "int32"
}
},
{
"name": "Authorization",
"in": "header",
"description": "Authorization header (e.g., 'Bearer {token}'). Default: 'Bearer {token}'"
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Result"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"AddCookingMethodDto": {
"required": [
"methodName",
"extraCalories"
],
"type": "object",
"properties": {
"methodName": {
"type": "string"
},
"extraCalories": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
}
}
},
"AddDifficultyLevelCommand": {
"required": [
"name",
"description"
],
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"AddDiscountAllowedUserCommand": {
"required": [
"discountCodeId",
"userId"
],
"type": "object",
"properties": {
"discountCodeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"userId": {
"type": "string"
}
}
},
"AddDiscountCodeCommand": {
"required": [
"code",
"name",
"icon",
"percent",
"startDate",
"endDate",
"type"
],
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
},
"percent": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"type": {
"$ref": "#/components/schemas/DiscountType"
}
}
},
"AddEquipmentCommand": {
"required": [
"name",
"description"
],
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": [
"null",
"string"
]
}
}
},
"AddExerciseCommand": {
"required": [
"title",
"description",
"instructions",
"difficultyLevelId",
"exerciseTypeId",
"safetyLevelId"
],
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"instructions": {
"type": "string"
},
"difficultyLevelId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"exerciseTypeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"safetyLevelId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"AddExerciseEquipmentCommand": {
"required": [
"exerciseId",
"equipmentId"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"equipmentId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"AddExerciseLocationCommand": {
"required": [
"exerciseId",
"locationId"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"locationId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"AddExerciseMetricCommand": {
"required": [
"exerciseId",
"metricTypeId",
"isPrimary"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"metricTypeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"isPrimary": {
"type": "boolean"
}
}
},
"AddExerciseMuscleCommand": {
"required": [
"exerciseId",
"muscleId",
"isPrimary"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"muscleId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"isPrimary": {
"type": "boolean"
}
}
},
"AddExerciseSynonymCommand": {
"required": [
"exerciseId",
"synonym",
"languageCode"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"synonym": {
"type": "string"
},
"languageCode": {
"type": "string"
}
}
},
"AddExerciseTagCommand": {
"required": [
"exerciseId",
"tagId"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"tagId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"AddExerciseTypeCommand": {
"required": [
"name",
"description"
],
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"AddFoodCategoryCommand": {
"required": [
"name",
"code"
],
"type": "object",
"properties": {
"name": {
"type": "string"
},
"code": {
"type": [
"null",
"string"
]
}
}
},
"AddFoodCommand": {
"required": [
"name",
"brandName",
"categoryId",
"barcode",
"calories",
"protein",
"carbs",
"fat",
"fiber",
"sugar",
"sodium",
"saturatedFat",
"units",
"cookingMethods",
"tagIds",
"substituteFoodIds"
],
"type": "object",
"properties": {
"name": {
"type": "string"
},
"brandName": {
"type": [
"null",
"string"
]
},
"categoryId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"barcode": {
"type": [
"null",
"string"
]
},
"calories": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"protein": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"carbs": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"fat": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"fiber": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"null",
"number",
"string"
],
"format": "double"
},
"sugar": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"null",
"number",
"string"
],
"format": "double"
},
"sodium": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"null",
"number",
"string"
],
"format": "double"
},
"saturatedFat": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"null",
"number",
"string"
],
"format": "double"
},
"units": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/AddFoodUnitDto"
}
},
"cookingMethods": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/AddCookingMethodDto"
}
},
"tagIds": {
"type": [
"null",
"array"
],
"items": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
},
"substituteFoodIds": {
"type": [
"null",
"array"
],
"items": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
}
},
"AddFoodTagCommand": {
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"AddFoodUnitDto": {
"required": [
"unitName",
"gramEquivalent"
],
"type": "object",
"properties": {
"unitName": {
"type": "string"
},
"gramEquivalent": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
}
}
},
"AddLocationCommand": {
"required": [
"name",
"description"
],
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"AddMetricTypeCommand": {
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"AddMuscleCommand": {
"required": [
"groupId",
"name"
],
"type": "object",
"properties": {
"groupId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"AddMuscleGroupCommand": {
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"AddPackageTagCommand": {
"required": [
"subscriptionPackageId",
"name",
"icon"
],
"type": "object",
"properties": {
"subscriptionPackageId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
}
}
},
"AddSafetyLevelCommand": {
"required": [
"name",
"description"
],
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"AddSmsVerificationCodeCommand": {
"required": [
"mobile"
],
"type": "object",
"properties": {
"mobile": {
"$ref": "#/components/schemas/MobileDto"
}
}
},
"AddSubscriptionPackageCommand": {
"required": [
"name",
"icon",
"price",
"durationDays",
"isFree",
"isSuggested",
"type",
"personalWorkoutLimit",
"studentWorkoutLimit"
],
"type": "object",
"properties": {
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
},
"price": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"durationDays": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"isFree": {
"type": "boolean"
},
"isSuggested": {
"type": "boolean"
},
"type": {
"$ref": "#/components/schemas/PackageType"
},
"personalWorkoutLimit": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"studentWorkoutLimit": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"AddTagCommand": {
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"AddUserByMobileCommand": {
"required": [
"mobile",
"verificationCode"
],
"type": "object",
"properties": {
"mobile": {
"$ref": "#/components/schemas/MobileDto"
},
"verificationCode": {
"type": "string"
}
}
},
"ChangePasswordRequest": {
"required": [
"currentPassword",
"newPassword"
],
"type": "object",
"properties": {
"currentPassword": {
"type": "string"
},
"newPassword": {
"type": "string"
}
}
},
"DiscountType": {
"type": "integer"
},
"Error": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": [
"null",
"string"
]
}
}
},
"ExperienceLevel": {
"type": "integer"
},
"ExtendUserSubscriptionRequest": {
"required": [
"extendDays",
"addMaxPersonalWorkouts",
"addMaxStudentWorkouts"
],
"type": "object",
"properties": {
"extendDays": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
},
"addMaxPersonalWorkouts": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
},
"addMaxStudentWorkouts": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
}
}
},
"Gender": {
"type": "integer"
},
"GetAdminBmiListQueryDto": {
"type": "object",
"properties": {
"userId": {
"type": "string"
},
"heightCm": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"weightKg": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"bmi": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
},
"GetAllDifficultyLevelQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"type": [
"null",
"string"
]
},
"orderIndex": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"GetAllDiscountAllowedUserQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"userId": {
"type": "string"
},
"discountCodeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"discountCode": {
"type": "string"
}
}
},
"GetAllDiscountCodeQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
},
"percent": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"type": {
"$ref": "#/components/schemas/DiscountType"
},
"allowedUsersCount": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"GetAllEquipmentQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"type": [
"null",
"string"
]
},
"orderIndex": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"GetAllExerciseQueryDto": {
"type": "object",
"properties": {
"publicId": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"instructions": {
"type": "string"
},
"difficultyLevelId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"difficultyLevelName": {
"type": "string"
},
"exerciseTypeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"exerciseTypeName": {
"type": "string"
},
"safetyLevelId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"safetyLevelName": {
"type": "string"
},
"isActive": {
"type": "boolean"
}
}
},
"GetAllExerciseSynonymQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"synonym": {
"type": "string"
},
"languageCode": {
"type": "string"
}
}
},
"GetAllExerciseTypeQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"type": [
"null",
"string"
]
},
"orderIndex": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"GetAllFoodCategoryQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"code": {
"type": [
"null",
"string"
]
}
}
},
"GetAllFoodTagQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"GetAllInvoiceQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"userId": {
"type": "string"
},
"userEmail": {
"type": [
"null",
"string"
]
},
"userFirstName": {
"type": [
"null",
"string"
]
},
"userLastName": {
"type": [
"null",
"string"
]
},
"userMobileNumber": {
"type": "string"
},
"userMobileCountryCode": {
"type": "string"
},
"packageId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"packageName": {
"type": "string"
},
"rawAmount": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"discountAmount": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"taxPercent": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"taxAmount": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"finalAmount": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"discountCodeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
},
"discountCode": {
"type": [
"null",
"string"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"status": {
"$ref": "#/components/schemas/InvoiceStatus"
}
}
},
"GetAllLocationQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"type": [
"null",
"string"
]
},
"orderIndex": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"GetAllMetricTypeQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"GetAllMuscleGroupQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"GetAllMuscleQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"groupId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"groupName": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"GetAllPackageTagQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
},
"subscriptionPackageId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"subscriptionPackageName": {
"type": "string"
}
}
},
"GetAllSafetyLevelQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"type": [
"null",
"string"
]
},
"orderIndex": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"GetAllSubscriptionPackageQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
},
"price": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"durationDays": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"isFree": {
"type": "boolean"
},
"isSuggested": {
"type": "boolean"
},
"type": {
"$ref": "#/components/schemas/PackageType"
},
"personalWorkoutLimit": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"studentWorkoutLimit": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"tags": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllSubscriptionPackageTagQueryDto"
}
}
}
},
"GetAllSubscriptionPackageTagQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
}
}
},
"GetAllTagQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"GetAllUserQueryDto": {
"type": "object",
"properties": {
"userId": {
"type": "string"
},
"email": {
"type": [
"null",
"string"
]
},
"isEmailActive": {
"type": "boolean"
},
"mobile": {
"$ref": "#/components/schemas/MobileDto"
},
"isMobileActive": {
"type": "boolean"
},
"firstName": {
"type": [
"null",
"string"
]
},
"lastName": {
"type": [
"null",
"string"
]
},
"isBlocked": {
"type": "boolean"
},
"gender": {
"$ref": "#/components/schemas/Gender"
}
}
},
"GetAllUserSubscriptionQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"userId": {
"type": "string"
},
"userEmail": {
"type": [
"null",
"string"
]
},
"userFirstName": {
"type": [
"null",
"string"
]
},
"userLastName": {
"type": [
"null",
"string"
]
},
"userMobileNumber": {
"type": "string"
},
"userMobileCountryCode": {
"type": "string"
},
"packageId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"packageName": {
"type": "string"
},
"packageType": {
"$ref": "#/components/schemas/PackageType"
},
"packagePrice": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"packageDurationDays": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"referenceInvoiceId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"isActive": {
"type": "boolean"
},
"isExpired": {
"type": "boolean"
},
"usedPersonalWorkouts": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"maxPersonalWorkouts": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"usedStudentWorkouts": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"maxStudentWorkouts": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"GetCookingMethodQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"methodName": {
"type": "string"
},
"extraCalories": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
}
}
},
"GetCurrentUserSubscriptionStatusQueryDto": {
"type": "object",
"properties": {
"hasActiveSubscription": {
"type": "boolean"
},
"subscriptionId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
},
"packageId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
},
"packageName": {
"type": [
"null",
"string"
]
},
"packageType": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/PackageType"
}
]
},
"startDate": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"endDate": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"remainingDays": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
},
"usedPersonalWorkouts": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
},
"maxPersonalWorkouts": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
},
"usedStudentWorkouts": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
},
"maxStudentWorkouts": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"null",
"integer",
"string"
],
"format": "int32"
}
}
},
"GetDiscountAllowedUserByIdQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"userId": {
"type": "string"
},
"discountCodeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"discountCode": {
"type": "string"
}
}
},
"GetDiscountCodeByIdQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
},
"percent": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"type": {
"$ref": "#/components/schemas/DiscountType"
},
"allowedUsers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetDiscountAllowedUserByIdQueryDto"
}
}
}
},
"GetEquipmentForExerciseQueryDto": {
"type": "object",
"properties": {
"equipmentId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"equipmentName": {
"type": "string"
}
}
},
"GetExerciseByIdQueryDto": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"instructions": {
"type": "string"
},
"difficultyLevelId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"difficultyLevelName": {
"type": "string"
},
"exerciseTypeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"exerciseTypeName": {
"type": "string"
},
"safetyLevelId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"safetyLevelName": {
"type": "string"
},
"isActive": {
"type": "boolean"
},
"synonyms": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetSynonymForExerciseQueryDto"
}
},
"muscles": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetMuscleForExerciseQueryDto"
}
},
"metrics": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetMetricForExerciseQueryDto"
}
},
"tags": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetTagForExerciseQueryDto"
}
},
"locations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetLocationForExerciseQueryDto"
}
},
"equipments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetEquipmentForExerciseQueryDto"
}
}
}
},
"GetFoodByIdQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"brandName": {
"type": [
"null",
"string"
]
},
"categoryId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"categoryName": {
"type": "string"
},
"barcode": {
"type": [
"null",
"string"
]
},
"calories": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"protein": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"carbs": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"fat": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"fiber": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"null",
"number",
"string"
],
"format": "double"
},
"sugar": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"null",
"number",
"string"
],
"format": "double"
},
"sodium": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"null",
"number",
"string"
],
"format": "double"
},
"saturatedFat": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"null",
"number",
"string"
],
"format": "double"
},
"units": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetFoodUnitQueryDto"
}
},
"cookingMethods": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetCookingMethodQueryDto"
}
},
"tags": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetFoodTagQueryDto"
}
},
"substitutes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetFoodSubstituteQueryDto"
}
}
}
},
"GetFoodCategoryByIdQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"code": {
"type": [
"null",
"string"
]
}
}
},
"GetFoodSubstituteQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"GetFoodTagByIdQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"GetFoodTagQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"GetFoodUnitQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"unitName": {
"type": "string"
},
"gramEquivalent": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
}
}
},
"GetLastUserBmiQueryDto": {
"type": "object",
"properties": {
"heightCm": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"weightKg": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"bmi": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
},
"GetLocationForExerciseQueryDto": {
"type": "object",
"properties": {
"locationId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"locationName": {
"type": "string"
}
}
},
"GetMetricForExerciseQueryDto": {
"type": "object",
"properties": {
"metricTypeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"metricTypeName": {
"type": "string"
},
"isPrimary": {
"type": "boolean"
}
}
},
"GetMuscleForExerciseQueryDto": {
"type": "object",
"properties": {
"muscleId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"muscleGroupId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"muscleName": {
"type": "string"
},
"muscleGroupName": {
"type": "string"
},
"isPrimary": {
"type": "boolean"
}
}
},
"GetPackageTagByIdQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
},
"subscriptionPackageId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"subscriptionPackageName": {
"type": "string"
}
}
},
"GetSubscriptionPackageByIdQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
},
"price": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"durationDays": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"isFree": {
"type": "boolean"
},
"isSuggested": {
"type": "boolean"
},
"type": {
"$ref": "#/components/schemas/PackageType"
},
"personalWorkoutLimit": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"studentWorkoutLimit": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"tags": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetSubscriptionPackageTagByIdQueryDto"
}
}
}
},
"GetSubscriptionPackageTagByIdQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
}
}
},
"GetSynonymForExerciseQueryDto": {
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"synonym": {
"type": "string"
},
"languageCode": {
"type": "string"
}
}
},
"GetTagForExerciseQueryDto": {
"type": "object",
"properties": {
"tagId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"tagName": {
"type": "string"
}
}
},
"GetUserBmiListQueryDto": {
"type": "object",
"properties": {
"heightCm": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"weightKg": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"bmi": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
},
"GetUserByPublicKey": {
"type": "object",
"properties": {
"email": {
"type": [
"null",
"string"
]
},
"isEmailActive": {
"type": "boolean"
},
"mobile": {
"$ref": "#/components/schemas/Mobile"
},
"isMobileActive": {
"type": "boolean"
},
"firstName": {
"type": [
"null",
"string"
]
},
"lastName": {
"type": [
"null",
"string"
]
},
"isBlocked": {
"type": "boolean"
},
"gender": {
"$ref": "#/components/schemas/Gender"
},
"roleNames": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"GetWorkoutRequestCoreQueryDto": {
"type": "object",
"properties": {
"goal": {
"type": "string"
},
"experience": {
"$ref": "#/components/schemas/ExperienceLevel"
},
"injuryHistory": {
"type": [
"null",
"string"
]
},
"physicalProblems": {
"type": [
"null",
"string"
]
}
}
},
"GetWorkoutRequestLocationQueryDto": {
"type": "object",
"properties": {
"location": {
"$ref": "#/components/schemas/TrainingLocation"
},
"jobTitle": {
"type": [
"null",
"string"
]
},
"dailyTrainingHours": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"null",
"number",
"string"
],
"format": "double"
},
"isApartment": {
"type": [
"null",
"boolean"
]
},
"preferredGymDays": {
"$ref": "#/components/schemas/WorkoutDaysOfWeek"
},
"hasCoachInGym": {
"type": [
"null",
"boolean"
]
},
"isGymRegistered": {
"type": [
"null",
"boolean"
]
},
"equipmentIds": {
"type": "array",
"items": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
}
},
"InvoiceStatus": {
"type": "integer"
},
"IPageResultOfGetAdminBmiListQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAdminBmiListQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllDifficultyLevelQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllDifficultyLevelQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllDiscountAllowedUserQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllDiscountAllowedUserQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllDiscountCodeQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllDiscountCodeQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllEquipmentQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllEquipmentQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllExerciseQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllExerciseQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllExerciseSynonymQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllExerciseSynonymQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllExerciseTypeQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllExerciseTypeQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllFoodCategoryQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllFoodCategoryQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllFoodTagQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllFoodTagQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllInvoiceQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllInvoiceQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllLocationQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllLocationQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllMetricTypeQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllMetricTypeQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllMuscleGroupQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllMuscleGroupQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllMuscleQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllMuscleQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllPackageTagQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllPackageTagQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllSafetyLevelQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllSafetyLevelQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllSubscriptionPackageQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllSubscriptionPackageQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllTagQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllTagQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllUserQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllUserQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetAllUserSubscriptionQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetAllUserSubscriptionQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"IPageResultOfGetUserBmiListQueryDto": {
"type": "object",
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GetUserBmiListQueryDto"
}
},
"totalElements": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"LogoutRequest": {
"required": [
"refreshToken"
],
"type": "object",
"properties": {
"refreshToken": {
"type": "string"
}
}
},
"LogoutResponse": {
"required": [
"success"
],
"type": "object",
"properties": {
"success": {
"type": "boolean"
}
}
},
"Mobile": {
"type": "object",
"properties": {
"number": {
"type": "string"
},
"countryCode": {
"type": "string"
}
}
},
"MobileDto": {
"type": "object",
"properties": {
"number": {
"type": "string"
},
"countryCode": {
"type": "string"
}
}
},
"PackageType": {
"type": "integer"
},
"RefreshTokenRequest": {
"required": [
"refreshToken"
],
"type": "object",
"properties": {
"refreshToken": {
"type": "string"
}
}
},
"RequestUserBmiCommand": {
"required": [
"heightCm",
"weightKg"
],
"type": "object",
"properties": {
"heightCm": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"weightKg": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
}
}
},
"RequestUserBmiResponseDto": {
"required": [
"bmi",
"heightCm",
"weightKg",
"createdAt"
],
"type": "object",
"properties": {
"bmi": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"heightCm": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"weightKg": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
},
"Result": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfboolean": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"type": "boolean"
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetCurrentUserSubscriptionStatusQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetCurrentUserSubscriptionStatusQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetDiscountAllowedUserByIdQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetDiscountAllowedUserByIdQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetDiscountCodeByIdQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetDiscountCodeByIdQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetExerciseByIdQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetExerciseByIdQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetFoodByIdQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetFoodByIdQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetFoodCategoryByIdQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetFoodCategoryByIdQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetFoodTagByIdQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetFoodTagByIdQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetLastUserBmiQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetLastUserBmiQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetPackageTagByIdQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetPackageTagByIdQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetSubscriptionPackageByIdQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetSubscriptionPackageByIdQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetWorkoutRequestCoreQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetWorkoutRequestCoreQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfGetWorkoutRequestLocationQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/GetWorkoutRequestLocationQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAdminBmiListQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAdminBmiListQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllDifficultyLevelQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllDifficultyLevelQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllDiscountAllowedUserQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllDiscountAllowedUserQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllDiscountCodeQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllDiscountCodeQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllEquipmentQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllEquipmentQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllExerciseQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllExerciseQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllExerciseSynonymQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllExerciseSynonymQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllExerciseTypeQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllExerciseTypeQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllFoodCategoryQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllFoodCategoryQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllFoodTagQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllFoodTagQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllInvoiceQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllInvoiceQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllLocationQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllLocationQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllMetricTypeQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllMetricTypeQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllMuscleGroupQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllMuscleGroupQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllMuscleQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllMuscleQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllPackageTagQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllPackageTagQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllSafetyLevelQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllSafetyLevelQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllSubscriptionPackageQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllSubscriptionPackageQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllTagQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllTagQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllUserQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllUserQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetAllUserSubscriptionQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetAllUserSubscriptionQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfIPageResultOfGetUserBmiListQueryDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/IPageResultOfGetUserBmiListQueryDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfLogoutResponse": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/LogoutResponse"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfRequestUserBmiResponseDto": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/RequestUserBmiResponseDto"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"ResultOfTokenResponse": {
"type": "object",
"properties": {
"isSuccess": {
"type": "boolean"
},
"isFailure": {
"type": "boolean"
},
"value": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/TokenResponse"
}
]
},
"errors": {
"type": [
"null",
"array"
],
"items": {
"$ref": "#/components/schemas/Error"
}
},
"statusCode": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"SetPasswordRequest": {
"required": [
"password"
],
"type": "object",
"properties": {
"password": {
"type": "string"
}
}
},
"TokenResponse": {
"required": [
"accessToken",
"refreshToken",
"expiresAt"
],
"type": "object",
"properties": {
"accessToken": {
"type": "string"
},
"refreshToken": {
"type": "string"
},
"expiresAt": {
"type": "string",
"format": "date-time"
}
}
},
"TrainingLocation": {
"type": "integer"
},
"UpdateDifficultyLevelCommand": {
"required": [
"id",
"name",
"description"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"UpdateDiscountAllowedUserCommand": {
"required": [
"id",
"discountCodeId",
"userId"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"discountCodeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"userId": {
"type": "string"
}
}
},
"UpdateDiscountCodeCommand": {
"required": [
"id",
"code",
"name",
"icon",
"percent",
"startDate",
"endDate",
"type"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
},
"percent": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"type": {
"$ref": "#/components/schemas/DiscountType"
}
}
},
"UpdateEquipmentCommand": {
"required": [
"id",
"name",
"description"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"type": [
"null",
"string"
]
}
}
},
"UpdateExerciseEquipmentCommand": {
"required": [
"exerciseId",
"equipmentId"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"equipmentId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"UpdateExerciseLocationCommand": {
"required": [
"exerciseId",
"locationId"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"locationId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"UpdateExerciseMetricCommand": {
"required": [
"exerciseId",
"metricTypeId",
"isPrimary"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"metricTypeId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"isPrimary": {
"type": "boolean"
}
}
},
"UpdateExerciseMuscleCommand": {
"required": [
"exerciseId",
"muscleId",
"isPrimary"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"muscleId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"isPrimary": {
"type": "boolean"
}
}
},
"UpdateExerciseSynonymCommand": {
"required": [
"id",
"synonym",
"languageCode"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"synonym": {
"type": "string"
},
"languageCode": {
"type": "string"
}
}
},
"UpdateExerciseTagCommand": {
"required": [
"exerciseId",
"tagId"
],
"type": "object",
"properties": {
"exerciseId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"tagId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"UpdateExerciseTypeCommand": {
"required": [
"id",
"name",
"description"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"UpdateFoodCategoryCommand": {
"required": [
"id",
"name",
"code"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"code": {
"type": [
"null",
"string"
]
}
}
},
"UpdateFoodTagCommand": {
"required": [
"id",
"name"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"UpdateLocationCommand": {
"required": [
"id",
"name",
"description"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"UpdateMetricTypeCommand": {
"required": [
"id",
"name"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"UpdateMuscleCommand": {
"required": [
"id",
"groupId",
"name"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"groupId": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"UpdateMuscleGroupCommand": {
"required": [
"id",
"name"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"UpdatePackageTagCommand": {
"required": [
"id",
"name",
"icon"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
}
}
},
"UpdateSafetyLevelCommand": {
"required": [
"id",
"name",
"description"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"UpdateSubscriptionPackageCommand": {
"required": [
"id",
"name",
"icon",
"price",
"durationDays",
"isFree",
"isSuggested",
"type",
"personalWorkoutLimit",
"studentWorkoutLimit"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
},
"icon": {
"type": [
"null",
"string"
]
},
"price": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"durationDays": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"isFree": {
"type": "boolean"
},
"isSuggested": {
"type": "boolean"
},
"type": {
"$ref": "#/components/schemas/PackageType"
},
"personalWorkoutLimit": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"studentWorkoutLimit": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
},
"UpdateTagCommand": {
"required": [
"id",
"name"
],
"type": "object",
"properties": {
"id": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"UpdateUserBlockStatusRequest": {
"required": [
"isBlocked"
],
"type": "object",
"properties": {
"isBlocked": {
"type": "boolean"
}
}
},
"UpdateUserProfileRequest": {
"required": [
"firstName",
"lastName",
"age",
"heightCm",
"weightKg",
"gender"
],
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"age": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
},
"heightCm": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"weightKg": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"gender": {
"$ref": "#/components/schemas/Gender"
}
}
},
"UpdateUserSubscriptionStatusRequest": {
"required": [
"isActive"
],
"type": "object",
"properties": {
"isActive": {
"type": "boolean"
}
}
},
"WorkoutDaysOfWeek": {
"type": "integer"
},
"WorkoutRequestCoreRequest": {
"required": [
"goal",
"experience",
"injuryHistory",
"physicalProblems"
],
"type": "object",
"properties": {
"goal": {
"type": "string"
},
"experience": {
"$ref": "#/components/schemas/ExperienceLevel"
},
"injuryHistory": {
"type": [
"null",
"string"
]
},
"physicalProblems": {
"type": [
"null",
"string"
]
}
}
},
"WorkoutRequestLocationRequest": {
"required": [
"location",
"jobTitle",
"dailyTrainingHours",
"isApartment",
"preferredGymDays",
"hasCoachInGym",
"isGymRegistered",
"equipmentIds"
],
"type": "object",
"properties": {
"location": {
"$ref": "#/components/schemas/TrainingLocation"
},
"jobTitle": {
"type": "string"
},
"dailyTrainingHours": {
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": [
"number",
"string"
],
"format": "double"
},
"isApartment": {
"type": [
"null",
"boolean"
]
},
"preferredGymDays": {
"$ref": "#/components/schemas/WorkoutDaysOfWeek"
},
"hasCoachInGym": {
"type": [
"null",
"boolean"
]
},
"isGymRegistered": {
"type": [
"null",
"boolean"
]
},
"equipmentIds": {
"type": [
"null",
"array"
],
"items": {
"pattern": "^-?(?:0|[1-9]\\d*)$",
"type": [
"integer",
"string"
],
"format": "int32"
}
}
}
}
}
},
"tags": [
{
"name": "Account"
},
{
"name": "Users"
},
{
"name": "AdminBmi"
},
{
"name": "Bmi"
},
{
"name": "UserSubscriptions"
},
{
"name": "PackageTags"
},
{
"name": "SubscriptionPackages"
},
{
"name": "Invoices"
},
{
"name": "DiscountCodes"
},
{
"name": "DiscountAllowedUsers"
},
{
"name": "ObjectStorage"
},
{
"name": "FoodTags"
},
{
"name": "Foods"
},
{
"name": "FoodCategories"
},
{
"name": "Tags"
},
{
"name": "SafetyLevels"
},
{
"name": "Muscles"
},
{
"name": "MuscleGroups"
},
{
"name": "MetricTypes"
},
{
"name": "Locations"
},
{
"name": "ExerciseTypes"
},
{
"name": "ExerciseSynonyms"
},
{
"name": "Exercises"
},
{
"name": "Equipments"
},
{
"name": "DifficultyLevels"
}
]
}