Skip to content

Commit

Permalink
Version 1.28
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Mar 3, 2023
1 parent eaf998e commit 17c87a9
Show file tree
Hide file tree
Showing 14 changed files with 363 additions and 19 deletions.
2 changes: 1 addition & 1 deletion http-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-http-parent</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<relativePath>..</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions http-client-gson-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-http-parent</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<relativePath>..</relativePath>
</parent>

<groupId>io.avaje</groupId>
<artifactId>avaje-http-client-gson</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>

<dependencies>

Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>io.avaje</groupId>
<artifactId>avaje-http-client</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<scope>provided</scope>
</dependency>

Expand Down
4 changes: 2 additions & 2 deletions http-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-http-parent</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<relativePath>..</relativePath>
</parent>

<groupId>io.avaje</groupId>
<artifactId>avaje-http-client</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>

<scm>
<developerConnection>scm:git:[email protected]:avaje/avaje-http-client.git</developerConnection>
Expand Down
2 changes: 1 addition & 1 deletion http-generator-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-http-parent</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<relativePath>..</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions http-generator-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-http-parent</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<relativePath>..</relativePath>
</parent>

Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>io.avaje</groupId>
<artifactId>avaje-http-api</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion http-generator-helidon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-http-parent</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion http-generator-javalin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-http-parent</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion http-generator-jex/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.avaje</groupId>
<artifactId>avaje-http-parent</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion http-generator-nima/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>avaje-http-parent</artifactId>
<groupId>io.avaje</groupId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>io.avaje</groupId>
<artifactId>avaje-http-parent</artifactId>
<version>1.28-SNAPSHOT</version>
<version>1.28</version>
<packaging>pom</packaging>

<scm>
Expand Down
2 changes: 1 addition & 1 deletion tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<jackson.version>2.14.1</jackson.version>
<jex.version>2.5</jex.version>
<avaje-inject.version>8.12-RC3</avaje-inject.version>
<avaje-http-version>1.28-SNAPSHOT</avaje-http-version>
<avaje-http-version>1.28</avaje-http-version>
</properties>

<modules>
Expand Down
214 changes: 211 additions & 3 deletions tests/test-javalin-jsonb/src/main/resources/public/openapi.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"openapi" : "3.0.1",
"info" : {
"title" : "Example service",
"title" : "Example service showing off the Path extension method of controller",
"description" : "Example Javalin controllers with Java and Maven",
"version" : ""
},
"tags" : [
{
"name" : "tag1",
"description" : "it's somethin"
"description" : "this is added to openapi tags"
},
{
"name" : "tag1",
"description" : "this is added to openapi tags"
"description" : "it's somethin"
}
],
"paths" : {
Expand Down Expand Up @@ -1139,6 +1139,184 @@
}
}
},
"/test/enumForm" : {
"get" : {
"tags" : [

],
"summary" : "",
"description" : "",
"requestBody" : {
"content" : {
"application/x-www-form-urlencoded" : {
"schema" : {
"type" : "object",
"properties" : {
"s" : {
"type" : "string"
},
"type" : {
"$ref" : "#/components/schemas/ServerType"
}
}
}
}
},
"required" : true
},
"responses" : {
"200" : {
"description" : "",
"content" : {
"application/json" : {
"schema" : {
"type" : "string"
}
}
}
}
}
}
},
"/test/enumFormParam" : {
"get" : {
"tags" : [

],
"summary" : "",
"description" : "",
"requestBody" : {
"content" : {
"application/x-www-form-urlencoded" : {
"schema" : {
"type" : "object",
"properties" : {
"s" : {
"type" : "string"
},
"type" : {
"$ref" : "#/components/schemas/ServerType"
}
}
}
}
},
"required" : true
},
"responses" : {
"200" : {
"description" : "",
"content" : {
"application/json" : {
"schema" : {
"type" : "string"
}
}
}
}
}
}
},
"/test/enumQuery" : {
"get" : {
"tags" : [

],
"summary" : "",
"description" : "",
"parameters" : [
{
"name" : "type",
"in" : "query",
"schema" : {
"$ref" : "#/components/schemas/ServerType"
}
}
],
"responses" : {
"200" : {
"description" : "",
"content" : {
"application/json" : {
"schema" : {
"type" : "string"
}
}
}
}
}
}
},
"/test/enumQuery2" : {
"get" : {
"tags" : [

],
"summary" : "",
"description" : "",
"parameters" : [
{
"name" : "type",
"in" : "query",
"schema" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/ServerType"
}
}
}
],
"responses" : {
"200" : {
"description" : "",
"content" : {
"application/json" : {
"schema" : {
"type" : "string"
}
}
}
}
}
}
},
"/test/enumQueryImplied" : {
"post" : {
"tags" : [

],
"summary" : "",
"description" : "",
"parameters" : [
{
"name" : "s",
"in" : "query",
"schema" : {
"type" : "string"
}
},
{
"name" : "type",
"in" : "query",
"schema" : {
"$ref" : "#/components/schemas/ServerType"
}
}
],
"responses" : {
"201" : {
"description" : "",
"content" : {
"application/json" : {
"schema" : {
"type" : "string"
}
}
}
}
}
}
},
"/test/form" : {
"post" : {
"tags" : [
Expand Down Expand Up @@ -1309,6 +1487,27 @@
}
}
},
"/test/mapTest" : {
"get" : {
"tags" : [

],
"summary" : "",
"description" : "",
"responses" : {
"200" : {
"description" : "",
"content" : {
"application/json" : {
"schema" : {
"type" : "string"
}
}
}
}
}
}
},
"/test/person" : {
"post" : {
"tags" : [
Expand Down Expand Up @@ -1619,6 +1818,12 @@
"maxLength" : 100,
"type" : "string",
"format" : "email"
},
"addresses" : {
"type" : "array",
"items" : {
"type" : "string"
}
}
}
},
Expand Down Expand Up @@ -1698,6 +1903,9 @@
}
}
},
"ServerType" : {
"type" : "object"
},
"byte" : {
"type" : "object"
}
Expand Down
Loading

0 comments on commit 17c87a9

Please sign in to comment.