Class RequestBody

    • Constructor Detail

      • RequestBody

        public RequestBody​(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
      • getContent

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

        public java.lang.Boolean getRequired()
      • 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