Skip to content

dots lost when dereferencing files with dots #2092

Open
@simonhege

Description

Hello

Following fix for #1865 the name of the schema lost the dots

The name of the schema being of importance in the code generation, I think the swagger-parser should keep the dots as per the referenced file name

This mean that at
https://github.com/swagger-api/swagger-parser/blob/master/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIV3ParserTest.java#L115
I expect to see #/components/schemas/foo.model
instead of #/components/schemas/foomodel

Metadata

Assignees

No one assigned

    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