Skip to content

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

Merged
char0n merged 4 commits intomasterfrom
char0n/server-variables-substitution
Jun 6, 2024
Merged

refactor(execute): use canonical implementation of server URL templating#3557
char0n merged 4 commits intomasterfrom
char0n/server-variables-substitution

Conversation

@char0n
Copy link
Copy Markdown
Contributor

@char0n char0n commented Jun 6, 2024

No description provided.

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

🎉 This PR is included in version 3.28.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@paztis
Copy link
Copy Markdown

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