Closed
Description
Hello,
When using path reference,
'/users/{userId}':
$ref: ./apis/user.v1.yaml#/paths/~1users~1{userId}
The schemas used by the referenced path are parsed in spinal-case,
public class user {
For schemas whose name is in several parts, like UserSearch, the parser writes a hyphen (user-search) and stops because the syntax of java doesn't support that.
Because it's a bit complicated to exlain I've attached the full example
openapi-bug.zip