io.vertx.openapi.contract

## Interface Server

- All Superinterfaces:
    OpenAPIObject

      public interface Server
      extends OpenAPIObject

  This interface represents the most important attributes of an OpenAPI Server.
  Server V3.1
  Server V3.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getBasePath()` The base path is used to indicate that the location where the OpenAPI contract is served is different from the path specified in the OpenAPI contract.
    `String` | `getURL()`

    - ### Methods inherited from interface io.vertx.openapi.contract.OpenAPIObject

      `getExtensions, getOpenAPIModel`

- - ### Method Detail

    - #### getURL

          String getURL()

      Returns:
        the URL of the related server

    - #### getBasePath

          String getBasePath()

      The base path is used to indicate that the location where the OpenAPI contract is served is different from the path specified in the OpenAPI contract.
      Returns:
        the related base path.

Copyright © 2025 Eclipse. All rights reserved.