Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade OpenAPI spec to v3 #128

Merged
merged 5 commits into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
# Python builds

*.egg-info
*.pyc
*~
.DS_Store
build
dist
.venv

# Editors

.idea
.project
.pydevproject
.python-version
.settings
.spyderproject
.venv
.vscode
build
dist

# OS stuff

.DS_Store
*~
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

# 5.0.0 [#128](https://github.com/openfisca/country-template/pull/128)

#### New features

- Upgrade Web API specification to OpenAPI v3.

#### Breaking changes

- Drop support for OpenAPI specification v2 and prior.
- Users relying on OpenAPI v2 can use [Swagger Converter](https://converter.swagger.io/api/convert?url=OAS2_YAML_OR_JSON_URL) to migrate ([example](https://web.archive.org/web/20221103230822/https://converter.swagger.io/api/convert?url=https://api.demo.openfisca.org/latest/spec)).

# 4.0.0 - [#127](https://github.com/openfisca/country-template/pull/127)

#### Breaking change
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name = "OpenFisca-Country-Template",
version = "4.0.0",
version = "5.0.0",
author = "OpenFisca Team",
author_email = "[email protected]",
classifiers = [
Expand Down Expand Up @@ -38,7 +38,7 @@
),
],
install_requires = [
"openfisca-core[web-api] >= 37.0.0, < 38.0.0",
"openfisca-core[web-api] >= 38.0.0, < 39.0.0",
],
extras_require = {
"dev": [
Expand Down