Skip to content

[Fix #1598] Support uri-reference in type generator - #1602

Merged
fjtirado merged 1 commit into
open-workflow-specification:mainfrom
fjtirado:Fix_#1598
Aug 6, 2026
Merged

[Fix #1598] Support uri-reference in type generator#1602
fjtirado merged 1 commit into
open-workflow-specification:mainfrom
fjtirado:Fix_#1598

Conversation

@fjtirado

@fjtirado fjtirado commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Fix #1598

Fix open-workflow-specification#1598

Signed-off-by: Francisco Javier Tirado Sarti <ftirados@ibm.com>
Copilot AI lite review requested due to automatic review settings August 6, 2026 12:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the local workflow JSON/YAML schema and the type-generation configuration so that schema fields using the uri-reference format can be incorporated and still generate the intended Java types.

Changes:

  • Switch schema format for LiteralUri from uri to uri-reference.
  • Configure jsonschema2pojo in the types module to map uri-reference to java.net.URI.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
types/src/main/resources/schema/workflow.yaml Updates schema format to uri-reference to align with the spec/schema evolution.
types/pom.xml Adds a formatTypeMapping entry so uri-reference generates as java.net.URI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fjtirado fjtirado changed the title [Fix #1598] [Fix #1598] Support uri-reference in type generator Aug 6, 2026
@fjtirado
fjtirado merged commit 16e033c into open-workflow-specification:main Aug 6, 2026
3 checks passed
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.

Generator does not support uri-reference

3 participants