Skip to content

Commit

Permalink
Merge pull request #197 from VNG-Realisatie/version_bump_1.2.2
Browse files Browse the repository at this point in the history
bumpversion to 1.2.2 and set baseURL to production 🚀
  • Loading branch information
MatthijsBekendam authored Feb 22, 2023
2 parents b85779d + 81dd9b7 commit 690b1a7
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 8 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
===========
Wijzigingen
===========

1.2.2 (2022-02-22)
===========

API spec bugfixes
----------------

* Fixed description of ``faxnummer``, ``telefoonnummer``, ``mijnOverheid and ``emailadres`` in ``Verzending`` resource
* Fixed ``telefoonnnummer`` not shown in openapi.yaml
* Sets baseUrl to production server


1.2.1 (2022-02-21)
===========

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Documenten API
==============

:Version: 1.2.1
:Version: 1.2.2
:Source: https://github.com/VNG-Realisatie/documenten-api
:Keywords: zaken, zaakgericht werken, GEMMA, RGBZ, DRC

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drc",
"version": "1.2.1",
"version": "1.2.2",
"description": "drc referentie implementatie API",
"main": "src/index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/drc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import re
from collections import namedtuple

__version__ = "1.2.1"
__version__ = "1.2.2"
__author__ = "VNG Realisatie"
__homepage__ = "https://github.com/VNG-Realisatie/documenten-api"
__docformat__ = "restructuredtext"
Expand Down
2 changes: 1 addition & 1 deletion src/drc/api/tests/test_dso_api_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_api_19_documentation_version_yaml(self):
@override_settings(ROOT_URLCONF="drc.api.tests.test_urls")
def test_api_24_version_header(self):
response = self.client.get("/test-view")
self.assertEqual(response["API-version"], "1.2.1")
self.assertEqual(response["API-version"], "1.2.2")


class DSOApi50Tests(APITestCase):
Expand Down
12 changes: 10 additions & 2 deletions src/drc/conf/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from vng_api_common.conf.api import * # noqa - imports white-listed

API_VERSION = "1.2.1"
API_VERSION = "1.2.2"

REST_FRAMEWORK = BASE_REST_FRAMEWORK.copy()
REST_FRAMEWORK["PAGE_SIZE"] = 100
Expand All @@ -14,7 +14,15 @@
SPECTACULAR_SETTINGS = BASE_SPECTACULAR_SETTINGS.copy()
SPECTACULAR_SETTINGS.update(
{
"SERVERS": [{"url": "https://documenten-api.test.vng.cloud/api/v1"}],
# Optional list of servers.
# Each entry MUST contain "url", MAY contain "description", "variables"
# e.g. [{'url': 'https://example.com/v1', 'description': 'Text'}, ...]
"SERVERS": [
{
"url": "https://documenten-api.vng.cloud/api/v1",
"description": "Productie Omgeving",
}
],
"COMPONENT_SPLIT_REQUEST": True,
"SORT_OPERATION_PARAMETERS": False,
}
Expand Down
5 changes: 3 additions & 2 deletions src/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: Documenten API
version: 1.2.1
version: 1.2.2
description:
"Een API om een documentregistratiecomponent (DRC) te benaderen.\n\n\
In een documentregistratiecomponent worden INFORMATIEOBJECTen opgeslagen. Een\n\
Expand Down Expand Up @@ -8138,7 +8138,8 @@ components:
bearerFormat: JWT
scheme: bearer
servers:
- url: https://documenten-api.test.vng.cloud/api/v1
- url: https://documenten-api.vng.cloud/api/v1
description: Productie Omgeving
tags:
- name: enkelvoudiginformatieobjecten
description: Opvragen en bewerken van (ENKELVOUDIG) INFORMATIEOBJECTen (documenten).
Expand Down

0 comments on commit 690b1a7

Please sign in to comment.