LearnNewsExamplesServices
Frontmatter
id7600
titleUpdate OpenAPI Specification to Reflect GraphQL Data Models
stateClosed
labels
documentationenhancementai
assigneestobiu
createdAtOct 22, 2025, 11:17 AM
updatedAtOct 22, 2025, 11:32 AM
githubUrlhttps://github.com/neomjs/neo/issues/7600
authortobiu
commentsCount0
parentIssue7590
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 22, 2025, 11:32 AM

Update OpenAPI Specification to Reflect GraphQL Data Models

Closed v11.0.0 documentationenhancementai
tobiu
tobiu commented on Oct 22, 2025, 11:17 AM

Following the migration of our GitHub services from the gh CLI to a direct GraphQL implementation, the data models returned by our services have become significantly richer. For example, the SyncService now provides detailed issue relationship data (parent, sub-issues) that is not reflected in the current openapi.yaml specification.

An outdated API specification is misleading for both human developers and AI agents attempting to use the tools. This ticket is to perform a thorough review of the current service responses and update the OpenAPI schemas to match the new, richer data structures.

Acceptance Criteria

  1. Analyze the response schema of the sync_issues operation (SyncIssuesResponse) and update it to include the new parent/sub-issue fields and any other new data points returned by the SyncService.
  2. Analyze the response schema of the get_conversation operation (PullRequestConversation) and ensure it accurately reflects the data returned by the PullRequestService.
  3. Review all other relevant schemas in openapi.yaml (e.g., PullRequest, Label) to ensure they are aligned with the data now being returned by the GraphQL-backed services.
  4. Ensure all examples in the OpenAPI specification are updated to reflect the new data structures.
tobiu assigned to @tobiu on Oct 22, 2025, 11:17 AM
tobiu added the documentation label on Oct 22, 2025, 11:17 AM
tobiu added the enhancement label on Oct 22, 2025, 11:17 AM
tobiu added the ai label on Oct 22, 2025, 11:17 AM
tobiu added parent issue #7590 on Oct 22, 2025, 11:17 AM
tobiu referenced in commit ae5fb36 - "Update OpenAPI Specification to Reflect GraphQL Data Models #7600" on Oct 22, 2025, 11:32 AM
tobiu closed this issue on Oct 22, 2025, 11:32 AM