-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
10.0.0 Release Notes #587
Comments
hapi-swagger npm i hapi-swagger@next -S |
hapi-swagger npm i hapi-swagger@next -S fixed: templates not published |
hapi-swagger npm i hapi-swagger@next -S fixed: |
hapi-swagger npm i hapi-swagger@next fixed: |
hapi-swagger npm i hapi-swagger@next fixed: missing |
hapi-swagger npm i hapi-swagger@next feature: added |
Closed with release of v10.0.0 |
Summary
Breaking Changes
3.x
. Please see their release notes for breaking changes.swagger-ui@3.x
that does not support a json editor. @see "Try it out" doesn't prompt with form when parameters are a schema swagger-api/swagger-ui#2771 or more details.lang
ui option removed sinceswagger-ui@3.x
does not support languages. @see [improvement] Translation: automatic and manual language selection swagger-api/swagger-ui#2488 for more details.sortTags
option valid value is nowalpha
.sortEndpoints
options valid values are nowalpha
,method
,ordered
...
Known Issues
Examples are not displaying on UI for Joi. @see Examples are not showing swagger-api/swagger-ui#2651 for more details.any.example()
is broken in `swagger-ui@3.x. The feature seems be close to getting resolvedFeatures
any.meta({swaggerLabel: '<value>'})
can now be used to label alternative schemas likeany.alternatives()
orany.when()
. joi >14.x forwards labels alternatives to underlying schemas in order to fix Need to override twice the key name for error messages hapijs/joi#1364 . This fix broke functionality in hapi-swagger that allowed labels to be appropriately applied to refs for alternatives.any.labels()
still works for alternatives in joi <14.x.templates
option added which allows the directory path to be changed that is used byhapi-swagger
and@hapi/vision
to resolve and load the templates to renderswagger-ui
interface. The directory must containindex.html
anddebug.html
templates. Default istemplates
directory in this package....
Updated dependencies
@hapi
v3.x
v13.x
tov15.x
v4.x
3.x
...
The text was updated successfully, but these errors were encountered: