Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/agents/schemas-code-contributor.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Schemas Code Contributor Agent
description: Expert-level agent specialized in Meshery's logical object models, JSON schema definitions, and OpenAPI-driven code generation.
tools: ['changes', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'github', 'githubRepo', 'memory', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'runTasks', 'runTests', 'search', 'search/codebase', 'search/searchResults', 'testFailure', 'usages', 'vscodeAPI']
tools: [vscode/getProjectSetupInfo, vscode/installExtension, vscode/memory, vscode/newWorkspace, vscode/runCommand, vscode/vscodeAPI, vscode/extensions, vscode/askQuestions, execute/runNotebookCell, execute/testFailure, execute/getTerminalOutput, execute/awaitTerminal, execute/killTerminal, execute/createAndRunTask, execute/runInTerminal, execute/runTests, read/getNotebookSummary, read/problems, read/readFile, read/readNotebookCellOutput, read/terminalSelection, read/terminalLastCommand, agent/runSubagent, edit/createDirectory, edit/createFile, edit/createJupyterNotebook, edit/editFiles, edit/editNotebook, edit/rename, search/changes, search/codebase, search/fileSearch, search/listDirectory, search/textSearch, search/usages, web/fetch, browser/openBrowserPage, github/add_comment_to_pending_review, github/add_issue_comment, github/add_reply_to_pull_request_comment, github/assign_copilot_to_issue, github/create_branch, github/create_or_update_file, github/create_pull_request, github/create_pull_request_with_copilot, github/create_repository, github/delete_file, github/fork_repository, github/get_commit, github/get_copilot_job_status, github/get_file_contents, github/get_label, github/get_latest_release, github/get_me, github/get_release_by_tag, github/get_tag, github/get_team_members, github/get_teams, github/issue_read, github/issue_write, github/list_branches, github/list_commits, github/list_issue_types, github/list_issues, github/list_pull_requests, github/list_releases, github/list_tags, github/merge_pull_request, github/pull_request_read, github/pull_request_review_write, github/push_files, github/request_copilot_review, github/run_secret_scanning, github/search_code, github/search_issues, github/search_pull_requests, github/search_repositories, github/search_users, github/sub_issue_write, github/update_pull_request, github/update_pull_request_branch, playwright/browser_click, playwright/browser_close, playwright/browser_console_messages, playwright/browser_drag, playwright/browser_evaluate, playwright/browser_file_upload, playwright/browser_fill_form, playwright/browser_handle_dialog, playwright/browser_hover, playwright/browser_install, playwright/browser_navigate, playwright/browser_navigate_back, playwright/browser_network_requests, playwright/browser_press_key, playwright/browser_resize, playwright/browser_run_code, playwright/browser_select_option, playwright/browser_snapshot, playwright/browser_tabs, playwright/browser_take_screenshot, playwright/browser_type, playwright/browser_wait_for, github.vscode-pull-request-github/issue_fetch, github.vscode-pull-request-github/labels_fetch, github.vscode-pull-request-github/notification_fetch, github.vscode-pull-request-github/doSearch, github.vscode-pull-request-github/activePullRequest, github.vscode-pull-request-github/pullRequestStatusChecks, github.vscode-pull-request-github/openPullRequest, todo]
---

# Schemas Code Contributor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ info:
version: 1.0.0

paths:
/api/academy/cirricula/registered:
/api/academy/Curricula/registered:
get:
x-internal: ["cloud"]
tags:
- Academy
operationId: getMyAcademyCirricula
operationId: getMyAcademyCurricula
summary: Get academy content
description: Returns a list of academy content registered by the user with optional filtering.
parameters:
Expand Down Expand Up @@ -40,7 +40,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/AcademyCirriculaListResponse"
$ref: "#/components/schemas/AcademyCurriculaListResponse"
"400":
description: Invalid request parameters
"500":
Expand All @@ -66,18 +66,18 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/AcademyCirricula"
$ref: "#/components/schemas/AcademyCurricula"
"400":
description: Invalid request parameters
"500":
description: Server error

/api/academy/cirricula:
/api/academy/Curricula:
get:
x-internal: ["cloud"]
tags:
- Academy
operationId: getAcademyCirricula
operationId: getAcademyCurricula
summary: Get academy content
description: Returns a list of academy content with optional filtering.
parameters:
Expand Down Expand Up @@ -218,7 +218,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/AcademyCirricula"
$ref: "#/components/schemas/AcademyCurricula"
"400":
description: Invalid request parameters
"500":
Expand Down Expand Up @@ -412,13 +412,13 @@ paths:
message:
type: string
progress_tracker:
$ref: "#/components/schemas/CirriculaProgressTracker"
$ref: "#/components/schemas/CurriculaProgressTracker"
registration_id:
type: string
content_type:
$ref: "#/components/schemas/ContentType"
item_data:
$ref: "#/components/schemas/CirriculaCurrentItemData"
$ref: "#/components/schemas/CurriculaCurrentItemData"
"400":
description: Bad request
content:
Expand Down Expand Up @@ -715,12 +715,12 @@ components:
- archived
- not_ready

AcademyCirricula:
AcademyCurricula:
type: object
properties:
id:
type: string
description: Id of the cirricula
description: Id of the Curricula
example: 923458-3490394-934893
x-go-name: ID
x-oapi-codegen-extra-tags:
Expand All @@ -743,7 +743,7 @@ components:
yaml: "org_id"
visibility:
$ref: "#/components/schemas/Visibility"
description: Visibility of the cirricula
description: Visibility of the Curricula
x-go-type: "Visibility"
x-oapi-codegen-extra-tags:
db: "visibility"
Expand All @@ -752,7 +752,7 @@ components:
status:
$ref: "#/components/schemas/Status"
example: ready
description: Status of the cirricula
description: Status of the Curricula
x-go-type: "Status"
x-oapi-codegen-extra-tags:
db: "status"
Expand All @@ -761,12 +761,12 @@ components:

