OASFactory.createObject(OpenAPI.class)
.setExternalDocs(OASFactory.createObject(ExternalDocumentation.class).url("http://myDoc"));
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static APIResponse | Returns: a new APIResponse instanceThis method creates a new |
| public static APIResponses | Returns: a new APIResponses instanceThis method creates a new |
| public static Callback | Returns: a new Callback instanceThis method creates a new |
| public static Components | Returns: a new Components instanceThis method creates a new |
| public static Contact | Returns: a new Contact instanceThis method creates a new |
| public static Content | Returns: a new Content instanceThis method creates a new |
| public static Discriminator | Returns: a new Discriminator instanceThis method creates a new |
| public static Encoding | Returns: a new Encoding instanceThis method creates a new |
| public static Example | Returns: a new Example instanceThis method creates a new |
| public static ExternalDocumentation | Returns: a new ExternalDocumentation instanceThis method creates a new |
| public static Header | Returns: a new Header instanceThis method creates a new |
| public static Info | Returns: a new Info instanceThis method creates a new |
| public static License | Returns: a new License instanceThis method creates a new |
| public static Link | Returns: a new Link instanceThis method creates a new |
| public static MediaType | Returns: a new MediaType instanceThis method creates a new |
| public static OAuthFlow | Returns: a new OAuthFlow instanceThis method creates a new |
| public static OAuthFlows | Returns: a new OAuthFlows instanceThis method creates a new |
| public static < describes the type parameter T extends Constructible> T | Returns: a new instance of the requested model classrepresents a model which extends the clazz)org.
interfaceThis method creates a new instance of a constructible element from the OpenAPI model tree. |
| public static OpenAPI | Returns: a new OpenAPI instanceThis method creates a new |
| public static Operation | Returns: a new Operation instanceThis method creates a new |
| public static Parameter | Returns: a new Parameter instanceThis method creates a new |
| public static PathItem | Returns: a new PathItem instanceThis method creates a new |
| public static Paths | Returns: a new Paths instanceThis method creates a new |
| public static RequestBody | Returns: a new RequestBody instanceThis method creates a new |
| public static Schema | Returns: a new Schema instanceThis method creates a new |
| public static SecurityRequirement | Returns: a new SecurityRequirement instanceThis method creates a new |
| public static SecurityScheme | Returns: a new SecurityScheme instanceThis method creates a new |
| public static Server | Returns: a new Server instanceThis method creates a new |
| public static ServerVariable | Returns: a new ServerVariable instanceThis method creates a new |
| public static Tag | Returns: a new Tag instanceThis method creates a new |
| public static XML | Returns: a new XML instanceThis method creates a new |
| OASFactory | back to summary |
|---|---|
| private OASFactory() | |
| createAPIResponse | back to summary |
|---|---|
| public static APIResponse createAPIResponse() This method creates a new
| |
| createAPIResponses | back to summary |
|---|---|
| public static APIResponses createAPIResponses() This method creates a new
| |
| createCallback | back to summary |
|---|---|
| public static Callback createCallback() This method creates a new
| |
| createComponents | back to summary |
|---|---|
| public static Components createComponents() This method creates a new
| |
| createContact | back to summary |
|---|---|
| public static Contact createContact() This method creates a new
| |
| createContent | back to summary |
|---|---|
| public static Content createContent() This method creates a new
| |
| createDiscriminator | back to summary |
|---|---|
| public static Discriminator createDiscriminator() This method creates a new
| |
| createEncoding | back to summary |
|---|---|
| public static Encoding createEncoding() This method creates a new
| |
| createExample | back to summary |
|---|---|
| public static Example createExample() This method creates a new
| |
| createExternalDocumentation | back to summary |
|---|---|
| public static ExternalDocumentation createExternalDocumentation() This method creates a new
| |
| createHeader | back to summary |
|---|---|
| public static Header createHeader() This method creates a new
| |
| createInfo | back to summary |
|---|---|
| public static Info createInfo() This method creates a new
| |
| createLicense | back to summary |
|---|---|
| public static License createLicense() This method creates a new
| |
| createLink | back to summary |
|---|---|
| public static Link createLink() This method creates a new
| |
| createMediaType | back to summary |
|---|---|
| public static MediaType createMediaType() This method creates a new
| |
| createOAuthFlow | back to summary |
|---|---|
| public static OAuthFlow createOAuthFlow() This method creates a new
| |
| createOAuthFlows | back to summary |
|---|---|
| public static OAuthFlows createOAuthFlows() This method creates a new
| |
| createObject | back to summary |
|---|---|
| public static <T extends Constructible> T createObject(Class<T> clazz) This method creates a new instance of a constructible element from the OpenAPI model tree.
| |
| createOpenAPI | back to summary |
|---|---|
| public static OpenAPI createOpenAPI() This method creates a new
| |
| createOperation | back to summary |
|---|---|
| public static Operation createOperation() This method creates a new
| |
| createParameter | back to summary |
|---|---|
| public static Parameter createParameter() This method creates a new
| |
| createPathItem | back to summary |
|---|---|
| public static PathItem createPathItem() This method creates a new
| |
| createPaths | back to summary |
|---|---|
| public static Paths createPaths() This method creates a new
| |
| createRequestBody | back to summary |
|---|---|
| public static RequestBody createRequestBody() This method creates a new
| |
| createSchema | back to summary |
|---|---|
| public static Schema createSchema() This method creates a new
| |
| createSecurityRequirement | back to summary |
|---|---|
| public static SecurityRequirement createSecurityRequirement() This method creates a new
| |
| createSecurityScheme | back to summary |
|---|---|
| public static SecurityScheme createSecurityScheme() This method creates a new
| |
| createServer | back to summary |
|---|---|
| public static Server createServer() This method creates a new
| |
| createServerVariable | back to summary |
|---|---|
| public static ServerVariable createServerVariable() This method creates a new
| |
| createTag | back to summary |
|---|---|
| public static Tag createTag() This method creates a new
| |
| createXML | back to summary |
|---|---|
| public static XML createXML() This method creates a new
| |