Here is a (hopefully) exhaustive list of the breaking changes between pre 1.0.0
versions and 1.0.0
:
introspection.typesDocumented
option renamed tointrospection.objectsDocumentedDefault
.introspection.typeDocumentedDefault
option renamed tointrospection.objectDocumentedDefault
introspection.hideFieldsWithUndocumentedReturnType
option was renamed tointrospection.hideFieldsOfUndocumentedType
.info.x-swaggerUrl
renamed tox-url
- Support for the old, single
header
option has been removed in favor of theheaders
object. - The "Dynamic Example Generators" has been completely re-worked. If used, your module is now expected to export a single function. That function will be provided all the information it should need to what it is, where it's being used, and what you'd like to return as an example value. Check out
examples/customizations/examples/index.js
for more information. - The
customizations/
folder has been removed and the black magic that used to exist there is gone. If you want to customize your CSS you will need to leverage the "theme" capability. - The
additionalJsFile
option is gone. If you want to customize your JS you will need to leverage the "theme" capability. - The
additionalCssFile
option is gone. If you want to customize your JS you will need to leverage the "theme" capability. - The
cssBuildMode
option is gone. If you want to output things in "basic" mode, you can specify thethemeDir: "basic"
option.