public class ResponseInputModeller extends InputModeller
system input definition for the API responses defined by the given
OpenAPI specification. Returns null if the given spec defines no API responses to model.
OpenAPI models must conform to OAS version 3. See https://swagger.io/specification/#specification.InputModeller.View| Constructor and Description |
|---|
ResponseInputModeller()
Creates a new ResponseInputModeller instance.
|
ResponseInputModeller(ModelOptions options)
Creates a new ResponseInputModeller instance.
|
| Modifier and Type | Method and Description |
|---|---|
SystemInputDef |
getResponseInputModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API responses defined by the given
OpenAPI specification. |
getOptions, requestInputModel, responseInputModel, simplifieddoFor, getContext, getNotifier, notifyError, notifyWarning, resultFor, setNotifierpublic ResponseInputModeller()
public ResponseInputModeller(ModelOptions options)
public SystemInputDef getResponseInputModel(io.swagger.v3.oas.models.OpenAPI api)
system input definition for the API responses defined by the given
OpenAPI specification. Returns null if the given spec defines no API responses to model.Copyright © 2020 The Cornutum Project. All rights reserved.