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

Specmatic is not able to parse variable when it is a substring of a path part. #693

Open
MishaTyupa opened this issue Aug 5, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MishaTyupa
Copy link

Description
Here is an example of how specmatic(0.73.0) cannot parse a value from variable.

Steps to reproduce

  1. You have swagger file with endpoints and URL path contains variable:
    Example: /api/v{version}/Banner/active

Expected behavior
specmatic stub or specmatic test works fine with such open API(3.0.1) specification

Actual behavior
Getting error: Illegal character in path at index 27: http://somehost:9000/api/v{version}/Banner/active

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants