mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Merge pull request #269 from acelaya/feature/missing-resp-examples
Feature/missing resp examples
This commit is contained in:
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).
|
||||||
|
|
||||||
## [Unreleased]
|
## 1.14.0 - 2018-11-16
|
||||||
|
|
||||||
#### Added
|
#### Added
|
||||||
|
|
||||||
@@ -29,6 +29,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
* [#249](https://github.com/shlinkio/shlink/issues/249) Added [functional-php](https://github.com/lstrojny/functional-php) to ease collections handling.
|
* [#249](https://github.com/shlinkio/shlink/issues/249) Added [functional-php](https://github.com/lstrojny/functional-php) to ease collections handling.
|
||||||
* [#253](https://github.com/shlinkio/shlink/issues/253) Increased `user_agent` column length in `visits` table to 512.
|
* [#253](https://github.com/shlinkio/shlink/issues/253) Increased `user_agent` column length in `visits` table to 512.
|
||||||
* [#256](https://github.com/shlinkio/shlink/issues/256) Updated to Infection v0.11.
|
* [#256](https://github.com/shlinkio/shlink/issues/256) Updated to Infection v0.11.
|
||||||
|
* [#202](https://github.com/shlinkio/shlink/issues/202) Added missing response examples to OpenAPI docs.
|
||||||
|
|
||||||
#### Deprecated
|
#### Deprecated
|
||||||
|
|
||||||
@@ -40,7 +41,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
|
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
|
||||||
* *Nothing*
|
* [#223](https://github.com/shlinkio/shlink/issues/223) Fixed PHPStan errors produced with symfony/console 4.1.5
|
||||||
|
|
||||||
|
|
||||||
## 1.13.2 - 2018-10-18
|
## 1.13.2 - 2018-10-18
|
||||||
|
|||||||
@@ -209,22 +209,21 @@
|
|||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"$ref": "../definitions/ShortUrl.json"
|
||||||
"properties": {
|
}
|
||||||
"longUrl": {
|
}
|
||||||
"type": "string",
|
|
||||||
"description": "The original long URL that has been parsed"
|
|
||||||
},
|
},
|
||||||
"shortUrl": {
|
"examples": {
|
||||||
"type": "string",
|
"application/json": {
|
||||||
"description": "The generated short URL"
|
"shortCode": "12C18",
|
||||||
},
|
"shortUrl": "https://doma.in/12C18",
|
||||||
"shortCode": {
|
"longUrl": "https://store.steampowered.com",
|
||||||
"type": "string",
|
"dateCreated": "2016-08-21T20:34:16+02:00",
|
||||||
"description": "the short code that is being used in the short URL"
|
"visitsCount": 0,
|
||||||
}
|
"tags": [
|
||||||
}
|
"games",
|
||||||
}
|
"tech"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -45,21 +45,7 @@
|
|||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"$ref": "../definitions/ShortUrl.json"
|
||||||
"properties": {
|
|
||||||
"longUrl": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The original long URL that has been shortened"
|
|
||||||
},
|
|
||||||
"shortUrl": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The generated short URL"
|
|
||||||
},
|
|
||||||
"shortCode": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "the short code that is being used in the short URL"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"text/plain": {
|
"text/plain": {
|
||||||
@@ -71,10 +57,16 @@
|
|||||||
"examples": {
|
"examples": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"longUrl": "https://github.com/shlinkio/shlink",
|
"longUrl": "https://github.com/shlinkio/shlink",
|
||||||
"shortUrl": "https://dom.ain/abc123",
|
"shortUrl": "https://doma.in/abc123",
|
||||||
"shortCode": "abc123"
|
"shortCode": "abc123",
|
||||||
|
"dateCreated": "2016-08-21T20:34:16+02:00",
|
||||||
|
"visitsCount": 0,
|
||||||
|
"tags": [
|
||||||
|
"games",
|
||||||
|
"tech"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"text/plain": "https://dom.ain/abc123"
|
"text/plain": "https://doma.in/abc123"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"400": {
|
"400": {
|
||||||
|
|||||||
Reference in New Issue
Block a user