feat: Add ListAcceptedAssignments and GetAssignmentGrades methods to Classroom API by jferrl · Pull Request #3732 · google/go-github

Maybe it's better to create a separate struct ClassroomUser and use it instead of the User?

          "title": "Simple Classroom User",
          "description": "A GitHub user simplified for Classroom.",
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "examples": [
                1
              ]
            },
            "login": {
              "type": "string",
              "examples": [
                "octocat"
              ]
            },
            "avatar_url": {
              "type": "string",
              "format": "uri",
              "examples": [
                "https://github.com/images/error/octocat_happy.gif"
              ]
            },
            "html_url": {
              "type": "string",
              "format": "uri",
              "examples": [
                "https://github.com/octocat"
              ]
            }
          },
          "required": [
            "id",
            "login",
            "avatar_url",
            "html_url"
          ]