public class ApiSpecGeneratorUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<Class<?>> |
findAdditionalFieldType(Class<?> clazz)
Find whether the class contains dynamic fields that need to be documented.
|
static boolean |
shouldBeDocumented(MessageHeaders<? extends RequestBody,? extends ResponseBody,? extends MessageParameters> spec)
Checks whether the given endpoint should be documented.
|
public static boolean shouldBeDocumented(MessageHeaders<? extends RequestBody,? extends ResponseBody,? extends MessageParameters> spec)
spec
- endpoint to checkpublic static Optional<Class<?>> findAdditionalFieldType(Class<?> clazz)
clazz
- class to checkFlinkJsonSchema.AdditionalFields
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.