public abstract class InputModeller extends ConditionReporter<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 specification. |
protected SystemInputDef |
responseInputModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API responses defined by the given
OpenAPI specification. |
Dnf |
simplified(Dnf dnf)
Returns a new DNF that generates a simpler but equivalent input model.
|
doFor, getContext, getNotifier, notifyError, notifyWarning, resultFor, setNotifierprotected 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 specification. Returns null if the given spec 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 specification. Returns null if the given spec defines no API responses to model.public Dnf simplified(Dnf dnf)
public ModelOptions getOptions()
Copyright © 2020 The Cornutum Project. All rights reserved.