You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case I have two schema definitions with the same title, one schema is overwritten by another:
defmodule Wallet do
require OpenApiSpex
OpenApiSpex.schema(%{
title: "Wallet",
...
and
defmodule GeneralizedWallet do
require OpenApiSpex
OpenApiSpex.schema(%{
title: "Wallet",
...
in this case, I every time got GeneralizedWallet instead of Wallet in places where it's awaited in request_body. It seems like the problem in schema_resolver.resolve_schema_modules_from_schema/2 (
In case I have two schema definitions with the same title, one schema is overwritten by another:
and
in this case, I every time got GeneralizedWallet instead of Wallet in places where it's awaited in
request_body
. It seems like the problem inschema_resolver.resolve_schema_modules_from_schema/2
(open_api_spex/lib/open_api_spex/schema_resolver.ex
Lines 200 to 249 in e4deef5
The text was updated successfully, but these errors were encountered: