Skip to content

Commit

Permalink
Merge branch 'master' of github.com:icyleaf/swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Feb 28, 2020
2 parents 29bd062 + d0e001e commit b2bd01b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

> List all changes before release a new version.
## [0.2.0] (2020-02-28)

### Added

- (**breaking-change**) Make operation's `responses` as **REQUIRED**, to match the specification. [#7](https://github.com/icyleaf/swagger/pull/7)
- Update OpenAPI version to 3.0.3. [#11](https://github.com/icyleaf/swagger/pull/11)

### Changed

- Change location to `Swagger::Objects::Parameter::Location` enum. [#5](https://github.com/icyleaf/swagger/pull/5)
- Use JSDelivr CDN source instead of local swagger-ui assets. [#9](https://github.com/icyleaf/swagger/pull/9)
- Move OpenAPI version to `Swagger::Document`. [#10](https://github.com/icyleaf/swagger/pull/10)

## [0.1.1] (2019-12-27)

### Fixed
Expand All @@ -19,5 +32,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- First beta version.

[Unreleased]: https://github.com/icyleaf/swagger/compare/v0.1.1...HEAD
[Unreleased]: https://github.com/icyleaf/swagger/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/icyleaf/swagger/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/icyleaf/swagger/compare/v0.1.0...v0.1.1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Document](https://img.shields.io/badge/document-api-brightgreen.svg)](https://icyleaf.github.io/swagger/)
[![Build Status](https://img.shields.io/circleci/project/github/icyleaf/swagger/master.svg?style=flat)](https://circleci.com/gh/icyleaf/swagger)

Swagger is low-level library which generate output compatible with [Swagger / OpenAPI Spec 3.0.1](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md),
Swagger is a low-level library which generates a document compatible with [Swagger / OpenAPI Spec 3.0.3](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md),
and wrapped many friendly APIs let developer understand and use it easier.

## Installation
Expand Down
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: swagger
version: 0.1.1
version: 0.2.0

authors:
- icyleaf <[email protected]>

crystal: 0.32.0
crystal: 0.33.0

license: MIT

0 comments on commit b2bd01b

Please sign in to comment.