C - Ballerina wrapper type that is being implementedD - Swagger parser model typepublic interface BallerinaOpenAPIObject<C,D>
| Modifier and Type | Method and Description |
|---|---|
C |
buildContext(D definition)
Build the Ballerina context model
C for Open APIDetailedDTO definition/component in D. |
C |
buildContext(D definition,
ExtendedAPI api)
Build the Ballerina context model
C for Open APIDetailedDTO definition/component in D. |
C |
getDefaultValue()
Retrieve the default value for this type.
|
C buildContext(D definition) throws BallerinaServiceGenException
C for Open APIDetailedDTO definition/component in D.definition - Open Api definition or componentC of Open Api definition/component DBallerinaServiceGenException - on error when parsing the Open Api definitionC buildContext(D definition, ExtendedAPI api) throws BallerinaServiceGenException
C for Open APIDetailedDTO definition/component in D.
OpenAPI definition openApi can be used to access the parent context
helpful for building the current context
definition - Swagger Api definition or componentapi - openApi object modelC of Open Api definition/component DBallerinaServiceGenException - on error when parsing the Open Api definitionC getDefaultValue()
Copyright © 2019 WSO2. All rights reserved.