From 82a22bcbe66f93f44eba6017f5fd58b8e0254597 Mon Sep 17 00:00:00 2001 From: Joshua Bauer Date: Thu, 30 Jan 2020 15:30:24 -0800 Subject: [PATCH] Improve OpenAPI preprocessing. --- CHANGELOG.md | 10 ++++++++++ .../proteus/openapi/services/OpenAPIService.java | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 644c8a8..7dd66a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ Proteus Changelog. ## Unreleased ### No issue +**Allow byte arrays in response bodies.** + + +[fb8229f7e656a44](https://github.com/noboomu/proteus/commit/fb8229f7e656a44) Joshua Bauer *2020-01-16 21:08:44* + +**Improve error handlers.** + + +[e1a7de453d79acf](https://github.com/noboomu/proteus/commit/e1a7de453d79acf) Joshua Bauer *2020-01-06 17:12:33* + **Set default content type for exceptions.** diff --git a/proteus-openapi/src/main/java/io/sinistral/proteus/openapi/services/OpenAPIService.java b/proteus-openapi/src/main/java/io/sinistral/proteus/openapi/services/OpenAPIService.java index f7c3763..db4be96 100644 --- a/proteus-openapi/src/main/java/io/sinistral/proteus/openapi/services/OpenAPIService.java +++ b/proteus-openapi/src/main/java/io/sinistral/proteus/openapi/services/OpenAPIService.java @@ -307,7 +307,7 @@ protected void startUp() throws Exception log.error("Error generating OpenAPI spec", e); } - }); + },this.executor()); router.addAll(this.get()); }