author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
393,976
07.05.2018 11:30:48
-7,200
aebc9c5f7d7731ffcec01ff4d7c2f71398428dc7
added test for Dict() and fixed tests to be more precise
[ { "change_type": "MODIFY", "old_path": "tests/test_ext_marshmallow.py", "new_path": "tests/test_ext_marshmallow.py", "diff": "@@ -597,5 +597,13 @@ class TestDictValues:\nspec.definition('SchemaWithDict', schema=SchemaWithDict)\nresult = spec._definitions['SchemaWithDict']['properties']['dict_field']...
Python
MIT License
marshmallow-code/apispec
added test for Dict() and fixed tests to be more precise
394,013
13.05.2018 20:36:57
25,200
3b6a2da6d13b8252217c7f60d49c38a29965359c
Generalize schema resolution for arrays
[ { "change_type": "MODIFY", "old_path": "AUTHORS.rst", "new_path": "AUTHORS.rst", "diff": "@@ -48,3 +48,4 @@ Contributors (chronological)\n- `@mathewmarcus <https://github.com/mathewmarcus>`_\n- Louis-Philippe Huberdeau `@lphuberdeau <https://github.com/lphuberdeau>`_\n- Urban `@UrKr <https://github....
Python
MIT License
marshmallow-code/apispec
Generalize schema resolution for arrays
394,013
14.05.2018 14:10:51
25,200
8f5b000624946516e3e25b5e9e0a71afc6c1188e
Add test for OpenAPI 3 with schema array in docstring
[ { "change_type": "MODIFY", "old_path": "tests/test_ext_marshmallow.py", "new_path": "tests/test_ext_marshmallow.py", "diff": "@@ -466,6 +466,42 @@ class TestOperationHelper:\nassert op['parameters'][0]['schema'] == resolved_schema\nassert op['responses'][200]['schema'] == resolved_schema\n+ def test...
Python
MIT License
marshmallow-code/apispec
Add test for OpenAPI 3 with schema array in docstring
394,025
24.05.2018 01:47:56
-28,800
f85b89cd6358404d0954061afc488fdbc7095932
Fix a typo in ext/bottle.py
[ { "change_type": "MODIFY", "old_path": "apispec/ext/bottle.py", "new_path": "apispec/ext/bottle.py", "diff": "@@ -51,7 +51,7 @@ def _route_for_view(app, view):\ndef path_from_router(spec, view, operations, **kwargs):\n- \"\"\"Path helper that allows passing a bottle view funciton.\"\"\"\n+ \"\"\"Pat...
Python
MIT License
marshmallow-code/apispec
Fix a typo in ext/bottle.py
393,999
27.05.2018 22:29:25
-28,800
f138f8ce00c1368e2caea0475a50f5290bdf0915
feat(ext.marshmallow): openapi 3.0 support for parameters
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/swagger.py", "new_path": "apispec/ext/marshmallow/swagger.py", "diff": "@@ -429,6 +429,11 @@ def fields2parameters(fields, schema=None, spec=None, use_refs=True,\nhttps://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#...
Python
MIT License
marshmallow-code/apispec
feat(ext.marshmallow): openapi 3.0 support for parameters
393,999
27.05.2018 23:27:09
-28,800
4b6c63641a6c0c38c1669dff71761a3718c4f11b
test(ext.marshmallow): test schema in docstring expand parameters v3
[ { "change_type": "MODIFY", "old_path": "tests/test_ext_marshmallow.py", "new_path": "tests/test_ext_marshmallow.py", "diff": "@@ -360,6 +360,37 @@ class TestOperationHelper:\nassert post['parameters'] == swagger.schema2parameters(PetSchema, default_in='body', required=True,\nname='pet', description=...
Python
MIT License
marshmallow-code/apispec
test(ext.marshmallow): test schema in docstring expand parameters v3
393,999
27.05.2018 23:27:37
-28,800
c3f4b67472cab848d15ba2ff2ff18193a2339280
fix(ext.marshmallow): fix collectionFormat='multi' equivalent
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/swagger.py", "new_path": "apispec/ext/marshmallow/swagger.py", "diff": "@@ -543,7 +543,7 @@ def property2parameter(prop, name='body', required=False, multiple=False, locati\nelif openapi_major_version == 3:\nif multiple:\nret['explode']...
Python
MIT License
marshmallow-code/apispec
fix(ext.marshmallow): fix collectionFormat='multi' equivalent
393,999
01.06.2018 15:02:52
-28,800
ba30476154e16a96619c4a1affb92bd7f711ffb7
fix(ext.marshmallow): fix description for parameters in OpenAPI 3
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/swagger.py", "new_path": "apispec/ext/marshmallow/swagger.py", "diff": "@@ -544,6 +544,8 @@ def property2parameter(prop, name='body', required=False, multiple=False, locati\nif multiple:\nret['explode'] = True\nret['style'] = 'form'\n+ ...
Python
MIT License
marshmallow-code/apispec
fix(ext.marshmallow): fix description for parameters in OpenAPI 3
393,999
31.05.2018 23:40:26
-28,800
7c2b2010a7e8146ea5d83e93809b0c4d709461d2
feat(core): deep update components instead of replace components
[ { "change_type": "MODIFY", "old_path": "apispec/core.py", "new_path": "apispec/core.py", "diff": "@@ -156,15 +156,26 @@ class APISpec(object):\nret['swagger'] = self.openapi_version.vstring\nret['definitions'] = self._definitions\nret['parameters'] = self._parameters\n+ ret.update(self.options)\neli...
Python
MIT License
marshmallow-code/apispec
feat(core): deep update components instead of replace components
393,999
06.06.2018 22:14:27
-28,800
daf30ef3186c5dbd914d5e8af83000953ddc2c5d
test(schemas): add additional fields in PetSchema for test Deprecated and allowEmptyValue keyword is not supported yet. And the better way maybe is to provide different function of schema2fiels for different version, respectively.
[ { "change_type": "MODIFY", "old_path": "tests/schemas.py", "new_path": "tests/schemas.py", "diff": "@@ -2,8 +2,9 @@ from marshmallow import Schema, fields\nclass PetSchema(Schema):\n- id = fields.Int(dump_only=True)\n- name = fields.Str()\n+ description = dict(id=\"Pet id\", name=\"Pet name\")\n+ id...
Python
MIT License
marshmallow-code/apispec
test(schemas): add additional fields in PetSchema for test Deprecated and allowEmptyValue keyword is not supported yet. And the better way maybe is to provide different function of schema2fiels for different version, respectively.
393,999
06.06.2018 22:15:52
-28,800
e1f2cbf317befd88c282af05693ac150fbef5242
doc(ext.marshmallow): doc string in field2parameter for OpenAPI 3
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/swagger.py", "new_path": "apispec/ext/marshmallow/swagger.py", "diff": "@@ -427,6 +427,13 @@ def fields2parameters(fields, schema=None, spec=None, use_refs=True,\nthe :class:`Schema <marshmallow.Schema>`.\nhttps://github.com/OAI/OpenAPI...
Python
MIT License
marshmallow-code/apispec
doc(ext.marshmallow): doc string in field2parameter for OpenAPI 3
393,999
06.06.2018 22:17:43
-28,800
1e1e93d4bf710cff346962ac4707382e10032974
test(marshmallow): description for parameters and test for requestBody
[ { "change_type": "MODIFY", "old_path": "tests/test_ext_marshmallow.py", "new_path": "tests/test_ext_marshmallow.py", "diff": "@@ -6,7 +6,7 @@ from marshmallow.fields import Field, DateTime, Dict, String\nfrom marshmallow import Schema\nfrom apispec import APISpec\n-from apispec.ext.marshmallow impor...
Python
MIT License
marshmallow-code/apispec
test(marshmallow): description for parameters and test for requestBody
393,999
06.06.2018 22:21:47
-28,800
1db29fe3a3840343a6031652cc8f30d93534bb13
refactor(test): fix style
[ { "change_type": "MODIFY", "old_path": "tests/schemas.py", "new_path": "tests/schemas.py", "diff": "@@ -2,7 +2,7 @@ from marshmallow import Schema, fields\nclass PetSchema(Schema):\n- description = dict(id=\"Pet id\", name=\"Pet name\")\n+ description = dict(id='Pet id', name='Pet name')\nid = field...
Python
MIT License
marshmallow-code/apispec
refactor(test): fix style
393,999
06.06.2018 23:39:44
-28,800
a6a9976c77ebf736f9446f9898421decf820f825
test(core): deep update top-level components object for OpenAPI 3
[ { "change_type": "MODIFY", "old_path": "tests/test_core.py", "new_path": "tests/test_core.py", "diff": "@@ -26,11 +26,28 @@ def spec():\n@pytest.fixture()\ndef spec_3():\n+ components = {\n+ 'securitySchemes': {\n+ 'bearerAuth':\n+ dict(type='http', scheme='bearer', bearerFormat='JWT')\n+ },\n+ 'sch...
Python
MIT License
marshmallow-code/apispec
test(core): deep update top-level components object for OpenAPI 3
393,985
05.09.2018 17:12:47
14,400
56fe1c66d917490f86b1feec8b7b7934853c0e4c
Use yaml.safe_load() instead of load() load() has known security issues:
[ { "change_type": "MODIFY", "old_path": "AUTHORS.rst", "new_path": "AUTHORS.rst", "diff": "@@ -51,3 +51,4 @@ Contributors (chronological)\n- Christina Long `@cvlong <https://github.com/cvlong>`_\n- Felix Yan `@felixonmars <https://github.com/felixonmars>`_\n- Guoli Lyu `@Guoli-Lyu <https://github.com...
Python
MIT License
marshmallow-code/apispec
Use yaml.safe_load() instead of load() load() has known security issues: https://github.com/yaml/pyyaml/pull/189
393,992
29.11.2018 14:39:55
-3,600
98a9c402a8208e95c86c340e49281049dda1b3c9
Call resolve_schema_cls throught OpenAPIConverter
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/__init__.py", "new_path": "apispec/ext/marshmallow/__init__.py", "diff": "@@ -74,11 +74,11 @@ class MarshmallowPlugin(BasePlugin):\nnested_schema_class = None\nif isinstance(field, marshmallow.fields.Nested):\n- nested_schema_class = re...
Python
MIT License
marshmallow-code/apispec
Call resolve_schema_cls throught OpenAPIConverter
394,000
23.11.2018 19:27:56
18,000
e74f2239b69db9dc6650a15fe8acd257630c71ec
removes use_instances from function signature because it doesn't do anything anymore
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/openapi.py", "new_path": "apispec/ext/marshmallow/openapi.py", "diff": "@@ -436,7 +436,7 @@ class OpenAPIConverter(object):\ndef fields2parameters(\nself, fields, schema=None, use_refs=True,\ndefault_in='body', name='body', required=Fal...
Python
MIT License
marshmallow-code/apispec
removes use_instances from function signature because it doesn't do anything anymore
394,000
04.12.2018 15:58:41
18,000
dc2dc81c942ca7b2a3db28e47bb46833bb7d7d0c
resolve name clashes by creating a unique name and warning the user
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/common.py", "new_path": "apispec/ext/marshmallow/common.py", "diff": "\"\"\"Utilities to get schema instances/classes\"\"\"\nimport copy\n+import warnings\nfrom collections import namedtuple\nimport marshmallow\n@@ -60,3 +61,28 @@ def m...
Python
MIT License
marshmallow-code/apispec
resolve name clashes by creating a unique name and warning the user
394,000
31.12.2018 17:26:32
18,000
6747cd06d29f294ffbefbdc21f38ad27a1bf6f98
update docs to include new behavior relating to schema modifiers and nested fields
[ { "change_type": "MODIFY", "old_path": "docs/using_plugins.rst", "new_path": "docs/using_plugins.rst", "diff": "@@ -197,6 +197,45 @@ If your API uses `method-based dispatching <http://flask.pocoo.org/docs/0.12/vie\n# 'post': {}}}\n#\n+\n+Marshmallow Plugin\n+------------------\n+\n+Nesting Schemas\n...
Python
MIT License
marshmallow-code/apispec
update docs to include new behavior relating to schema modifiers and nested fields
394,000
02.01.2019 22:23:53
18,000
fae9f362ac085611fd2f382128b5f8f4bd296097
fix issue with invalid reference object per OpenAPI reference objects cannot have any additional properties fix
[ { "change_type": "MODIFY", "old_path": "tests/test_openapi.py", "new_path": "tests/test_openapi.py", "diff": "@@ -574,11 +574,17 @@ class TestNesting:\ndef test_field2property_nested_spec_metadatas(self, spec_fixture):\nspec_fixture.spec.components.schema('Category', schema=CategorySchema)\n- catego...
Python
MIT License
marshmallow-code/apispec
fix issue with invalid reference object per OpenAPI reference objects cannot have any additional properties fix #347
394,000
02.01.2019 22:39:02
18,000
cd8fa8f3f16e21a68e077ebcac9f0ef16f32b0c1
extract method for generating type and format
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/openapi.py", "new_path": "apispec/ext/marshmallow/openapi.py", "diff": "@@ -148,6 +148,24 @@ class OpenAPIConverter(object):\nreturn inner\n+ def field2type_and_format(self, field):\n+ \"\"\"Return the dictionary of OpenAPI type and for...
Python
MIT License
marshmallow-code/apispec
extract method for generating type and format
394,000
02.01.2019 23:17:52
18,000
4864b1e94999a8cef05e13515c071271e36401d8
extract method for generating default
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/openapi.py", "new_path": "apispec/ext/marshmallow/openapi.py", "diff": "@@ -166,6 +166,26 @@ class OpenAPIConverter(object):\nreturn ret\n+ def field2default(self, field):\n+ \"\"\"Return the dictionary containing the field's default va...
Python
MIT License
marshmallow-code/apispec
extract method for generating default
394,000
26.11.2018 13:02:12
18,000
18529ee7c947ee19c2ccb46671ebf3fc7da0b627
redistribute logic between schema2jsonschema and field2jsonschema
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/common.py", "new_path": "apispec/ext/marshmallow/common.py", "diff": "import copy\nimport warnings\n-from collections import namedtuple\n+from collections import namedtuple, OrderedDict\nimport marshmallow\n@@ -40,11 +40,36 @@ def resol...
Python
MIT License
marshmallow-code/apispec
redistribute logic between schema2jsonschema and field2jsonschema
394,000
26.11.2018 16:01:39
18,000
588f799c1c5851cae6bb9f30216eb47a2abaf388
redistribute logic between schema2paramaters and fields2parameters
[ { "change_type": "MODIFY", "old_path": "apispec/ext/marshmallow/common.py", "new_path": "apispec/ext/marshmallow/common.py", "diff": "@@ -21,7 +21,13 @@ def resolve_schema_instance(schema):\nreturn schema()\nif isinstance(schema, marshmallow.Schema):\nreturn schema\n+ try:\nreturn marshmallow.class_...
Python
MIT License
marshmallow-code/apispec
redistribute logic between schema2paramaters and fields2parameters
394,000
28.01.2019 11:58:30
18,000
88eba0f3c8bae701a20f43cef7ed30f36dc18961
changes comparision to an instance
[ { "change_type": "MODIFY", "old_path": "tests/test_ext_marshmallow.py", "new_path": "tests/test_ext_marshmallow.py", "diff": "@@ -335,7 +335,7 @@ class TestOperationHelper:\np = get_paths(spec_fixture.spec)['/pet']\nget = p['get']\nassert get['parameters'] == spec_fixture.openapi.schema2parameters(\...
Python
MIT License
marshmallow-code/apispec
changes comparision to an instance
394,003
28.01.2019 19:55:56
0
3980709e2846ac0060bda5d56d451e5ad491ece8
Translate `marshmallow.validators.Regexp` to pattern string
[ { "change_type": "MODIFY", "old_path": "AUTHORS.rst", "new_path": "AUTHORS.rst", "diff": "@@ -53,3 +53,4 @@ Contributors (chronological)\n- Laura Beaufort `@lbeaufort <https://github.com/lbeaufort>`_\n- Marcin Lulek `@ergo <https://github.com/ergo>`_\n- Jonathan Beezley `@jbeezley <https://github.co...
Python
MIT License
marshmallow-code/apispec
Translate `marshmallow.validators.Regexp` to pattern string
394,032
12.04.2019 00:13:01
-7,200
c634cb023300ea87021e84f3c6bbd4d9dba3f6c6
Fix Marshmallow Schema's Meta exclude field list/tuple error
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/common.py", "new_path": "src/apispec/ext/marshmallow/common.py", "diff": "@@ -73,7 +73,7 @@ def warn_if_fields_defined_in_meta(fields, Meta):\n\"\"\"Warns user that fields defined in Meta.fields or Meta.additional will\nbe ignored\n...
Python
MIT License
marshmallow-code/apispec
Fix Marshmallow Schema's Meta exclude field list/tuple error
394,015
16.04.2019 15:07:14
-3,600
ec9758b9420c6fa70c1f4629a3ee2df87a86999e
Use pytest.mark consistently There are many uses of pytest.mark and two of them use the imported mark symbol. Most uses access it via pytest.mark. This changes the two inconsistent references to also use pytest.mark.
[ { "change_type": "MODIFY", "old_path": "tests/test_ext_marshmallow_openapi.py", "new_path": "tests/test_ext_marshmallow_openapi.py", "diff": "@@ -4,7 +4,6 @@ import re\nimport warnings\nimport pytest\n-from pytest import mark\nfrom marshmallow import fields, Schema, validate\n@@ -21,7 +20,7 @@ class...
Python
MIT License
marshmallow-code/apispec
Use pytest.mark consistently There are many uses of pytest.mark and two of them use the imported mark symbol. Most uses access it via pytest.mark. This changes the two inconsistent references to also use pytest.mark.
394,015
16.04.2019 15:18:51
-3,600
fef98268799adb9cc910eba2d9ec3e10b2a368fa
Parameterize the validation property tests Rather than test each field validation property with a separate test, each field can have a set of properties that gets checked.
[ { "change_type": "MODIFY", "old_path": "tests/test_ext_marshmallow_openapi.py", "new_path": "tests/test_ext_marshmallow_openapi.py", "diff": "@@ -853,56 +853,22 @@ class ValidationSchema(Schema):\nclass TestFieldValidation:\n- def test_range(self, spec):\n- spec.components.schema(\"Validation\", sch...
Python
MIT License
marshmallow-code/apispec
Parameterize the validation property tests Rather than test each field validation property with a separate test, each field can have a set of properties that gets checked.
394,015
16.04.2019 15:21:36
-3,600
53c324d618e789e5a2a41da401469d5b47e46ba2
Reduce scope of ValidationSchema to the test class
[ { "change_type": "MODIFY", "old_path": "tests/test_ext_marshmallow_openapi.py", "new_path": "tests/test_ext_marshmallow_openapi.py", "diff": "@@ -826,6 +826,7 @@ def test_openapi_tools_validate_v3():\npytest.fail(str(error))\n+class TestFieldValidation:\nclass ValidationSchema(Schema):\nid = fields....
Python
MIT License
marshmallow-code/apispec
Reduce scope of ValidationSchema to the test class
394,015
18.04.2019 15:50:58
-3,600
3f6347af4ecea2a98cb426f21571a7b8af7b4698
Find type and format for field using type hierarchy When a custom field is not directly found in the field mapping then we use the MRO to look at parent classes to find a suitable class to work out what type of field this is.
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/openapi.py", "new_path": "src/apispec/ext/marshmallow/openapi.py", "diff": "@@ -163,7 +163,20 @@ class OpenAPIConverter(object):\n:param Field field: A marshmallow field.\n:rtype: dict\n\"\"\"\n- type_, fmt = self.field_mapping.get(...
Python
MIT License
marshmallow-code/apispec
Find type and format for field using type hierarchy When a custom field is not directly found in the field mapping then we use the MRO to look at parent classes to find a suitable class to work out what type of field this is.
393,988
31.03.2019 11:41:12
-7,200
980f250c3e45ee92d9c4a21d6c40b62b948d08dd
Ensure make_schema_key returns a unique key on unhashable iterables
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/common.py", "new_path": "src/apispec/ext/marshmallow/common.py", "diff": "@@ -113,9 +113,11 @@ def make_schema_key(schema):\nfor modifier in MODIFIERS:\nattribute = getattr(schema, modifier)\ntry:\n+ # Hashable (string, tuple)\nhash...
Python
MIT License
marshmallow-code/apispec
Ensure make_schema_key returns a unique key on unhashable iterables
394,015
01.05.2019 16:32:13
-3,600
749a7821b49ff73688da1f1f1ef5842be1dc8005
Update marshmallow plugin documentation for custom types Now that the OpenAPI type for a custom field uses the class hierarchy to work out what OpenAPI type to use, the documentation needs updating. This change expands on how to use the map_to_openapi_type decorator and explains that cases where it is no longer necessary.
[ { "change_type": "MODIFY", "old_path": "docs/using_plugins.rst", "new_path": "docs/using_plugins.rst", "diff": "@@ -232,35 +232,36 @@ apispec will respect schema modifiers such as ``exclude`` and ``partial`` in the\nCustom Fields\n***************\n-By default, apispec only knows how to set the type ...
Python
MIT License
marshmallow-code/apispec
Update marshmallow plugin documentation for custom types Now that the OpenAPI type for a custom field uses the class hierarchy to work out what OpenAPI type to use, the documentation needs updating. This change expands on how to use the map_to_openapi_type decorator and explains that cases where it is no longer necessary.
393,991
13.06.2019 00:45:38
-7,200
3c01ee2e84c0dc2de7f5a9719b06a4256fa2c71c
Add new `DuplicateParameterError` exception * Raise this new error instead of `APIError` when finding duplicates in parameters * Update tests to check if that exception is raised instead of base `APISpecError` * Split tests for duplicate parameters
[ { "change_type": "MODIFY", "old_path": "src/apispec/core.py", "new_path": "src/apispec/core.py", "diff": "@@ -8,6 +8,7 @@ from .exceptions import (\nAPISpecError,\nPluginMethodNotImplementedError,\nDuplicateComponentNameError,\n+ DuplicateParameterError,\n)\nfrom .utils import OpenAPIVersion, deepup...
Python
MIT License
marshmallow-code/apispec
Add new `DuplicateParameterError` exception * Raise this new error instead of `APIError` when finding duplicates in parameters * Update tests to check if that exception is raised instead of base `APISpecError` * Split tests for duplicate parameters
393,991
13.06.2019 13:59:36
-7,200
a2069bd296cef28aa4f51fe169a11ce06be26c44
Enfore "required" to "True" for path parameters * Forced `required` value to `True` if parameter location is set to "path" * Updated `test_parameter` according to this
[ { "change_type": "MODIFY", "old_path": "src/apispec/core.py", "new_path": "src/apispec/core.py", "diff": "@@ -197,6 +197,11 @@ class Components(object):\nret = component.copy()\nret.setdefault(\"name\", component_id)\nret[\"in\"] = location\n+\n+ # if \"in\" is set to \"path\", enforce required flag...
Python
MIT License
marshmallow-code/apispec
Enfore "required" to "True" for path parameters * Forced `required` value to `True` if parameter location is set to "path" * Updated `test_parameter` according to this
393,991
13.06.2019 14:54:16
-7,200
2d4c85b6a3d97e063ae95ba5722bc3308a7f1082
Fixed leftover of parametrized tests
[ { "change_type": "MODIFY", "old_path": "tests/test_core.py", "new_path": "tests/test_core.py", "diff": "@@ -415,9 +415,6 @@ class TestPath:\nwith pytest.raises(InvalidParameterError):\nspec.path(path=path, operations=dict(put={}, get={}), parameters=parameters)\n- with pytest.raises(InvalidParameter...
Python
MIT License
marshmallow-code/apispec
Fixed leftover of parametrized tests
393,991
15.06.2019 00:33:34
-7,200
a966a040410a9c089de0ae41c888526c4a896012
Plugin documentation and tests update * Updated docstring to include kwargs decription * Updated `apispec.plugin.BasePlugin.path` docstring to include `parameters` * Updated `writing_plugins.rst` to reflect parameters changes and include `kwargs` example * Updated `test_core.TestPlugins.test_plugin_path_hlper_is_used` to include `parameters` argument
[ { "change_type": "MODIFY", "old_path": "docs/writing_plugins.rst", "new_path": "docs/writing_plugins.rst", "diff": "@@ -29,7 +29,7 @@ A plugin with a path helper function may look something like this:\nclass MyPlugin(BasePlugin):\n- def path_helper(self, path, func, **kwargs):\n+ def path_helper(sel...
Python
MIT License
marshmallow-code/apispec
Plugin documentation and tests update * Updated docstring to include kwargs decription * Updated `apispec.plugin.BasePlugin.path` docstring to include `parameters` * Updated `writing_plugins.rst` to reflect parameters changes and include `kwargs` example * Updated `test_core.TestPlugins.test_plugin_path_hlper_is_used` to include `parameters` argument
394,000
19.07.2019 17:16:24
14,400
329d6164038a906fc0a9575123c8d5d01bd37751
changes schema_name_resolver to accept a schema instance, class, or string
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/__init__.py", "new_path": "src/apispec/ext/marshmallow/__init__.py", "diff": "@@ -52,14 +52,15 @@ import warnings\nfrom apispec import BasePlugin\nfrom apispec.compat import itervalues\n-from .common import resolve_schema_instance, ...
Python
MIT License
marshmallow-code/apispec
changes schema_name_resolver to accept a schema instance, class, or string
394,000
19.07.2019 17:20:20
14,400
be088ee4a8e047fc0cab7015e67be43c39e759e0
remove unused method Custom resolution of a schema class can now be done directly in a custom schema_name_resolver function
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/openapi.py", "new_path": "src/apispec/ext/marshmallow/openapi.py", "diff": "@@ -20,7 +20,6 @@ from marshmallow.orderedset import OrderedSet\nfrom apispec.compat import RegexType, iteritems\nfrom apispec.utils import OpenAPIVersion, ...
Python
MIT License
marshmallow-code/apispec
remove unused method Custom resolution of a schema class can now be done directly in a custom schema_name_resolver function
394,000
19.07.2019 18:06:49
14,400
d8800799fb5c32264d26cef7d8b58768142190e1
update documentation on schema_name_resolver
[ { "change_type": "MODIFY", "old_path": "docs/api_ext.rst", "new_path": "docs/api_ext.rst", "diff": "@@ -12,3 +12,8 @@ apispec.ext.marshmallow.openapi\n.. automodule:: apispec.ext.marshmallow.openapi\n:members:\n+\n+apispec.ext.marshmallow.common\n+++++++++++++++++++++++++++++++\n+.. automodule:: api...
Python
MIT License
marshmallow-code/apispec
update documentation on schema_name_resolver
394,000
22.07.2019 11:43:25
14,400
b63ac081e26883c52c960e5e7f29704e5876f00e
extract functions for Nested List and Dict fields Now passing the ret dictionary to all attribute functions
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/field_converter.py", "new_path": "src/apispec/ext/marshmallow/field_converter.py", "diff": "@@ -143,34 +143,15 @@ class FieldConverter(object):\nself.field2length,\nself.field2pattern,\nself.metadata2properties,\n+ self.nested2prope...
Python
MIT License
marshmallow-code/apispec
extract functions for Nested List and Dict fields Now passing the ret dictionary to all attribute functions
394,000
22.07.2019 13:27:41
14,400
95253eb91f1fd496a65123984d467faa811fd5a6
adds capability for users to add custom attribute converters closes
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/__init__.py", "new_path": "src/apispec/ext/marshmallow/__init__.py", "diff": "@@ -81,14 +81,17 @@ class MarshmallowPlugin(BasePlugin):\ndef schema_name_resolver(schema):\nschema_cls = resolve_schema_cls(schema)\nreturn schema_cls.__...
Python
MIT License
marshmallow-code/apispec
adds capability for users to add custom attribute converters closes #172
394,000
23.07.2019 16:16:21
14,400
707e16de27c77f5bb99dd1e7d8a48191e111859b
changes the mechanism for adding an attribute function
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/__init__.py", "new_path": "src/apispec/ext/marshmallow/__init__.py", "diff": "@@ -81,17 +81,14 @@ class MarshmallowPlugin(BasePlugin):\ndef schema_name_resolver(schema):\nschema_cls = resolve_schema_cls(schema)\nreturn schema_cls.__...
Python
MIT License
marshmallow-code/apispec
changes the mechanism for adding an attribute function
394,000
30.08.2019 11:58:46
14,400
ed5894aff14ce2a4db42c1a0c9ea9e7d96c980b7
enhance documentation for adding custom attribute functions
[ { "change_type": "MODIFY", "old_path": "docs/api_ext.rst", "new_path": "docs/api_ext.rst", "diff": "@@ -13,6 +13,12 @@ apispec.ext.marshmallow.openapi\n.. automodule:: apispec.ext.marshmallow.openapi\n:members:\n+apispec.ext.marshmallow.field_converter\n++++++++++++++++++++++++++++++++++++++++\n+\n+...
Python
MIT License
marshmallow-code/apispec
enhance documentation for adding custom attribute functions
394,000
30.08.2019 14:16:57
14,400
137813b123ce3f4990b713ae2cb4aeadec0c5739
add note on add_attribute_function to changelog
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.rst", "new_path": "CHANGELOG.rst", "diff": "@@ -6,6 +6,8 @@ Changelog\nFeatures:\n+- Add support for generating user defined OpenAPI properties for custom field\n+ classes via an ``add_attribute_function`` method. (:pr:`478`)\n- *Backwards-incompatib...
Python
MIT License
marshmallow-code/apispec
add note on add_attribute_function to changelog
394,000
03.09.2019 22:47:11
14,400
fc5a040e0a1a24e0191ef82dd03f06ad099b78f1
changes Marshmallow fields.Raw and fields.Field to Any Type closes
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/field_converter.py", "new_path": "src/apispec/ext/marshmallow/field_converter.py", "diff": "@@ -37,9 +37,8 @@ DEFAULT_FIELD_MAPPING = {\nmarshmallow.fields.Email: (\"string\", \"email\"),\nmarshmallow.fields.URL: (\"string\", \"url\...
Python
MIT License
marshmallow-code/apispec
changes Marshmallow fields.Raw and fields.Field to Any Type closes #395
394,000
04.09.2019 22:28:37
14,400
c41b4de5310306320aa2b3d3154954c90442616e
extracts logic for resolving schemas in OpenAPI objects Enhannces documentation
[ { "change_type": "MODIFY", "old_path": "docs/api_ext.rst", "new_path": "docs/api_ext.rst", "diff": "@@ -7,6 +7,12 @@ apispec.ext.marshmallow\n.. automodule:: apispec.ext.marshmallow\n:members:\n+apispec.ext.marshmallow.schema_resolver\n++++++++++++++++++++++++++++++++++++++++\n+\n+.. automodule:: ap...
Python
MIT License
marshmallow-code/apispec
extracts logic for resolving schemas in OpenAPI objects Enhannces documentation
394,009
04.11.2019 02:29:14
-19,080
167a73ea89f6937c8fd61ae2d459e00f296fcccf
Added example support Added tests Completes a Todo
[ { "change_type": "MODIFY", "old_path": "AUTHORS.rst", "new_path": "AUTHORS.rst", "diff": "@@ -59,3 +59,4 @@ Contributors (chronological)\n- Dave `@zedrdave <https://github.com/zedrdave>`_\n- Emmanuel Valette `@karec <https://github.com/karec/>`_\n- Hugo van Kemenade `@hugovk <https://github.com/hugo...
Python
MIT License
marshmallow-code/apispec
Added example support Added tests Completes a #245 Todo
394,011
06.11.2019 00:12:59
-3,600
b853a394386a3e601a4030dd933d16b8e931dc5b
Update main example so that it can run smoothly
[ { "change_type": "MODIFY", "old_path": "AUTHORS.rst", "new_path": "AUTHORS.rst", "diff": "@@ -59,4 +59,5 @@ Contributors (chronological)\n- Dave `@zedrdave <https://github.com/zedrdave>`_\n- Emmanuel Valette `@karec <https://github.com/karec/>`_\n- Hugo van Kemenade `@hugovk <https://github.com/hugo...
Python
MIT License
marshmallow-code/apispec
Update main example so that it can run smoothly (#513)
394,024
12.02.2020 17:46:06
-3,600
686bc1f8f50a1f6530c927a23c5e0ba0e6c39d59
Add Colin Bounouar to contributors
[ { "change_type": "MODIFY", "old_path": "AUTHORS.rst", "new_path": "AUTHORS.rst", "diff": "@@ -62,3 +62,4 @@ Contributors (chronological)\n- Bastien Gerard `@bagerard <https://github.com/bagerard>`_\n- Ashutosh Chaudhary `@codeasashu <https://github.com/codeasashu>`_\n- Fedor Fominykh `@fedorfo <http...
Python
MIT License
marshmallow-code/apispec
Add Colin Bounouar to contributors
394,024
12.02.2020 17:47:41
-3,600
a477aff711f634bc85d986dc0f31e6e866c620e6
Allow to access components in plugins init_spec method
[ { "change_type": "MODIFY", "old_path": "src/apispec/core.py", "new_path": "src/apispec/core.py", "diff": "@@ -190,19 +190,19 @@ class APISpec:\nself.version = version\nself.openapi_version = OpenAPIVersion(openapi_version)\nself.options = options\n+ self.plugins = plugins\n# Metadata\nself._tags = [...
Python
MIT License
marshmallow-code/apispec
Allow to access components in plugins init_spec method
394,024
12.02.2020 18:20:55
-3,600
cca8ccbc26abc0cb9b524655137b414e4c650abc
Apply flake8 and black formatting Use helper to retrieve schemas
[ { "change_type": "MODIFY", "old_path": "tests/test_core.py", "new_path": "tests/test_core.py", "diff": "@@ -280,13 +280,15 @@ class TestComponents:\nclass TestPlugin(BasePlugin):\ndef init_spec(self, spec):\nspec.components.schema(\n- \"TestSchema\", {\"properties\": {\"key\": {\"type\": \"string\"}...
Python
MIT License
marshmallow-code/apispec
Apply flake8 and black formatting Use helper to retrieve schemas
394,028
17.03.2020 14:36:22
-7,200
4414d15320004498364136b72470b016eac4309d
Support schemas in callbacks Callback definitions are iterated and checked for schemas. This is implemented by running operation_helper on all events defined in a callback definition. These events may contain request and response definitions similar to regular operation definitions.
[ { "change_type": "MODIFY", "old_path": "AUTHORS.rst", "new_path": "AUTHORS.rst", "diff": "@@ -63,3 +63,4 @@ Contributors (chronological)\n- Ashutosh Chaudhary `@codeasashu <https://github.com/codeasashu>`_\n- Fedor Fominykh `@fedorfo <https://github.com/fedorfo>`_\n- Colin Bounouar `@Colin-b <https:...
Python
MIT License
marshmallow-code/apispec
Support schemas in callbacks Callback definitions are iterated and checked for schemas. This is implemented by running operation_helper on all events defined in a callback definition. These events may contain request and response definitions similar to regular operation definitions.
394,000
22.05.2020 12:12:27
14,400
9df9b140db8d1af3779ca90759fe4205afbc8b70
Fix bug when resolver returns None and schema is a string Fixes
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/openapi.py", "new_path": "src/apispec/ext/marshmallow/openapi.py", "diff": "@@ -93,7 +93,7 @@ class OpenAPIConverter(FieldConverterMixin):\nname = self.schema_name_resolver(schema)\nif not name:\ntry:\n- json_schema = self.schema2js...
Python
MIT License
marshmallow-code/apispec
Fix bug when resolver returns None and schema is a string Fixes #566
393,995
13.07.2020 19:17:51
-7,200
e4704b8dfdd489ca7f6e18709e2d4418d0961951
Ignore field metadata with non-string keys
[ { "change_type": "MODIFY", "old_path": "AUTHORS.rst", "new_path": "AUTHORS.rst", "diff": "@@ -64,3 +64,4 @@ Contributors (chronological)\n- Fedor Fominykh `@fedorfo <https://github.com/fedorfo>`_\n- Colin Bounouar `@Colin-b <https://github.com/Colin-b>`_\n- David Bishop `@teancom <https://github.com...
Python
MIT License
marshmallow-code/apispec
Ignore field metadata with non-string keys
394,028
07.12.2020 10:15:48
-7,200
e926c19a34581eddea673546c82afa1b1ca7c66a
Implement resolve_callback
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/__init__.py", "new_path": "src/apispec/ext/marshmallow/__init__.py", "diff": "@@ -187,6 +187,57 @@ class MarshmallowPlugin(BasePlugin):\nself.resolver.resolve_response(response)\nreturn response\n+ def resolve_callback(self, callbac...
Python
MIT License
marshmallow-code/apispec
Implement resolve_callback
394,028
07.12.2020 11:58:47
-7,200
ffe359e7c0b73248ddb9e47d6074fae4394bd5b4
Refactor callback tests
[ { "change_type": "MODIFY", "old_path": "tests/test_ext_marshmallow.py", "new_path": "tests/test_ext_marshmallow.py", "diff": "@@ -328,6 +328,19 @@ def get_nested_schema(schema, field_name):\nclass TestOperationHelper:\n+ @pytest.fixture\n+ def make_pet_callback_spec(self, spec_fixture):\n+ def _make...
Python
MIT License
marshmallow-code/apispec
Refactor callback tests
394,028
07.12.2020 12:26:06
-7,200
3810c23552eb77da04a49e68fb83b1bf5074787a
Add back accidentally removed callback test
[ { "change_type": "MODIFY", "old_path": "tests/test_ext_marshmallow.py", "new_path": "tests/test_ext_marshmallow.py", "diff": "@@ -722,6 +722,48 @@ class TestOperationHelper:\nin get[\"responses\"][\"200\"][\"content\"][\"application/json\"][\"schema\"]\n)\n+ def test_callback_schema_uses_ref_if_avai...
Python
MIT License
marshmallow-code/apispec
Add back accidentally removed callback test
394,028
09.12.2020 07:28:48
-7,200
f3713eb2598b70f979a1b202af5668ca596d0980
Move resolve_callback to SchemaResolver
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/__init__.py", "new_path": "src/apispec/ext/marshmallow/__init__.py", "diff": "@@ -186,71 +186,8 @@ class MarshmallowPlugin(BasePlugin):\nself.resolver.resolve_response(response)\nreturn response\n- def resolve_callback(self, callbac...
Python
MIT License
marshmallow-code/apispec
Move resolve_callback to SchemaResolver
394,000
09.12.2020 16:38:44
18,000
954bbbc0db2728c7a02d2873e79c04062a37c05c
Change implementation for finding min and max values Fixes an issue with the ordering of multiple range and length validators. Previously only the last value for min and max would be used because hasattr of a dict returns False.
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/field_converter.py", "new_path": "src/apispec/ext/marshmallow/field_converter.py", "diff": "@@ -290,17 +290,16 @@ class FieldConverterMixin:\n]\nattributes = {}\n- for validator in validators:\n- if validator.min is not None:\n- if ...
Python
MIT License
marshmallow-code/apispec
Change implementation for finding min and max values Fixes an issue with the ordering of multiple range and length validators. Previously only the last value for min and max would be used because hasattr of a dict returns False.
394,000
09.12.2020 18:58:37
18,000
6dd423ada87b8e279e5b06c889b4640a0dc9c1ed
Use x- extensions for when the field is not a number Closes
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/field_converter.py", "new_path": "src/apispec/ext/marshmallow/field_converter.py", "diff": "@@ -290,6 +290,11 @@ class FieldConverterMixin:\n]\nattributes = {}\n+ min_attr, max_attr = (\n+ (\"minimum\", \"maximum\")\n+ if marshmallo...
Python
MIT License
marshmallow-code/apispec
Use x- extensions for when the field is not a number Closes #614
394,000
09.12.2020 19:16:17
18,000
8629210707c086a87d1bde73e6d7a0f848aef5f9
Extract logic for creating minimum and maximum attributes
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/field_converter.py", "new_path": "src/apispec/ext/marshmallow/field_converter.py", "diff": "@@ -289,23 +289,12 @@ class FieldConverterMixin:\n)\n]\n- attributes = {}\nmin_attr, max_attr = (\n(\"minimum\", \"maximum\")\nif marshmallo...
Python
MIT License
marshmallow-code/apispec
Extract logic for creating minimum and maximum attributes
393,998
11.03.2021 03:02:17
0
5b07c46869f60a6a8faa54d09ef397c7e52e9390
Populate additionalProperties from Meta.unknown Derive the value of additionalProperties from Meta.unknown, if defined. additionalProperties will be true only if Meta.unknown == INCLUDE
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/openapi.py", "new_path": "src/apispec/ext/marshmallow/openapi.py", "diff": "@@ -178,6 +178,8 @@ class OpenAPIConverter(FieldConverterMixin):\njsonschema[\"title\"] = Meta.title\nif hasattr(Meta, \"description\"):\njsonschema[\"descr...
Python
MIT License
marshmallow-code/apispec
Populate additionalProperties from Meta.unknown (#635) Derive the value of additionalProperties from Meta.unknown, if defined. additionalProperties will be true only if Meta.unknown == INCLUDE
393,994
21.03.2021 14:41:03
-32,400
381dd89489893a0f1e05e2a3f6efee831e69666b
Allow to_yaml to pass options to yaml.dump
[ { "change_type": "MODIFY", "old_path": "src/apispec/core.py", "new_path": "src/apispec/core.py", "diff": "@@ -238,11 +238,14 @@ class APISpec:\nret = deepupdate(ret, self.options)\nreturn ret\n- def to_yaml(self):\n- \"\"\"Render the spec to YAML. Requires PyYAML to be installed.\"\"\"\n+ def to_yam...
Python
MIT License
marshmallow-code/apispec
Allow to_yaml to pass options to yaml.dump
393,994
21.03.2021 14:48:27
-32,400
fb7fdcafdef9420d595cc05c88909955c5cf2362
Add pbzweihander to authors
[ { "change_type": "MODIFY", "old_path": "AUTHORS.rst", "new_path": "AUTHORS.rst", "diff": "@@ -67,3 +67,4 @@ Contributors (chronological)\n- David Bishop `@teancom <https://github.com/teancom>`_\n- Andrea Ghensi `@sanzoghenzo <https://github.com/sanzoghenzo>`_\n- `@timsilvers <https://github.com/tims...
Python
MIT License
marshmallow-code/apispec
Add pbzweihander to authors
393,990
24.05.2021 22:52:54
-7,200
d80571d199b1043a4238b67d88882820d5f07d5e
Respect partial in _field2parameter
[ { "change_type": "MODIFY", "old_path": "AUTHORS.rst", "new_path": "AUTHORS.rst", "diff": "@@ -70,3 +70,4 @@ Contributors (chronological)\n- Kangwook Lee `@pbzweihander <https://github.com/pbzweihander>`_\n- Martijn Pieters `@mjpieters <https://github.com/mjpieters>`_\n- Duncan Booth `@kupuguy <https...
Python
MIT License
marshmallow-code/apispec
Respect partial in _field2parameter
393,981
08.06.2021 17:58:13
-3,600
91a2c4b665862bce42a71fc6bfa4de466fbbc7ed
Add support for marshmallow.fields.Pluck() Pluck is essentially a transplanted field from another schema.
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/field_converter.py", "new_path": "src/apispec/ext/marshmallow/field_converter.py", "diff": "@@ -96,6 +96,7 @@ class FieldConverterMixin:\nself.field2pattern,\nself.metadata2properties,\nself.nested2properties,\n+ self.pluck2properti...
Python
MIT License
marshmallow-code/apispec
Add support for marshmallow.fields.Pluck() Pluck is essentially a transplanted field from another schema.
394,007
17.06.2021 17:06:46
-7,200
6471ebecbfd450ba7bc543452e8105fd56bbe25a
Fix links to PR and issues in the CHANGELOG file The PR 651 and the issue 627 have now a valid link. Linkid is added to the AUTHORS file too.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.rst", "new_path": "CHANGELOG.rst", "diff": "@@ -53,7 +53,7 @@ Features:\n- Allow ``to_yaml`` to pass kwargs to ``yaml.dump`` (:pr:`648`).\n- Resolve header references in responses (:pr:`650`).\n- Resolve example references in parameters, request bodi...
Python
MIT License
marshmallow-code/apispec
Fix links to PR and issues in the CHANGELOG file The PR 651 and the issue 627 have now a valid link. Linkid is added to the AUTHORS file too.
394,023
19.06.2021 03:03:31
0
1f26216182ddf74a50803793decc28b6fc850e96
fix year on changelog Looks like someone got the year mixed up on the release! Thank goodness it's really 2021 and not 2020 anymore!
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.rst", "new_path": "CHANGELOG.rst", "diff": "Changelog\n---------\n-4.6.0 (2020-06-14)\n+4.6.0 (2021-06-14)\n******************\nFeatures:\n@@ -9,7 +9,7 @@ Features:\n- Support `Pluck` field (:pr:`677`). Thanks :user:`mjpieters` for the PR.\n- Support...
Python
MIT License
marshmallow-code/apispec
fix year on changelog Looks like someone got the year mixed up on the release! Thank goodness it's really 2021 and not 2020 anymore!
393,981
02.07.2021 17:27:11
-3,600
0c580e4bbc8de1e71227c3fa3cff9a1ecd7c800d
Correct spelling of 'null' In OpenAPI 3.1, a nullable type has multiple values for the `type` field; the base type string, and the string value `'null'`. The quotes are not part of the value however, they are part of the serialisation format (so, `"null"` in JSON). Remove the extraneous quotes.
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/field_converter.py", "new_path": "src/apispec/ext/marshmallow/field_converter.py", "diff": "@@ -280,7 +280,7 @@ class FieldConverterMixin:\nelif self.openapi_version.minor < 1:\nattributes[\"nullable\"] = True\nelse:\n- attributes[\...
Python
MIT License
marshmallow-code/apispec
Correct spelling of 'null' In OpenAPI 3.1, a nullable type has multiple values for the `type` field; the base type string, and the string value `'null'`. The quotes are not part of the value however, they are part of the serialisation format (so, `"null"` in JSON). Remove the extraneous quotes.
393,983
12.05.2022 08:53:27
-36,000
b78019106bdacc70d3d9222feb459f2859e0832f
Set default yaml.dump sort_keys kwarg to False to respect dictionary ordering
[ { "change_type": "MODIFY", "old_path": "src/apispec/yaml_utils.py", "new_path": "src/apispec/yaml_utils.py", "diff": "@@ -9,8 +9,11 @@ from apispec.utils import trim_docstring, dedent\ndef dict_to_yaml(dic: dict, yaml_dump_kwargs: typing.Any | None = None) -> str:\n- if yaml_dump_kwargs is None:\n- ...
Python
MIT License
marshmallow-code/apispec
Set default yaml.dump sort_keys kwarg to False to respect dictionary ordering
394,027
10.11.2022 17:06:58
-3,600
b3ecd0aa4bc96cc1ecbc50385f5105967b347148
Allow openapi_version as str in marshmallow OpenAPIConverter Fix
[ { "change_type": "MODIFY", "old_path": "src/apispec/ext/marshmallow/openapi.py", "new_path": "src/apispec/ext/marshmallow/openapi.py", "diff": "@@ -40,7 +40,7 @@ __location_map__ = {\nclass OpenAPIConverter(FieldConverterMixin):\n\"\"\"Adds methods for generating OpenAPI specification from marshmall...
Python
MIT License
marshmallow-code/apispec
Allow openapi_version as str in marshmallow OpenAPIConverter Fix #810
300,595
12.12.2021 17:17:30
-3,600
f60c7bbaaded8edfcc5a28ca96df4f563067531c
adds missing import for SoftDeletes trait
[ { "change_type": "MODIFY", "old_path": "Console/PruneCommand.php", "new_path": "Console/PruneCommand.php", "diff": "@@ -6,6 +6,7 @@ use Illuminate\\Console\\Command;\nuse Illuminate\\Contracts\\Events\\Dispatcher;\nuse Illuminate\\Database\\Eloquent\\MassPrunable;\nuse Illuminate\\Database\\Eloquent...
PHP
MIT License
illuminate/database
adds missing import for SoftDeletes trait (#39991)
300,611
17.03.2022 20:27:26
0
930cb61f3e4200c41b3864f75a04bcadd584623c
add an argument to pass the desired relation name on `morphToMany` and `morphedByMany`
[ { "change_type": "MODIFY", "old_path": "Eloquent/Concerns/HasRelationships.php", "new_path": "Eloquent/Concerns/HasRelationships.php", "diff": "@@ -536,14 +536,18 @@ trait HasRelationships\n* @param string|null $relatedPivotKey\n* @param string|null $parentKey\n* @param string|null $relatedKey\n+ * ...
PHP
MIT License
illuminate/database
add an argument to pass the desired relation name on `morphToMany` and `morphedByMany` (#41490)
300,560
19.07.2022 14:05:02
0
ee0753e6d6dbf469b610b8be78d4c728d996ebc8
[10.x] Add connection name to QueryException
[ { "change_type": "MODIFY", "old_path": "Connection.php", "new_path": "Connection.php", "diff": "@@ -757,7 +757,7 @@ class Connection implements ConnectionInterface\n// lot more helpful to the developer instead of just the database's errors.\ncatch (Exception $e) {\nthrow new QueryException(\n- $quer...
PHP
MIT License
illuminate/database
[10.x] Add connection name to QueryException (#43190)
300,566
20.12.2022 17:38:10
-3,600
789b9b178da639aa2353376ef235665417af73b5
Support builder as param on whereExists
[ { "change_type": "MODIFY", "old_path": "Query/Builder.php", "new_path": "Query/Builder.php", "diff": "@@ -1617,19 +1617,23 @@ class Builder implements BuilderContract\n/**\n* Add an exists clause to the query.\n*\n- * @param \\Closure $callback\n+ * @param \\Closure|\\Illuminate\\Database\\Query\\Bu...
PHP
MIT License
illuminate/database
Support builder as param on whereExists (#45341)
300,868
04.02.2023 07:53:59
-46,800
0da5e80127b7a589b31d099956b27807868b921d
Add creation and update datetime columns Add datetimes function to create "created_at" and "updated_at" columns using "datetime" columns instead off "timestamps" columns to add further future proofing.
[ { "change_type": "MODIFY", "old_path": "Schema/Blueprint.php", "new_path": "Schema/Blueprint.php", "diff": "@@ -1203,6 +1203,19 @@ class Blueprint\n$this->timestampTz('updated_at', $precision)->nullable();\n}\n+ /**\n+ * Add creation and update datetime columns to the table.\n+ *\n+ * @param int|nul...
PHP
MIT License
illuminate/database
Add creation and update datetime columns (#45947) Add datetimes function to create "created_at" and "updated_at" columns using "datetime" columns instead off "timestamps" columns to add further future proofing.
426,496
02.08.2019 09:38:57
-7,200
b428a2b201080eb6815be5c546f94e542c634081
Copied server implementation from the 'webmps-server' repository
[ { "change_type": "ADD", "old_path": null, "new_path": ".gitignore", "diff": "+workspace.xml\n+model/server/target\n" }, { "change_type": "ADD", "old_path": null, "new_path": "model/server/.idea/compiler.xml", "diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<project version...
Kotlin
Apache License 2.0
modelix/modelix
Copied server implementation from the 'webmps-server' repository
426,496
02.08.2019 12:16:01
-7,200
8097d69fcde0edc526e50f6c88f1720587868435
Bind to all IP addresses
[ { "change_type": "MODIFY", "old_path": "model/server/.idea/vcs.xml", "new_path": "model/server/.idea/vcs.xml", "diff": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n<component name=\"VcsDirectoryMappings\">\n- <mapping directory=\"\" vcs=\"Git\" />\n+ <mapping directory=\"$PR...
Kotlin
Apache License 2.0
modelix/modelix
Bind to all IP addresses
426,496
02.08.2019 14:11:40
-7,200
ff9e7c7850048bcb78b416fdc395db4dc098d8a6
Model was reverted to an earlier version in some cases
[ { "change_type": "MODIFY", "old_path": "mps/.mps/vcs.xml", "new_path": "mps/.mps/vcs.xml", "diff": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n<component name=\"VcsDirectoryMappings\">\n- <mapping directory=\"$webmps.home$\" vcs=\"Git\" />\n+ <mapping directory=\"$PROJECT_D...
Kotlin
Apache License 2.0
modelix/modelix
Model was reverted to an earlier version in some cases
426,496
06.08.2019 22:38:42
-7,200
a7987183fff73c3909efeedb5ad6f084d414aafc
Debug output on the server
[ { "change_type": "MODIFY", "old_path": "model/server/src/main/java/de/q60/webmps/server/ModelServer.java", "new_path": "model/server/src/main/java/de/q60/webmps/server/ModelServer.java", "diff": "@@ -40,7 +40,7 @@ public class ModelServer extends WebSocketServer {\nreply.put(\"type\", \"get\");\nrep...
Kotlin
Apache License 2.0
modelix/modelix
Debug output on the server
426,496
07.08.2019 16:02:18
-7,200
1d1cba21de0d555287ee59d229e27851898c3e19
OT: When merging two versions some operations were transformed against the wrong operations
[ { "change_type": "MODIFY", "old_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.history.mps", "new_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.history.mps", "diff": "</node>\n</node>\n</node>\n+ <node concept=\"3clFbH\" id=\"5oJTJ...
Kotlin
Apache License 2.0
modelix/modelix
OT: When merging two versions some operations were transformed against the wrong operations
426,496
07.08.2019 16:18:41
-7,200
2738a994d5269e10f0d45dfb5b7bce100503ea05
Delete detached nodes at the end of a command
[ { "change_type": "MODIFY", "old_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.mps", "new_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.mps", "diff": "<node concept=\"3Tm1VV\" id=\"51I69MoqMUm\" role=\"1B3o_S\" />\n<node concept=\"...
Kotlin
Apache License 2.0
modelix/modelix
Delete detached nodes at the end of a command
426,496
07.08.2019 17:17:12
-7,200
3a892aff4f60a9034f3da1643f5f1be9756a18f2
Allow to switch between auto/manual merge for testing/demonstration purposes
[ { "change_type": "MODIFY", "old_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.history.mps", "new_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.history.mps", "diff": "<child id=\"1068498886295\" name=\"lValue\" index=\"37vLTJ\" />\...
Kotlin
Apache License 2.0
modelix/modelix
Allow to switch between auto/manual merge for testing/demonstration purposes
426,496
09.08.2019 13:19:26
-7,200
226834d2482649d0f96bac5bd1b28b4363df1266
Run RCP build on travis
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -4,7 +4,7 @@ install: true\njdk: openjdk8\nscript:\n- - ./gradlew build_languages\n+ - ./gradlew build_languages build_rcp\ncache:\ndirectories:\n" }, { "change_type": "MODIFY", "old_path": "buil...
Kotlin
Apache License 2.0
modelix/modelix
Run RCP build on travis
426,496
09.08.2019 14:04:31
-7,200
fb702d105626f79f78c6c4adc6c36d89c5cd7917
Fix artifacts location from the RCP build to the plugins build
[ { "change_type": "MODIFY", "old_path": "mps/de.q60.mps.web.build.rcp/models/de.q60.mps.web.build.rcp.mps", "new_path": "mps/de.q60.mps.web.build.rcp/models/de.q60.mps.web.build.rcp.mps", "diff": "</node>\n<node concept=\"2sgV4H\" id=\"1_iojA27s_8\" role=\"1l3spa\">\n<ref role=\"1l3spb\" to=\"indb:7g...
Kotlin
Apache License 2.0
modelix/modelix
Fix artifacts location from the RCP build to the plugins build
426,496
10.08.2019 13:27:18
-7,200
d21cbfe0dac3e8b6658f47015b89c91b36636484
Project for running a headless MPS on the server
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -7,3 +7,4 @@ mps/build/tmp\n.gradle\nartifacts\nbuild\n+ui-server/target\n" }, { "change_type": "ADD", "old_path": null, "new_path": "run-ui-server.sh", "diff": "+#!/bin/sh\n+\n+java -Dfile...
Kotlin
Apache License 2.0
modelix/modelix
Project for running a headless MPS on the server
426,496
10.08.2019 13:57:25
-7,200
d474cff5b7c4bfd0ac4b01db0831b10189eeafce
Add ui-server to the main build script
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -4,7 +4,7 @@ install: true\njdk: openjdk8\nscript:\n- - ./gradlew build_languages build_rcp\n+ - ./gradlew\ncache:\ndirectories:\n" }, { "change_type": "MODIFY", "old_path": "build.gradle", "...
Kotlin
Apache License 2.0
modelix/modelix
Add ui-server to the main build script
426,496
10.08.2019 14:28:18
-7,200
519a86dad7d3dda22ce8eb9daa1253bd473d58a4
Add ui-server to the main build script (2)
[ { "change_type": "MODIFY", "old_path": "build.gradle", "new_path": "build.gradle", "diff": "@@ -160,8 +160,10 @@ task run_tests(type: TestLanguages, dependsOn: build_languages) {\n}\ntask build_ui_server(dependsOn: [build_rcp]) {\n+ doLast {\nmavenexec {\nworkingDir file(\"$rootDir/ui-server\")\ngoa...
Kotlin
Apache License 2.0
modelix/modelix
Add ui-server to the main build script (2)
426,496
10.08.2019 15:06:32
-7,200
eeb84088bbd40092a7ae153d600b0146113d5a25
Make die UI server working on a linux server
[ { "change_type": "MODIFY", "old_path": "mps/de.q60.mps.web.build.rcp/models/de.q60.mps.web.build.rcp.mps", "new_path": "mps/de.q60.mps.web.build.rcp/models/de.q60.mps.web.build.rcp.mps", "diff": "<ref role=\"1l3spb\" node=\"1_iojA26H1u\" resolve=\"de.q60.mps.webBranding\" />\n</node>\n<node concept=...
Kotlin
Apache License 2.0
modelix/modelix
Make die UI server working on a linux server
426,496
12.08.2019 11:37:08
-7,200
b5bca153043433f022780d2571c4ddeb9fd5c4e7
Serve ui-client static files from MPS Use this URL to open the UI
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -8,3 +8,4 @@ mps/build/tmp\nartifacts\nbuild\nui-server/target\n+mps/de.q60.mps.web.ui.svg/lib/ui-client.jar\n" }, { "change_type": "MODIFY", "old_path": "build.gradle", "new_path": "build.grad...
Kotlin
Apache License 2.0
modelix/modelix
Serve ui-client static files from MPS Use this URL to open the UI http://127.0.0.1:63320/webmps-ui-svg-static/index.html
426,496
12.08.2019 14:19:23
-7,200
ab0f9be50f26eb7a85141b7bc14167c96d19568f
Adjust the URL to the model server
[ { "change_type": "MODIFY", "old_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.mps", "new_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.mps", "diff": "<node concept=\"1pGfFk\" id=\"3WN29Vk$1o7\" role=\"2ShVmc\">\n<ref role=\"37wK5l...
Kotlin
Apache License 2.0
modelix/modelix
Adjust the URL to the model server
426,496
12.08.2019 14:25:37
-7,200
bdb5c191b4179cf7c5caf425ea869d84b52fdbf5
Limit versions shown in the history view to 500
[ { "change_type": "MODIFY", "old_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.history.mps", "new_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.history.mps", "diff": "<child id=\"1068498886297\" name=\"rValue\" index=\"37vLTx\" />\...
Kotlin
Apache License 2.0
modelix/modelix
Limit versions shown in the history view to 500
426,496
12.08.2019 15:19:17
-7,200
11eba073955800047d63887a98450df30f315127
Adjust URL to ui-server
[ { "change_type": "MODIFY", "old_path": "ui-client/src/scripts/app.ts", "new_path": "ui-client/src/scripts/app.ts", "diff": "@@ -7,7 +7,7 @@ viewer1.tabIndex = -1;\nlet lastEventTime: number = 0;\n-const socket = new WebSocket(\"ws://\" + window.location.hostname + \":8391/\");\n+const socket = new W...
Kotlin
Apache License 2.0
modelix/modelix
Adjust URL to ui-server
426,496
12.08.2019 16:00:03
-7,200
25b7a26d3bb9174704212bcdeecb2d7f9e29d7a3
Apache 2 configuration
[ { "change_type": "ADD", "old_path": null, "new_path": "apache.conf", "diff": "+<VirtualHost *:80>\n+ ServerName model.webmps.q60.de\n+ ProxyRequests Off\n+ <Proxy *>\n+ Order deny,allow\n+ Allow from all\n+ </Proxy>\n+ ProxyPass / http://127.0.0.1:28101/\n+ ProxyPassReverse / http://127.0.0.1:28101/...
Kotlin
Apache License 2.0
modelix/modelix
Apache 2 configuration
426,496
13.08.2019 08:35:49
-7,200
acd938eeab68bf57f637110db68e14c8c73ea7cc
Remove TransientSModel/TransientSModule marker interfaces They disable auto quick fixes, which is necessary in shadow models, but not here.
[ { "change_type": "MODIFY", "old_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.mps", "new_path": "mps/de.q60.mps.web.model.mpsplugin/models/de.q60.mps.web.model.mpsplugin.mps", "diff": "</node>\n<node concept=\"2tJIrI\" id=\"7Zr9caIDD0a\" role=\"jymVt\" />\n<node co...
Kotlin
Apache License 2.0
modelix/modelix
Remove TransientSModel/TransientSModule marker interfaces They disable auto quick fixes, which is necessary in shadow models, but not here.
426,496
13.08.2019 15:57:48
-7,200
68f256e2c12e27a49a872a485182063be024880b
Rename de.q60.mps.shadowmodels.web.lib -> de.q60.mps.web.lib
[ { "change_type": "MODIFY", "old_path": "mps/.mps/modules.xml", "new_path": "mps/.mps/modules.xml", "diff": "<projectModules>\n<modulePath path=\"$PROJECT_DIR$/de.q60.mps.shadowmodels.web.dom/de.q60.mps.shadowmodels.web.dom.mpl\" folder=\"ui.shadowmodels\" />\n<modulePath path=\"$PROJECT_DIR$/de.q60....
Kotlin
Apache License 2.0
modelix/modelix
Rename de.q60.mps.shadowmodels.web.lib -> de.q60.mps.web.lib
426,496
13.08.2019 16:01:09
-7,200
e628a15510515041291e307ece5703af05aa7f8a
Rename de.q60.mps.shadowmodels.web.server -> de.q60.mps.web.ui.sm.server
[ { "change_type": "MODIFY", "old_path": "mps/.mps/modules.xml", "new_path": "mps/.mps/modules.xml", "diff": "<projectModules>\n<modulePath path=\"$PROJECT_DIR$/de.q60.mps.shadowmodels.web.dom/de.q60.mps.shadowmodels.web.dom.mpl\" folder=\"ui.shadowmodels\" />\n<modulePath path=\"$PROJECT_DIR$/de.q60....
Kotlin
Apache License 2.0
modelix/modelix
Rename de.q60.mps.shadowmodels.web.server -> de.q60.mps.web.ui.sm.server
426,496
13.08.2019 16:05:58
-7,200
d883410c61598184c9faa5a47f9057312d3962a2
Fix MPS build script
[ { "change_type": "MODIFY", "old_path": "mps/de.q60.mps.web.build/models/de.q60.mps.web.build.mps", "new_path": "mps/de.q60.mps.web.build/models/de.q60.mps.web.build.mps", "diff": "<node concept=\"398BVA\" id=\"7gF2HTvk5JG\" role=\"2HvfZ0\">\n<ref role=\"398BVh\" node=\"3$7Kuaihl5X\" resolve=\"webmps...
Kotlin
Apache License 2.0
modelix/modelix
Fix MPS build script
426,496
13.08.2019 16:09:44
-7,200
9f2caee14d4e1f9833b6039048ee5bb9081b6e5a
Rename de.q60.mps.shadowmodels.web.dom -> de.q60.mps.web.ui.sm.dom
[ { "change_type": "MODIFY", "old_path": "mps/.mps/modules.xml", "new_path": "mps/.mps/modules.xml", "diff": "<project version=\"4\">\n<component name=\"MPSProject\">\n<projectModules>\n- <modulePath path=\"$PROJECT_DIR$/de.q60.mps.shadowmodels.web.dom/de.q60.mps.shadowmodels.web.dom.mpl\" folder=\"ui...
Kotlin
Apache License 2.0
modelix/modelix
Rename de.q60.mps.shadowmodels.web.dom -> de.q60.mps.web.ui.sm.dom