openapi: 3.0.3 info: title: Torus API version: 0.1.0 servers: - url: http://localhost:8000 description: Development - url: https://example.com description: Production tags: - name: General - name: Users - name: Workouts - name: Sessions x-tagGroups: - name: General tags: - General - name: Users tags: - Users - name: Workouts tags: - Workouts - Sessions paths: /: $ref: './paths/index.yaml' /docs: $ref: './paths/docs.yaml' /user: $ref: './paths/user.yaml' /user/login: $ref: './paths/user-login.yaml' /user/logout: $ref: './paths/user-logout.yaml' /workout: $ref: './paths/workout.yaml' /workout/{id}: $ref: './paths/workout-id.yaml' /workout/{workout_id}/session: $ref: './paths/workout-session.yaml' /workout/{workout_id}/session/{session_id}: $ref: './paths/workout-session-id.yaml' components: securitySchemes: $ref: './components/securitySchemes.yaml' schemas: User: $ref: './components/schemas/User.yaml' Workout: $ref: './components/schemas/Workout.yaml' Exercise: $ref: './components/schemas/Exercise.yaml' ExerciseType: $ref: './components/schemas/ExerciseType.yaml' Session: $ref: './components/schemas/Session.yaml' SessionExercise: $ref: './components/schemas/SessionExercise.yaml' SessionSet: $ref: './components/schemas/SessionSet.yaml' ErrorResponse: $ref: './components/schemas/ErrorResponse.yaml' SuccessResponse: $ref: './components/schemas/SuccessResponse.yaml'