Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

make us of open api server.url config #2886

@wichopy

Description

@wichopy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions