Closed charithe closed 2 months ago
x-fill-example
and x-example-show-value
are defined at request level
If you like to include/exclude values from the schema then OpenAPI already provides an way to do that
Ise One-Of
and Any-Of
combinations to define your schema and RapiDoc will generate various possible combinations of the example values checkout this test-case
Consider a parameter definition like the following:
The
Foo
object is defined as:It seems that the
x-fill-example
andx-example-show-value
extension values are not processed by Rapidoc when generating the example. It'd be nice to be able to exclude certain properties from nested objects from appearing in the generated example.