@Configuration public class JacksonConfig extends Object
| Constructor and Description |
|---|
JacksonConfig() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
com.fasterxml.jackson.databind.ObjectMapper |
swaggerObjectMapper()
This is the ObjectMapper used by Swagger to generate the /openapi.json endpoint.
|
@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
@Bean public com.fasterxml.jackson.databind.ObjectMapper swaggerObjectMapper()
CustomModelConverter implementations.Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.