slug:
type: string
description: slug of the cirricula
description: slug of the Curricula
example: intro-kubernetes-course

level:
$ref: "#/components/schemas/Level"
description: Level of the cirricula
description: Level of the Curricula
x-go-type: "Level"
x-oapi-codegen-extra-tags:
db: "level"
Expand All @@ -783,22 +783,22 @@ components:

invite_id:
$ref: "../../v1alpha1/core/api.yml#/components/schemas/uuid"
description: ID of the invite associated with this cirricula
description: ID of the invite associated with this Curricula
x-oapi-codegen-extra-tags:
db: "invite_id"
json: "invite_id"
yaml: "invite_id"

workspace_id:
$ref: "../../v1alpha1/core/api.yml#/components/schemas/uuid"
description: ID of the workspace to which this cirricula belongs
description: ID of the workspace to which this Curricula belongs
x-oapi-codegen-extra-tags:
db: "workspace_id"
json: "workspace_id"
yaml: "workspace_id"

createdAt:
description: When the cirricula item was created
description: When the Curricula item was created
$ref: "../../v1alpha1/core/api.yml#/components/schemas/Time"
x-oapi-codegen-extra-tags:
db: "created_at"
Expand All @@ -807,7 +807,7 @@ components:

updatedAt:
$ref: "../../v1alpha1/core/api.yml#/components/schemas/Time"
description: When the cirricula was last updated
description: When the Curricula was last updated
x-go-type: "core.Time"
x-oapi-codegen-extra-tags:
db: "updated_at"
Expand All @@ -822,7 +822,7 @@ components:
yaml: "deleted_at"
metadata:
type: object
description: Additional metadata about the cirricula
description: Additional metadata about the Curricula
additionalProperties: true
x-go-type: "core.Map"
x-go-type-skip-optional-pointer: true
Expand Down Expand Up @@ -850,7 +850,7 @@ components:
SingleAcademyCurriculaResponse:
type: object
allOf:
- $ref: "#/components/schemas/AcademyCirricula"
- $ref: "#/components/schemas/AcademyCurricula"
- type: object
required:
- RegistrationCount
Expand Down Expand Up @@ -887,7 +887,7 @@ components:
json: "title"

orgId:
$ref: "#/components/schemas/AcademyCirricula/properties/orgId"
$ref: "#/components/schemas/AcademyCurricula/properties/orgId"
description: Organization ID that owns this curricula
x-go-name: OrgId
x-oapi-codegen-extra-tags:
Expand All @@ -896,10 +896,10 @@ components:
yaml: "org_id"

workspace_id:
$ref: "#/components/schemas/AcademyCirricula/properties/workspace_id"
$ref: "#/components/schemas/AcademyCurricula/properties/workspace_id"

badge_id:
$ref: "#/components/schemas/AcademyCirricula/properties/badge_id"
$ref: "#/components/schemas/AcademyCurricula/properties/badge_id"

team_id:
$ref: "../../v1alpha1/core/api.yml#/components/schemas/uuid"
Expand Down Expand Up @@ -933,7 +933,7 @@ components:
yaml: "access_status"

metadata:
$ref: "#/components/schemas/AcademyCirricula/properties/metadata"
$ref: "#/components/schemas/AcademyCurricula/properties/metadata"

required:
- type
Expand All @@ -946,7 +946,7 @@ components:

AcademyCurriculaWithMetrics:
allOf:
- $ref: "#/components/schemas/AcademyCirricula"
- $ref: "#/components/schemas/AcademyCurricula"
- type: object
required:
- RegistrationCount
Expand All @@ -958,18 +958,18 @@ components:
json: "registration_count,omitempty"
yaml: "registration_count,omitempty"

AcademyCirriculaListResponse:
AcademyCurriculaListResponse:
type: object
properties:
total:
type: integer
description: Total number of cirricula
description: Total number of Curricula
example: 7
data:
type: array
items:
x-go-type: "AcademyCirricula"
$ref: "#/components/schemas/AcademyCirricula"
x-go-type: "AcademyCurricula"
$ref: "#/components/schemas/AcademyCurricula"
required:
- total
- data
Expand All @@ -979,7 +979,7 @@ components:
properties:
total:
type: integer
description: Total number of cirricula
description: Total number of Curricula
example: 7
data:
type: array
Expand Down Expand Up @@ -1308,7 +1308,7 @@ components:
- total
- data

CirriculaCurrentItemData:
CurriculaCurrentItemData:
type: object
required:
- id
Expand All @@ -1324,7 +1324,7 @@ components:
$ref: "#/components/schemas/ContentType"
x-go-type: "ContentType"

CirriculaProgressTracker:
CurriculaProgressTracker:
type: object
required:
- current_item
Expand All @@ -1336,8 +1336,8 @@ components:
current_item:
type: object
additionalProperties:
$ref: "#/components/schemas/CirriculaCurrentItemData"
x-go-type: "CirriculaCurrentItemData"
$ref: "#/components/schemas/CurriculaCurrentItemData"
x-go-type: "CurriculaCurrentItemData"
grades:
type: object
additionalProperties:
Expand Down Expand Up @@ -1380,8 +1380,8 @@ components:
$ref: "#/components/schemas/ContentType"
x-go-type: "ContentType"
item_data:
$ref: "#/components/schemas/CirriculaCurrentItemData"
x-go-type: "CirriculaCurrentItemData"
$ref: "#/components/schemas/CurriculaCurrentItemData"
x-go-type: "CurriculaCurrentItemData"
required:
- content_type
- item_data
Expand Down
Loading
Loading