From e4e96409126239be5d1c2b9bc8c09d2cd105bdd3 Mon Sep 17 00:00:00 2001 From: Luma Date: Mon, 7 Mar 2022 16:21:35 +0900 Subject: [PATCH 1/2] chore: updaet readme and changelog --- CHANGELOG.md | 9 +++++++++ README.md | 3 +++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f6b5feb..ac02bd07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [0.18.0](https://github.com/aspida/openapi2aspida/compare/v0.17.0...v0.18.0) (2022-03-07) + + +### Bug Fixes + +* drop support for current required behavior and just provide the conversion follow specs (https://github.com/aspida/openapi2aspida/pull/179) +* escape description comment (https://github.com/aspida/openapi2aspida/pull/179) +* fix when query param to be required (https://github.com/aspida/openapi2aspida/pull/179#r817536624) + ## [0.17.0](https://github.com/aspida/openapi2aspida/compare/v0.16.5...v0.17.0) (2022-01-13) diff --git a/README.md b/README.md index 1075cdde..c8d0a122 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,9 @@ ## Breaking change :warning: +### 2022/03/07 +Since openapi2aspida >= `0.18.0` , decision whether to be required follows the OpenAPI spec correctly. Dropping the support for original implementation, that was defaulting to required. + ### 2021/03/15 Since openapi2aspida >= `0.16.0` , requires TypeSciprt 3.8 or higher for Type-Only Imports. From 60a0fbb1004452298ffefc80006c26a6b844ae99 Mon Sep 17 00:00:00 2001 From: Luma Date: Mon, 7 Mar 2022 16:25:57 +0900 Subject: [PATCH 2/2] ci: update ci --- .github/pull_request_template.md | 4 ++-- .github/workflows/release-drafter-main.yml | 14 ++++++++++++++ .github/workflows/release-drafter.yml | 5 +---- 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/release-drafter-main.yml diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 13835a2c..3f0a7144 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,6 +1,6 @@ @@ -25,4 +25,4 @@ Thank you for your contirubtion! 👍 -Please upvode with reacting as :+1: to express your agreement. +Please upvote with reacting as :+1: to express your agreement. diff --git a/.github/workflows/release-drafter-main.yml b/.github/workflows/release-drafter-main.yml new file mode 100644 index 00000000..bbcd57bd --- /dev/null +++ b/.github/workflows/release-drafter-main.yml @@ -0,0 +1,14 @@ +name: Release Drafter + +on: + push: + branches: + - main + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.PAT }} diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index f7804173..3d71a5e4 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -1,9 +1,6 @@ name: Release Drafter on: - push: - branches: - - main pull_request: types: [opened, reopened, synchronize] @@ -13,4 +10,4 @@ jobs: steps: - uses: release-drafter/release-drafter@v5 env: - GITHUB_TOKEN: ${{ secrets.PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}