We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Error while importing YAML & Json Swagger files: Unable to parse the Swagger content
To Reproduce Steps to reproduce the behavior:
2023-07-18 12:19:06 java.lang.IllegalArgumentException: Unable to parse the Swagger content. 2023-07-18 12:19:06 at com.castlemock.service.mock.rest.project.converter.swagger.SwaggerRestDefinitionConverter.convertSwagger(SwaggerRestDefinitionConverter.java:158) ~[service-mock-rest-1.63.jar:?] 2023-07-18 12:19:06 at com.castlemock.service.mock.rest.project.converter.swagger.SwaggerRestDefinitionConverter.convert(SwaggerRestDefinitionConverter.java:121) ~[service-mock-rest-1.63.jar:?] 2023-07-18 12:19:06 at com.castlemock.service.mock.rest.project.ImportRestDefinitionService.process(ImportRestDefinitionService.java:74) ~[service-mock-rest-1.63.jar:?] 2023-07-18 12:19:06 at com.castlemock.service.core.ServiceProcessorImpl.process(ServiceProcessorImpl.java:85) ~[service-core-1.63.jar:?] 2023-07-18 12:19:06 at jdk.internal.reflect.GeneratedMethodAccessor131.invoke(Unknown Source) ~[?:?]
Expected behavior File imported and generate the mock
Screenshots Swagger files are valid:
Castle Mock
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
@karldahlgren Same issue with the latest Docker image 1.65
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Error while importing YAML & Json Swagger files: Unable to parse the Swagger content
To Reproduce
Steps to reproduce the behavior:
Expected behavior
File imported and generate the mock
Screenshots
Swagger files are valid:
Castle Mock
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: