Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature/graphapi-update] Update Graph API types and code generator #133

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

felix-schwarz
Copy link
Collaborator

@felix-schwarz felix-schwarz commented Nov 28, 2024

Description

  • updates ocapigen to add support for new typedef types, enums, libre-graph references, JS generation and more
  • updates all Graph API (GA) types by re-generation and 1-2 manual tweaks, based on `owncloud/libre-graph-api@d6f9cdfe7eb52c751c2fb6b1595bc08a50a53062
  • the instances of all generated GA classes now support creating JSON-encodable structures of their content - including requirement validation - to support sending to the server

Related Issue

Precondition for work on:

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@felix-schwarz felix-schwarz self-assigned this Nov 28, 2024
@felix-schwarz felix-schwarz changed the title [feature/graphapi-update] Update Graph API types [feature/graphapi-update] Update Graph API types and code generator Dec 4, 2024
@felix-schwarz felix-schwarz requested a review from hosy December 5, 2024 14:47
- always use current year number for copyright
- automatically comment out known-unsupported lines: preserve information, but keep files immediately compileable
- OCSchema: remove debug output
- add support for "typedef" and enum-types
- cleanup categories, moving to their own files
- OCYAMLParser: remove encapsulating "" and '' for values and keys
- OCCodeGenerator: add support for "@" property names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant