optic icon indicating copy to clipboard operation
optic copied to clipboard

make us of open api server.url config

Open wichopy opened this issue 7 months ago • 0 comments

Describe the bug

My spec implements the server.url config which prefixes all urls with a common string (/v1 for example)

When I run optic however ,its not hitting my paths, as optic is not taking this into consideration, and I need to manually update my paths to include /v1.

Is this something we want to implement?

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Details (please complete the following information):

  • OS and version: [e.g. Mac OS 13.1]
  • Optic version: [e.g. v0.37.1]
  • NodeJS version: [e.g. 18.0.0]

Additional context Add any other context about the problem here.

wichopy avatar May 18 '25 12:05 wichopy