Skip to content

Feat/doc api#130

Open
droslbl wants to merge 30 commits intoFIWARE:mainfrom
droslbl:feat/docApi
Open

Feat/doc api#130
droslbl wants to merge 30 commits intoFIWARE:mainfrom
droslbl:feat/docApi

Conversation

@droslbl
Copy link
Copy Markdown
Contributor

@droslbl droslbl commented Mar 12, 2026

Greetings @wistefan

This is the Document API management feature. I also added the changes to add this to the all-in-one feature recently added.

Best regards

Comment thread api/tm-forum/document-management/api.json
Comment thread document-management/pom.xml Outdated
@droslbl droslbl requested a review from wistefan April 14, 2026 05:43
Copy link
Copy Markdown
Collaborator

@wistefan wistefan left a comment

Choose a reason for hiding this comment

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

It now mostly looks good, just the weird schemaLocation handling on the TMForumMapper needs to be explained/resolved.

@Mapping(target = "atSchemaLocation", ignore = true)
public abstract DocumentSpecificationVO map(DocumentSpecificationCreateVO createVO, URI id);

@AfterMapping
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why is this back again? Whats the reason for this?

public abstract DocumentSpecificationVO map(DocumentSpecification documentSpecification);

@Mapping(target = "href", source = "id")
@Mapping(target = "atSchemaLocation", ignore = true)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why is atSchemaLocation ignored and than reapplied with an afterMapping?

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.

2 participants