| 1178 | describe("error option", () => { |
| 1179 | it("should deduplicate the descriptions", () => { |
| 1180 | class Group extends HttpApiGroup.make("users") |
| 1181 | .add(HttpApiEndpoint.post("a", "/a", { |
| 1182 | error: HttpApiError.BadRequestNoContent |
| 1183 | })) |
| 1184 | {} |
| 1185 | |
| 1186 | class Api extends HttpApi.make("api").add(Group) {} |
| 1187 | const spec = OpenApi.fromApi(Api) |