public class ResponseInputModeller extends InputModeller
system input definition
for the API responses defined by the given
OpenAPI definition. Returns null if the given definition 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 definition. |
getOptions, requestInputModel, responseInputModel
doFor, getContext, getNotifier, notifyError, notifyError, notifyWarning, notifyWarning, resultFor, setNotifier
public 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 definition. Returns null if the given definition defines no API responses to model.Copyright © 2024 The Cornutum Project. All rights reserved.