16
16
import io .swagger .v3 .core .filter .SpecFilter ;
17
17
import io .swagger .v3 .core .jackson .ModelResolver ;
18
18
import io .swagger .v3 .core .jackson .PathsSerializer ;
19
+ import io .swagger .v3 .core .jackson .mixin .Schema31Mixin ;
19
20
import io .swagger .v3 .core .util .Json ;
20
21
import io .swagger .v3 .core .util .Json31 ;
21
22
import io .swagger .v3 .core .util .Yaml ;
@@ -739,7 +740,62 @@ static abstract class SortedSchemaMixin {
739
740
@ JsonIgnore
740
741
public abstract Object getJsonSchemaImpl ();
741
742
743
+ @ JsonIgnore
744
+ public abstract List <Schema > getPrefixItems ();
745
+
746
+ @ JsonIgnore
747
+ public abstract String getContentEncoding ();
748
+
749
+ @ JsonIgnore
750
+ public abstract String getContentMediaType ();
751
+
752
+ @ JsonIgnore
753
+ public abstract Schema getContentSchema ();
754
+
755
+ @ JsonIgnore
756
+ public abstract Schema getPropertyNames ();
757
+
758
+ @ JsonIgnore
759
+ public abstract Object getUnevaluatedProperties ();
760
+
761
+ @ JsonIgnore
762
+ public abstract Integer getMaxContains ();
763
+
764
+ @ JsonIgnore
765
+ public abstract Integer getMinContains ();
742
766
767
+ @ JsonIgnore
768
+ public abstract Schema getAdditionalItems ();
769
+
770
+ @ JsonIgnore
771
+ public abstract Schema getUnevaluatedItems ();
772
+
773
+ @ JsonIgnore
774
+ public abstract Schema getIf ();
775
+
776
+ @ JsonIgnore
777
+ public abstract Schema getElse ();
778
+
779
+ @ JsonIgnore
780
+ public abstract Schema getThen ();
781
+
782
+ @ JsonIgnore
783
+ public abstract Map <String , Schema > getDependentSchemas ();
784
+
785
+ @ JsonIgnore
786
+ public abstract Map <String , List <String >> getDependentRequired ();
787
+
788
+ @ JsonIgnore
789
+ public abstract String get$comment ();
790
+
791
+ @ JsonIgnore
792
+ public abstract List <Object > getExamples ();
793
+
794
+ @ JsonIgnore
795
+ public abstract Object getConst ();
796
+
797
+ @ JsonIgnore
798
+ public abstract Boolean getBooleanSchemaValue ();
743
799
}
744
800
745
801
@ JsonPropertyOrder (value = {"openapi" , "info" , "externalDocs" , "servers" , "security" , "tags" , "paths" , "components" , "webhooks" }, alphabetic = true )
@@ -756,7 +812,7 @@ static abstract class SortedOpenAPIMixin31 {
756
812
public abstract Paths getPaths ();
757
813
}
758
814
759
- @ JsonPropertyOrder (value = {"type" , "format" }, alphabetic = true )
815
+ @ JsonPropertyOrder (value = {"type" , "format" , "if" , "then" , "else" }, alphabetic = true )
760
816
static abstract class SortedSchemaMixin31 {
761
817
762
818
@ JsonAnyGetter
@@ -785,6 +841,7 @@ static abstract class SortedSchemaMixin31 {
785
841
public abstract String getType ();
786
842
787
843
@ JsonProperty ("type" )
844
+ @ JsonSerialize (using = Schema31Mixin .TypeSerializer .class )
788
845
public abstract Set <String > getTypes ();
789
846
790
847
@ JsonAnySetter
@@ -799,6 +856,9 @@ static abstract class SortedSchemaMixin31 {
799
856
@ JsonIgnore
800
857
public abstract Object getJsonSchemaImpl ();
801
858
859
+ @ JsonIgnore
860
+ public abstract Boolean getBooleanSchemaValue ();
861
+
802
862
}
803
863
804
864
}
0 commit comments