Skip to content

Parser 1.x (v1): Could not find definition on the classpath with dots in definition name #901

@frantuma

Description

@frantuma

When defined in a referenced external file, a definition containing dots in the name causes the parser to fail with error:

java.lang.RuntimeException: Could not find .. on the classpath
	at io.swagger.parser.util.ClasspathHelper.loadFileFromClasspath(

Please check the following specs to reproduce the error:

spec1 and referenced spec1

spec2 and referenced spec2

Note that with version 1.0.39 the error seems to be similar but different (check spec1 above)

This is related to v1, but possibly it also occurs in 2.0/master, to be checked

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions