Class Header

    • Constructor Detail

      • Header

        public Header​(Context context,
                      io.openapiprocessor.jsonschema.schema.Bucket bucket)
    • Method Detail

      • isRef

        public boolean isRef()
        check if this is a $ref object.
        Specified by:
        isRef in interface Reference
        Returns:
        true if $ref else false.
      • getSummary

        public @Nullable java.lang.String getSummary()
        Specified by:
        getSummary in interface Reference
      • getDescription

        public @Nullable java.lang.String getDescription()
        Specified by:
        getDescription in interface Reference
      • getRequired

        public java.lang.Boolean getRequired()
      • getDeprecated

        public java.lang.Boolean getDeprecated()
      • getAllowEmptyValue

        public java.lang.Boolean getAllowEmptyValue()
      • getStyle

        public java.lang.String getStyle()
      • getExplode

        public java.lang.Boolean getExplode()
      • getAllowReserved

        public java.lang.Boolean getAllowReserved()
      • getSchema

        public @Nullable Schema getSchema()
      • getExample

        public @Nullable java.lang.Object getExample()
      • getExamples

        public java.util.Map<java.lang.String,​Example> getExamples()
      • getContent

        public java.util.Map<java.lang.String,​MediaType> getContent()
      • getExtensions

        public java.util.Map<java.lang.String,​java.lang.Object> getExtensions()
        Description copied from interface: Extensions
        map of all extension properties.
        Specified by:
        getExtensions in interface Extensions
        Overrides:
        getExtensions in class Properties
        Returns:
        map of extension properties