{
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": ["loc", "msg", "type"],
        "title": "ValidationError"
      }
    },
    "securitySchemes": {
      "HTTPBearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "info": {
    "title": "FastAPI",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/course-segments/": {
      "get": {
        "summary": "Read Course Segments",
        "operationId": "read_course_segments_course_segments__get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/problem-set/{problem_set_id}/{question_number}": {
      "get": {
        "summary": "Read Problem Set Item",
        "operationId": "read_problem_set_item_problem_set__problem_set_id___question_number__get",
        "parameters": [
          {
            "name": "problem_set_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Problem Set Id"
            }
          },
          {
            "name": "question_number",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Question Number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/problem-set/random/{problem_set_id}/{n_items}": {
      "get": {
        "summary": "Read Random Problem Set Items",
        "operationId": "read_random_problem_set_items_problem_set_random__problem_set_id___n_items__get",
        "parameters": [
          {
            "name": "problem_set_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Problem Set Id"
            }
          },
          {
            "name": "n_items",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "N Items"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/problem-set/range/{problem_set_id}/{start}/{end}": {
      "get": {
        "summary": "Read Range Of Problem Set Items",
        "operationId": "read_range_of_problem_set_items_problem_set_range__problem_set_id___start___end__get",
        "parameters": [
          {
            "name": "problem_set_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Problem Set Id"
            }
          },
          {
            "name": "start",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Start"
            }
          },
          {
            "name": "end",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "End"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/user/": {
      "get": {
        "summary": "Read User Id",
        "operationId": "read_user_id_user__get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ]
      }
    }
  }
}
