Class UnsupportedTraits

  • All Implemented Interfaces:
    OpenApiMapper

    public final class UnsupportedTraits
    extends java.lang.Object
    implements OpenApiMapper
    Logs each instance of traits and features that are known to not work in OpenAPI.
    • Constructor Detail

      • UnsupportedTraits

        public UnsupportedTraits()
    • Method Detail

      • getOrder

        public byte getOrder()
        Description copied from interface: OpenApiMapper
        Gets the sort order of the plugin from -128 to 127.

        Plugins are applied according to this sort order. Lower values are executed before higher values (for example, -128 comes before 0, comes before 127). Plugins default to 0, which is the middle point between the minimum and maximum order values.

        Specified by:
        getOrder in interface OpenApiMapper
        Returns:
        Returns the sort order, defaulting to 0.
      • before

        public void before​(Context<? extends Trait> context,
                           OpenApi.Builder builder)
        Description copied from interface: OpenApiMapper
        Updates an OpenApi.Builder before converting the model.
        Specified by:
        before in interface OpenApiMapper
        Parameters:
        context - Conversion context.
        builder - OpenAPI builder to modify.