Skip to content

Commit

Permalink
Swagger docs: new line after fed call tag (#3691)
Browse files Browse the repository at this point in the history
  • Loading branch information
battermann authored Nov 3, 2023
1 parent 7e587df commit 82a962d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changelog.d/5-internal/WPB-4853
Original file line number Diff line number Diff line change
@@ -1 +1 @@
The fedcalls tool no longer walks the Swagger/OpenAPI structure when generating call graphs. These graphs are now generated directly from the Servant API types.
The fedcalls tool no longer walks the Swagger/OpenAPI structure when generating call graphs. These graphs are now generated directly from the Servant API types. (#3674, #3691)
2 changes: 1 addition & 1 deletion libs/wire-api/src/Wire/API/MakesFederatedCall.hs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ instance (HasOpenApi api, KnownSymbol name, KnownSymbol (ShowComponent comp)) =>
toOpenApi (Proxy @api)
-- Append federated call line to the description of routes
-- that perform calls to federation members.
& S.allOperations . S.description %~ pure . maybe call (\d -> d <> "\n" <> call)
& S.allOperations . S.description %~ pure . maybe call (\d -> d <> "<br>" <> call)
where
call :: Text
call =
Expand Down

0 comments on commit 82a962d

Please sign in to comment.