Skip to content

Commit ac16396

Browse files
committed
Regenerate documentation
1 parent 9187b22 commit ac16396

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/docs/openapi3.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,6 +1519,8 @@ type Schema struct {
15191519
MaxProps *uint64 `json:"maxProperties,omitempty" yaml:"maxProperties,omitempty"`
15201520
AdditionalProperties AdditionalProperties `json:"additionalProperties,omitempty" yaml:"additionalProperties,omitempty"`
15211521
Discriminator *Discriminator `json:"discriminator,omitempty" yaml:"discriminator,omitempty"`
1522+
1523+
// Has unexported fields.
15221524
}
15231525
Schema is specified by OpenAPI/Swagger 3.0 standard. See
15241526
https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#schema-object
@@ -1580,6 +1582,13 @@ func (schema Schema) MarshalYAML() (any, error)
15801582

15811583
func (schema *Schema) NewRef() *SchemaRef
15821584

1585+
func (schema Schema) OrderedPropertyKeys() []string
1586+
OrderedPropertyKeys returns the keys of the properties in the order they
1587+
were defined. This is useful for generating code that needs to iterate over
1588+
the properties in a consistent order. If the keys could not be extracted
1589+
for some reason, then this method automatically sorts the keys to be
1590+
deterministic.
1591+
15831592
func (schema *Schema) PermitsNull() bool
15841593

15851594
func (schema *Schema) UnmarshalJSON(data []byte) error

0 commit comments

Comments
 (0)