RapiDoc
RapiDoc copied to clipboard
Improve examples generation
- Generate "additionalProperties" examples. Support the vendor extension "x-additionalPropertiesName"
- Use the default value if provided
- Generate null instead of a (potentially) invalid string if the type is not found (same behavior here as redoc and others)
Honestly, I totally agree with you, but I tried to keep the compatibility with a project which looks like to share the same codebase (openapi-explorer) and uses this lib.
I`ll will change the PR however to use the lib you propose,
share the same codebase (openapi-explorer) and uses this lib
Wow, I didn't know there was a fork! I just made a PR for them to switch the lib too: https://github.com/Rhosys/openapi-explorer/pull/180 and mention rapidoc attribution: https://github.com/Rhosys/openapi-explorer/issues/181
@j3rem1e Thanks for the PR. I am sorry for the delay in accepting the PR. Our team has started to resume work on this library