From 544668fabf96683925f9130d80d9b191147c3761 Mon Sep 17 00:00:00 2001 From: Joshua Bauer Date: Mon, 30 Mar 2020 16:14:29 -0700 Subject: [PATCH] Added multipart/form-data media type. --- CHANGELOG.md | 5 +++++ pom.xml | 2 +- proteus-core/pom.xml | 2 +- .../src/main/java/io/sinistral/proteus/server/MediaType.java | 1 + proteus-openapi/pom.xml | 2 +- proteus-swagger/pom.xml | 2 +- 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90ba3ad..a9c8464 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ Proteus Changelog. ## Unreleased ### No issue +**Set version to 4.5 for release** + + +[009626f1e52b411](https://github.com/noboomu/proteus/commit/009626f1e52b411) Joshua Bauer *2020-03-13 23:13:09* + **Prep for release.** diff --git a/pom.xml b/pom.xml index a2d26a0..2d0402d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ io.sinistral proteus-project pom - 0.4.5 + 0.4.6-SNAPSHOT Proteus Project Proteus is an extremely light, fast, and flexible Java REST API framework built atop Undertow. diff --git a/proteus-core/pom.xml b/proteus-core/pom.xml index 31ad774..f2babe4 100644 --- a/proteus-core/pom.xml +++ b/proteus-core/pom.xml @@ -3,7 +3,7 @@ proteus-project io.sinistral - 0.4.5 + 0.4.6-SNAPSHOT 4.0.0 diff --git a/proteus-core/src/main/java/io/sinistral/proteus/server/MediaType.java b/proteus-core/src/main/java/io/sinistral/proteus/server/MediaType.java index 3de9054..d2f9398 100644 --- a/proteus-core/src/main/java/io/sinistral/proteus/server/MediaType.java +++ b/proteus-core/src/main/java/io/sinistral/proteus/server/MediaType.java @@ -40,6 +40,7 @@ public class MediaType /*******************************************************/ public static final MediaType TEXT_YAML = create("text/yaml", "yaml"); + public static final MediaType MULTIPART_FORM_DATA = create("multipart/form-data"); public static final MediaType APPLICATION_ANDREW_INSET = create("application/andrew-inset", "ez"); public static final MediaType APPLICATION_ANNODEX = create("application/annodex", "anx"); diff --git a/proteus-openapi/pom.xml b/proteus-openapi/pom.xml index 9db6e3e..22caf25 100644 --- a/proteus-openapi/pom.xml +++ b/proteus-openapi/pom.xml @@ -3,7 +3,7 @@ proteus-project io.sinistral - 0.4.5 + 0.4.6-SNAPSHOT 4.0.0 diff --git a/proteus-swagger/pom.xml b/proteus-swagger/pom.xml index 4bfcec8..97f681b 100644 --- a/proteus-swagger/pom.xml +++ b/proteus-swagger/pom.xml @@ -3,7 +3,7 @@ proteus-project io.sinistral - 0.4.5 + 0.4.6-SNAPSHOT 4.0.0