-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Partial path templating is not allowed message for path variable with multiple parameter #1248
Comments
That's an issue with the tool you're using, not the spec itself. Please check the relevant tool for known issues or file a new one if you can't find it. |
@webron I'm using swagger annotations with spring boot and editing the exported swagger.json in the online swagger editor which is complaining about the path. Spring boot has no problem eith it as I wrote before. This is not a "tool" issue. Please, reopen the issue since swagger obviouly can't deal with such paths. |
@rubenlara if your problem is with swagger editor, it is a tool issue not an OAS (specification) error. Consider raising an issue here https://github.com/swagger-api/swagger-editor Edit: I think your bug is this existing issue: swagger-api/swagger-editor#1303 |
Hi, actually I'm implementing a rest api with a path like /api/users/{groupid}.{departmentid}.{level}
users have this composite id to identify them. Calling operations are working but I cannot define the the path in swagger. I get a:
Semantic error at paths./api/users/{groupid}.{departmentid}.{level}
Partial path templating is not allowed.
I'm using swagger annotations to define the api and in the configuration I'm using enableUrlTemplating(true) too.
The text was updated successfully, but these errors were encountered: