Modifier and Type | Field and Description |
---|---|
static String |
SWAGGERUI_resolveRefsMaxDepth
Configuration property: Resolve
|
Constructor and Description |
---|
SwaggerUI() |
Modifier and Type | Method and Description |
---|---|
MediaType[] |
forMediaTypes()
This UI applies to HTML requests only.
|
Div |
swap(BeanSession beanSession,
Swagger swagger)
If this transform is to be used to serialize non-serializable POJOs, it must implement this method.
|
forMediaTypes, getNormalClass, getSwapClass, getSwapClassMeta, isNormalObject, isSwappedObject, match, swap, toString, unswap, unswap, withTemplate, withTemplate
public static final String SWAGGERUI_resolveRefsMaxDepth
SWAGGERUI_resolveRefsMaxDepth
Defines the maximum recursive depth to resolve
The default
A value of
public SwaggerUI()
public MediaType[] forMediaTypes()
forMediaTypes
in class PojoSwap<Swagger,Div>
public Div swap(BeanSession beanSession, Swagger swagger) throws Exception
PojoSwap
The object must be converted into one of the following serializable types:
String
Number
Boolean
Collection
containing anything on this list.
Map
containing anything on this list.
swap
in class PojoSwap<Swagger,Div>
beanSession
- The bean session to use to get the class meta.
This is always going to be the same bean context that created this swap.swagger
- The object to be transformed.Exception
- If a problem occurred trying to convert the output.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.