Skip to content

Conversation

@bhufmann
Copy link
Contributor

@bhufmann bhufmann commented Aug 28, 2025

What it does

swagger: Fix supported types of TimeGraphEntry metadata values

fixes eclipse-cdt-cloud/trace-server-protocol#129

How to test

Verify generated openapi.yaml (https://github.com/eclipse-cdt-cloud/trace-server-protocol?tab=readme-ov-file#generate-the-api)

Follow-ups

TSP specification update

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

@bhufmann bhufmann force-pushed the bugfix4tsp_tg_entry branch from 04d2fca to c212439 Compare August 28, 2025 16:58
@bhufmann bhufmann requested a review from PatrickTasse August 28, 2025 17:14
Map<String, Collection<MetadataValue>> getMetadata();

/**
* Type for metadata values (String, Float, Integer or Boolean)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this correct? Doesn't match the oneOf below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll fix it

@bhufmann bhufmann force-pushed the bugfix4tsp_tg_entry branch from c212439 to 836dbca Compare August 28, 2025 17:37
PatrickTasse
PatrickTasse previously approved these changes Aug 28, 2025
@bhufmann bhufmann merged commit d14a8dc into eclipse-tracecompass-incubator:master Aug 28, 2025
2 checks passed
@bhufmann bhufmann deleted the bugfix4tsp_tg_entry branch August 28, 2025 19:09
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.

In correct array value types in metadata of TimeGraphEntry

2 participants