Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

[BUG] route with only a slash may not work #80

@spacether

Description

@spacether

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request
Description

A route with only a slash "/" may not work
Reported by Scott Knick in Slack

It was producing an import to a non-existent module, and the import was invalid too (like import ./../something.

openapi-json-schema-generator version
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs

Created from OpenAPITools/openapi-generator#15312

Suggest a fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions