Skip to content

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

Open
Croway wants to merge 1 commit into
apache:mainfrom
Croway:fix-rest-openapi-simple-petstore-flakiness
Open

Fix rest-openapi-simple example: note PetStore demo flakiness#211
Croway wants to merge 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

🤖 Generated with Claude Code

https://claude.ai/code/session_01HseDjsECuZhsCXxxioiD1k

…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
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