Constructor and Description |
---|
SwaggerSerializers() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(OpenAPI data,
Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
static void |
setPrettyPrint(boolean shouldPrettyPrint) |
void |
writeTo(OpenAPI data,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream out) |
public static void setPrettyPrint(boolean shouldPrettyPrint)
public boolean isWriteable(Class type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<OpenAPI>
public long getSize(OpenAPI data, Class type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<OpenAPI>
public void writeTo(OpenAPI data, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> headers, OutputStream out) throws IOException
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<OpenAPI>
IOException
Copyright © 2021. All rights reserved.