Skip to content

Boat export puts base uri in 'server url'. #21

Closed

Description

@jjjasper

When exporting from raml to openapi, when the raml file contains a baseUri, it is included in the 'servers' section rather than the paths. Additionally, the exporter includes the 'service-name' in the server section. Whether the 'service name' is part of the uri depends on the deployment of the service.

eg raml

baseUri=getting-started/v2

/helloworld:
  200:

OpenAPI after export

servers:
- url: /serviceName/getting-started/v2
  description: The server
...
paths:
  /helloworld:

Activity

  1. self-assigned this
    on Jul 7, 2020
  2. linked a pull request that will close this issueFix/21 raml base uri handling #22on Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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