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

refactor(execute): use canonical implementation of server URL templating #3557

Merged
merged 4 commits into from
Jun 6, 2024

Conversation

char0n
Copy link
Member

@char0n char0n commented Jun 6, 2024

No description provided.

@char0n char0n merged commit 1c1c2a5 into master Jun 6, 2024
7 checks passed
@char0n char0n deleted the char0n/server-variables-substitution branch June 6, 2024 10:39
@swagger-bot
Copy link
Contributor

🎉 This PR is included in version 3.28.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@paztis
Copy link

paztis commented Sep 9, 2024

I create this issue: #3656
the variables are now automatically encoding and we are no more able to provide a part of url with : and / in server variables

this didn't respect the specification here: https://swagger.io/docs/specification/api-host-and-base-path/ were a piece of URL can be part of the variables

SaaS and On-Premise

servers:
  - url: '{server}/v1'
    variables:
      server:
        default: https://api.example.com  # SaaS server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants