Skip to content

Commit

Permalink
prepare release 2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma authored Nov 7, 2023
1 parent 5c214fa commit 2072b7e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file added CI/__pycache__/ghApiClient.cpython-310.pyc
Binary file not shown.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ There is an online version hosted on http://validator.swagger.io.
You can also pull a docker image of the validator directly from [DockerHub](https://hub.docker.com/r/swaggerapi/swagger-validator-v2/), e.g.:

```
docker pull swaggerapi/swagger-validator-v2:v2.1.3
docker run -it -p 8080:8080 --name swagger-validator-v2 swaggerapi/swagger-validator-v2:v2.1.3
docker pull swaggerapi/swagger-validator-v2:v2.1.4
docker run -it -p 8080:8080 --name swagger-validator-v2 swaggerapi/swagger-validator-v2:v2.1.4
```

Since version `2.0.2` local and non http/https urls are rejected by default, along with redirects; this is controllable with docker env variables / java system properties:

```
docker run -it -p 8080:8080 -e "REJECT_LOCAL=false" -e "REJECT_REDIRECT=false" --name swagger-validator-v2 swaggerapi/swagger-validator-v2:v2.1.3
docker run -it -p 8080:8080 -e "REJECT_LOCAL=false" -e "REJECT_REDIRECT=false" --name swagger-validator-v2 swaggerapi/swagger-validator-v2:v2.1.4
```

In non docker environments, system properties `rejectLocal` and `rejectRedirect` can be used.
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 @@
<artifactId>swagger-validator</artifactId>
<packaging>war</packaging>
<name>swagger-validator</name>
<version>2.1.4-SNAPSHOT</version>
<version>2.1.4</version>
<url>https://github.com/swagger-api/validator-badge</url>
<prerequisites>
<maven>2.2.0</maven>
Expand Down
2 changes: 1 addition & 1 deletion src/main/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ openapi: 3.0.0
info:
title: Swagger Validator Badge
description: Parses and validates a Swagger/OpenAPI 2.0 or an OpenAPI 3.x definition
version: 2.1.4-SNAPSHOT
version: 2.1.4
servers:
- url: "/"
paths:
Expand Down

0 comments on commit 2072b7e

Please sign in to comment.