Class ReferenceSchema
java.lang.Object
com.github.muehmar.gradle.openapi.generator.model.schema.ReferenceSchema
- All Implemented Interfaces:
OpenApiSchema
-
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.media.Schema<?>mapToMemberType(ComponentName parentComponentName, Name memberName) Maps the current schema to a member-typeTypeof a pojo returned within aMemberSchemaMapResult.mapToPojo(ComponentName componentName) Maps the current schema to aPojoreturned within aMapContext.static Optional<ReferenceSchema>wrap(SchemaWrapper wrapper) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.muehmar.gradle.openapi.generator.model.schema.OpenApiSchema
getDescription, isNullable
-
Method Details
-
wrap
-
mapToPojo
Description copied from interface:OpenApiSchemaMaps the current schema to aPojoreturned within aMapContext.- Specified by:
mapToPojoin interfaceOpenApiSchema
-
mapToMemberType
Description copied from interface:OpenApiSchemaMaps the current schema to a member-typeTypeof a pojo returned within aMemberSchemaMapResult.- Specified by:
mapToMemberTypein interfaceOpenApiSchema
-
getSchemaWrapper
-
getDelegateSchema
public io.swagger.v3.oas.models.media.Schema<?> getDelegateSchema()- Specified by:
getDelegateSchemain interfaceOpenApiSchema
-
getReference
-