Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support OAS servers URLs and some general fixes #729

Merged
merged 1 commit into from
Mar 7, 2021

Conversation

tarilabs
Copy link
Contributor

@tarilabs tarilabs commented Mar 7, 2021

As the title says.
If/once approved, I will cherry-pick to backport to 2.0.x branch too.

Demo 1 (no OAS servers defined)

If the OAS descriptors does not provide a servers, the application will not present any specific changes

In this example a simple Quarkus based app:
image

as before:
image

Demo 2 (the OAS descriptors define servers)

If the OAS descriptor defines servers URLs, those are selectable via dropdown-box.

In this example a simple kie-server based container:
image

provides in the OAS descriptor some servers URLs, hence that is used to address the POST request:
image

Details:
image

@MikeEdgar MikeEdgar added this to the 2.1.3 milestone Mar 7, 2021
@MikeEdgar MikeEdgar added the enhancement New feature or request label Mar 7, 2021
Copy link
Member

@MikeEdgar MikeEdgar left a comment

Choose a reason for hiding this comment

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

Thanks @tarilabs - this looks good.

@MikeEdgar MikeEdgar merged commit a7232c4 into smallrye:master Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants