Skip to content

Fix rest-openapi-simple example: note PetStore demo flakiness - #211

Merged
Croway merged 1 commit into
apache:mainfrom
Croway:fix-rest-openapi-simple-petstore-flakiness
Sep 9, 2026
Merged

Fix rest-openapi-simple example: note PetStore demo flakiness#211
Croway merged 1 commit into
apache:mainfrom
Croway:fix-rest-openapi-simple-petstore-flakiness

Conversation

@Croway

@Croway Croway commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Document in the README that the getPetById example depends on the publicly hosted petstore3.swagger.io demo, which can intermittently return errors (e.g. 500) since it's outside our control — this isn't a bug in the example itself.
  • Remove the redundant explicit ${project.version} on camel-rest-openapi-starter in the pom, since it's already managed by the Camel BOM (consistent with other examples such as openapi-contract-first).

Test plan

  • mvn -o compile succeeds in rest-openapi-simple
  • logoutUser operation (the default) works against the live demo

…edundant version

The getPetById operation depends on the publicly hosted petstore3.swagger.io
demo, which can intermittently fail (e.g. 500 errors) since it is outside
our control. Document this in the README so it isn't mistaken for a bug in
the example. Also remove the redundant explicit ${project.version} on
camel-rest-openapi-starter, since it is already managed by the Camel BOM.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HseDjsECuZhsCXxxioiD1k
@Croway
Croway merged commit 9053f48 into apache:main Sep 9, 2026
1 check passed
@Croway
Croway deleted the fix-rest-openapi-simple-petstore-flakiness branch September 9, 2026 12:25
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