Modifier and Type | Method and Description |
---|---|
void |
Oas30ModelClonerVisitor.visitMediaType(Oas30MediaType node) |
Modifier and Type | Method and Description |
---|---|
static ICommand |
CommandFactory.createAddExampleCommand(Oas30MediaType mediaType,
Object example,
String exampleName,
String exampleSummary,
String exampleDescription) |
static ICommand |
CommandFactory.createChangeMediaTypeTypeCommand(Oas30MediaType mediaType,
SimplifiedType newType) |
static ICommand |
CommandFactory.createDeleteAllExamplesCommand(Oas30MediaType mediaType) |
static ICommand |
CommandFactory.createDeleteMediaTypeCommand(Oas30MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
void |
CombinedVisitorAdapter.visitMediaType(Oas30MediaType node) |
void |
CombinedCompositeVisitor.visitMediaType(Oas30MediaType node) |
void |
CombinedAllNodeVisitor.visitMediaType(Oas30MediaType node) |
Modifier and Type | Method and Description |
---|---|
void |
OasInvalidEncodingForMPMTRule.visitMediaType(Oas30MediaType node) |
Modifier and Type | Method and Description |
---|---|
void |
OasMediaTypeExamplesMutualExclusivityRule.visitMediaType(Oas30MediaType node) |
Modifier and Type | Method and Description |
---|---|
void |
Oas30DataModelReader.readMediaType(Object json,
Oas30MediaType node)
Reads an OAS 3.0 Media Type from the given js data.
|
void |
Oas30DataModelWriter.visitMediaType(Oas30MediaType node) |
void |
Oas30DataModelReaderDispatcher.visitMediaType(Oas30MediaType node) |
Modifier and Type | Field and Description |
---|---|
Map<String,Oas30MediaType> |
Oas30RequestBody.content |
Map<String,Oas30MediaType> |
Oas30Parameter.content |
Map<String,Oas30MediaType> |
Oas30Header.content |
Map<String,Oas30MediaType> |
Oas30Response.content |
Modifier and Type | Method and Description |
---|---|
Oas30MediaType |
Oas30RequestBody.createMediaType(String name) |
Oas30MediaType |
Oas30Parameter.createMediaType(String name) |
Oas30MediaType |
Oas30Header.createMediaType(String name)
Creates a media type.
|
Oas30MediaType |
Oas30Response.createMediaType(String name) |
Oas30MediaType |
IOas30MediaTypeParent.createMediaType(String name)
Creates a media type.
|
Oas30MediaType |
Oas30RequestBody.getMediaType(String name) |
Oas30MediaType |
Oas30Parameter.getMediaType(String name) |
Oas30MediaType |
Oas30Header.getMediaType(String name)
Gets a single media type by name.
|
Oas30MediaType |
Oas30Response.getMediaType(String name) |
Oas30MediaType |
IOas30MediaTypeParent.getMediaType(String name)
Gets a single media type by name.
|
Oas30MediaType |
Oas30RequestBody.removeMediaType(String name) |
Oas30MediaType |
Oas30Parameter.removeMediaType(String name) |
Oas30MediaType |
Oas30Header.removeMediaType(String name)
Removes a single media type and returns it.
|
Oas30MediaType |
Oas30Response.removeMediaType(String name) |
Oas30MediaType |
IOas30MediaTypeParent.removeMediaType(String name)
Removes a single media type and returns it.
|
Modifier and Type | Method and Description |
---|---|
List<Oas30MediaType> |
Oas30RequestBody.getMediaTypes() |
List<Oas30MediaType> |
Oas30Parameter.getMediaTypes() |
List<Oas30MediaType> |
Oas30Header.getMediaTypes()
Gets a list of all media types.
|
List<Oas30MediaType> |
Oas30Response.getMediaTypes() |
List<Oas30MediaType> |
IOas30MediaTypeParent.getMediaTypes()
Gets a list of all media types.
|
Modifier and Type | Method and Description |
---|---|
void |
Oas30RequestBody.addMediaType(String name,
Oas30MediaType mediaType) |
void |
Oas30Parameter.addMediaType(String name,
Oas30MediaType mediaType) |
void |
Oas30Header.addMediaType(String name,
Oas30MediaType mediaType)
Adds a media type.
|
void |
Oas30Response.addMediaType(String name,
Oas30MediaType mediaType) |
void |
IOas30MediaTypeParent.addMediaType(String name,
Oas30MediaType mediaType)
Adds a media type.
|
Modifier and Type | Method and Description |
---|---|
void |
Oas30VisitorAdapter.visitMediaType(Oas30MediaType node) |
void |
Oas30Traverser.visitMediaType(Oas30MediaType node) |
void |
Oas30NodePathVisitor.visitMediaType(Oas30MediaType node) |
void |
Oas30AllNodeVisitor.visitMediaType(Oas30MediaType node) |
void |
IOas30Visitor.visitMediaType(Oas30MediaType node) |
Copyright © 2020 Red Hat. All rights reserved.