Skip to content

[BUG]: CRUD API relative data file path is relative to config file instead of the API file #575

@waldekmastykarz

Description

@waldekmastykarz

Description

CRUD API relative data file path is relative to config file instead of the API file

Expected behaviour

Relative data file path resolves relatively to the api definition file

Actual behaviour

Relative data file path resolves relatively to the proxy config file

Steps to reproduce

  • put the API definition and API data file in a subfolder
  • from the API file, refer to the API data file in the same directory
  • in the proxy config, point to the API file > proxy looks for the data file in the same folder as the proxy config file instead of the API definition file

Dev Proxy Version

latest from main

Operating system (environment)

macOS

Shell

zsh

Configuration file

n/a

Additional Info

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions