io.vertx.openapi.contract

## Interface Response

- All Superinterfaces:
    OpenAPIObject

      public interface Response
      extends OpenAPIObject

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,MediaType>` | `getContent()`
    `List<Parameter>` | `getHeaders()`

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

      `getOpenAPIModel`

- - ### Method Detail

    - #### getHeaders

          List<Parameter> getHeaders()

      Returns:
        the headers of the response.

    - #### getContent

          Map<String,MediaType> getContent()

      Returns:
        a map containing descriptions of potential response payloads. The key is a media type or media type range and the value describes it.

Copyright © 2024 Eclipse. All rights reserved.