Skip to content

How to set baseUrl for the api requests?  #8

Description

@ericvdberge

Hi, I have a C# Api that is using swagger with the provided OpenApi specification.
In my vue frontend, I am using this package in the frontend using yarn openapi --file http://localhost:53461/swagger/v1/swagger.json.

First time working with it and seems really nice! But, my OpenApi specification contains relative paths like / or '/products'. Is there a way to specify a base url so it uses http://localhost:53461/products instead of the relative urls in the request method?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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