public abstract class InputModeller extends ContextHandler<OpenApiContext>
Modifier and Type | Class and Description |
---|---|
protected static class |
InputModeller.View |
Modifier | Constructor and Description |
---|---|
protected |
InputModeller(InputModeller.View view)
Creates a new InputModeller instance.
|
protected |
InputModeller(InputModeller.View view,
ModelOptions options)
Creates a new InputModeller instance.
|
Modifier and Type | Method and Description |
---|---|
ModelOptions |
getOptions()
Returns the options used by this InputModeller.
|
protected SystemInputDef |
requestInputModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API requests defined by the given
OpenAPI definition. |
protected SystemInputDef |
responseInputModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API responses defined by the given
OpenAPI definition. |
doFor, getContext, getNotifier, notifyError, notifyError, notifyWarning, notifyWarning, resultFor, setNotifier
protected InputModeller(InputModeller.View view)
protected InputModeller(InputModeller.View view, ModelOptions options)
protected SystemInputDef requestInputModel(io.swagger.v3.oas.models.OpenAPI api)
system input definition
for the API requests defined by the given
OpenAPI definition. Returns null if the given definition defines no API requests to model.protected SystemInputDef responseInputModel(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.public ModelOptions getOptions()
Copyright © 2024 The Cornutum Project. All rights reserved.