diff --git a/modules/openapi-generator/src/main/resources/erlang-server/app.src.mustache b/modules/openapi-generator/src/main/resources/erlang-server/app.src.mustache index a7ab1dbc149..e9a643f0552 100644 --- a/modules/openapi-generator/src/main/resources/erlang-server/app.src.mustache +++ b/modules/openapi-generator/src/main/resources/erlang-server/app.src.mustache @@ -4,7 +4,7 @@ {{#appDescription}}"{{.}}"{{/appDescription}}{{^appDescription}}"OpenAPI rest server library"{{/appDescription}}}, {vsn, "{{apiVersion}}"}, {registered, []}, - {applications, [kernel, stdlib, public_key, ssl, inets, ranch, cowboy]}, + {applications, [kernel, stdlib, public_key, ssl, inets, ranch, cowboy, jesse]}, {env, []}, {modules, []}, {licenses, [{{#licenseInfo}}"{{.}}"{{/licenseInfo}}]}, diff --git a/modules/openapi-generator/src/main/resources/erlang-server/rebar.config.mustache b/modules/openapi-generator/src/main/resources/erlang-server/rebar.config.mustache index 50cd482ca39..3e8842e80b4 100644 --- a/modules/openapi-generator/src/main/resources/erlang-server/rebar.config.mustache +++ b/modules/openapi-generator/src/main/resources/erlang-server/rebar.config.mustache @@ -8,7 +8,7 @@ {dialyzer, [{plt_extra_apps, [cowboy, cowlib, ranch, jesse]}, - {warnings, [missing_return, unknown]} + {warnings, [no_match, no_unused, missing_return, unknown]} ]}. {xref_checks, diff --git a/samples/server/echo_api/erlang-server/rebar.config b/samples/server/echo_api/erlang-server/rebar.config index 50cd482ca39..3e8842e80b4 100644 --- a/samples/server/echo_api/erlang-server/rebar.config +++ b/samples/server/echo_api/erlang-server/rebar.config @@ -8,7 +8,7 @@ {dialyzer, [{plt_extra_apps, [cowboy, cowlib, ranch, jesse]}, - {warnings, [missing_return, unknown]} + {warnings, [no_match, no_unused, missing_return, unknown]} ]}. {xref_checks, diff --git a/samples/server/echo_api/erlang-server/src/openapi.app.src b/samples/server/echo_api/erlang-server/src/openapi.app.src index 95507ce40e9..7ceeda9702f 100644 --- a/samples/server/echo_api/erlang-server/src/openapi.app.src +++ b/samples/server/echo_api/erlang-server/src/openapi.app.src @@ -4,7 +4,7 @@ "Echo Server API"}, {vsn, "1.0.0"}, {registered, []}, - {applications, [kernel, stdlib, public_key, ssl, inets, ranch, cowboy]}, + {applications, [kernel, stdlib, public_key, ssl, inets, ranch, cowboy, jesse]}, {env, []}, {modules, []}, {licenses, ["Apache 2.0"]}, diff --git a/samples/server/petstore/erlang-server/rebar.config b/samples/server/petstore/erlang-server/rebar.config index 50cd482ca39..3e8842e80b4 100644 --- a/samples/server/petstore/erlang-server/rebar.config +++ b/samples/server/petstore/erlang-server/rebar.config @@ -8,7 +8,7 @@ {dialyzer, [{plt_extra_apps, [cowboy, cowlib, ranch, jesse]}, - {warnings, [missing_return, unknown]} + {warnings, [no_match, no_unused, missing_return, unknown]} ]}. {xref_checks, diff --git a/samples/server/petstore/erlang-server/src/openapi.app.src b/samples/server/petstore/erlang-server/src/openapi.app.src index 0172627719b..40189567422 100644 --- a/samples/server/petstore/erlang-server/src/openapi.app.src +++ b/samples/server/petstore/erlang-server/src/openapi.app.src @@ -4,7 +4,7 @@ "This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters."}, {vsn, "1.0.0"}, {registered, []}, - {applications, [kernel, stdlib, public_key, ssl, inets, ranch, cowboy]}, + {applications, [kernel, stdlib, public_key, ssl, inets, ranch, cowboy, jesse]}, {env, []}, {modules, []}, {licenses, ["Apache-2.0"]},