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

    Modifier and Type
    Method
    Description
    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.
     

    Methods inherited from interface OpenAPIObject

    getExtensions, getOpenAPIModel
  • Method Details

    • 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.