This log was last generated on Thu, 13 Apr 2023 04:20:09 GMT and should not be manually modified.
Thu, 13 Apr 2023 04:20:09 GMT
- Fix issue with multipart request body could cause circular reference
Wed, 07 Dec 2022 22:24:34 GMT
- Support final-state-schema lro option
- Update dependencies
Thu, 03 Nov 2022 18:44:18 GMT
- Add support for specifying
api-version
parameter in the server variables
Thu, 22 Sep 2022 15:51:02 GMT
- Fix duplicate $host when using {nextLink} param
Fri, 12 Aug 2022 19:53:22 GMT
- Bump @autorest/codemodel with missing
ArmIdSchema
from yaml schema
Mon, 08 Aug 2022 16:48:55 GMT
- Fix
format: arm-id
wasn't doing anything
Tue, 19 Jul 2022 15:09:55 GMT
- Added support for
format:arm-id
creating a ]ArmIdSchema
to represent Azure Resource Manager Resource Identifiers - Added: Include
externalDocs
information in codemodel - Treat
format: uri
asformat: url
- Errors emitted in 'modelerfour' step will have sourcemap.
- Improved 'name is empty' error to contain more information.
Fri, 27 May 2022 15:55:11 GMT
- Fix issue with having
application/json
andapplication/x-www-form-urlencoded
content type for the request body. Json now takes precedence
Wed, 18 May 2022 02:34:13 GMT
- Fix name bgeneration for contenttype and accept parameters only incrementing to 1
Mon, 09 May 2022 15:29:40 GMT
- Fix
x-ms-client-flatten
defined at the root of the model would always flatten that model when referemced in properties
Tue, 03 May 2022 20:20:34 GMT
- Fix issue when using unknown media types with a known one. Ignore those.
Thu, 07 Apr 2022 20:47:30 GMT
- Modelerfour set correct known media type when
application/json
withtype: string
Mon, 21 Mar 2022 15:38:03 GMT
- Fix: Request body with
type: string, format: bytes|duration|date-time
being treated as string instead of base64 json
Tue, 15 Mar 2022 16:00:38 GMT
- Add support for setting original
operationId
on operation - Update to the logic for resolving operation requests. Group request by body types instead of content-types to prevent overload issues"
- Generalize security scheme by allowing AAD Token
- Added support for special headers: headers automatically handled by the generator
- Uptake change in typing in openapi library
Tue, 07 Dec 2021 16:58:46 GMT
- fix discriminator value added to top level if it has some allOf
Mon, 06 Dec 2021 20:16:04 GMT
- Fix Flattened models with duplicate properties using
AutoGenerated
name instead of flattened path based
Mon, 22 Nov 2021 21:55:51 GMT
Version update only
Fri, 19 Nov 2021 04:23:42 GMT
- Uptake change to extension-base to provide sourcemap support for errors
- Added Support for overriding shared param description
- Fix issue with properties causing name conflict when consecutive words are deduplicated
Mon, 04 Oct 2021 18:15:27 GMT
- Fix Flatten nullable property doesn't propagate.
- Internal remove use of string and array extension method
.last
.
Wed, 29 Sep 2021 15:39:07 GMT
- Fix Unknown format for number schema should not be an error.
Wed, 22 Sep 2021 15:23:39 GMT
- Fix log error when using parameter with
content.<mediaType>
as not being supported
Thu, 16 Sep 2021 18:49:17 GMT
- Add validation when schema use allOf referencing a schema with a different type
- Tweak Better error message when enum has an empty value
Wed, 08 Sep 2021 15:39:22 GMT
- Internal Remove @azure-tools/linq library"
- Perf Modified yaml dump improving serialization
- Fix Dictionaries don't get xml serialization information passed into codemodel
Mon, 19 Jul 2021 15:15:41 GMT
- Added support for anonymous security scheme
- Added New option to make Content-Type extensible
- Added Configuration to ignore certain header names from being added to the model parameters lists
- Change Single-value enums are extensible by default and will not generate a constant
- Drop support for node 10
- Perf Flattener major performance improvement for large specs
- Fix Ciruclar reference issue when using allOf parent referencing back to child in properties
- Improve Duplicate schema resolution
Thu, 03 Jun 2021 22:37:55 GMT
- Fix Allow empty paths in operation
Thu, 20 May 2021 16:41:13 GMT
- Immproved error message for duplicate operations
Tue, 04 May 2021 18:18:45 GMT
- Fix Using multiple security layers(
AND
) now produce warning instead of error.
Tue, 27 Apr 2021 17:48:43 GMT
- Added Distinction between anything and anyobject
- Added Support for openapi deprecation
- Added Support known set of security scheme
- Perf Major performance improvment to duplicate schema finder
Mon, 19 Apr 2021 21:06:54 GMT
- Fix Enum defined just with allOf of other enum
- Typo Ambigious -> Ambiguous
Tue, 13 Apr 2021 21:32:54 GMT
- Fix Enum without type resulting in null values
Fri, 09 Apr 2021 19:53:22 GMT
- Fix api-version-mode configuration not working if not auto
Thu, 01 Apr 2021 15:46:41 GMT
- Bump @azure-tools/uri version to ~3.1.1
- Cleanup Migrated use of require -> es6 imports
- Update how binary request body are treated if the content-type is not binary: Group all binary body together to prevent multiple method overload with same parameter
- Fix Some unhandled promises
Tue, 16 Mar 2021 15:52:56 GMT
- Change let single value enum parameters be able to be grouped.
- Feature Support using
allOf
in enum to reference a parent enum. All the parent choices will be flattened in the child enum
- Respect OpenAPI3 discriminator mapping
- Bump dependencies versions
Fri, 05 Mar 2021 16:31:29 GMT
- Allow server variables to provide a string format(url, uri, etc.)
Fri, 26 Feb 2021 21:50:13 GMT
- Fix Don't add a duplicate Content-Type parameter if it is already provided in the spec
- Fix x-ms-header-collection-prefix injected dictionary not defined in the list of schemas
Fri, 19 Feb 2021 21:42:09 GMT
- Change Body parmaeters for a
formData
body will be seperate parameters in the generated model instead of being grouped in a body object.
- Change property redefinition error when changing type into a warning to allow polymorphism
Thu, 11 Feb 2021 18:03:07 GMT
- Internals Update chalk dependency to ^4.1.0
Mon, 08 Feb 2021 23:06:15 GMT
- Set
isInMultipart: true
for multipart parameters
Thu, 04 Feb 2021 19:05:18 GMT
- Migrate bundling system from static-link to webpack
- Fix the use of circular dependencies in additionalProperties PR #3819
- Internal code linting fixes
- Internal: Move out test custom matchers to seperate package
- Rename @azure-tools/autorest-extension-base dependency to new @autorest/extension-base pkg
Thu, 28 Jan 2021 00:22:27 GMT
- Fix static linking issue with modelerfour resulting in incompatible dependency.
Tue, 26 Jan 2021 21:36:02 GMT
- Update modelerfour to use renamed package @azuretools/codemodel -> @autorest/codemodel.
- Fix Missing description in responses. (PR 370)
- Feature Added new flag
always-create-accept-parameter
to enable/disable accept param auto generation. (PR 366) - Fix Allow request with body being a file and
application/json
content-type. (PR 363) - Fix Dictionaries of dictionaries not being modeled as such(
dict[str, object]
instead ofdict[str, dict[str, str]]
). (PR 372) - Fix Issue with sibling models(Model just being a ref of another) causing circular dependency exception. (PR 375)
- Fix Issue with duplicates schemas names due to consequtive name duplicate removal. (PR 374)
- Schemas with
x-ms-enum
'smodelAsString
set totrue
will now be represented asChoiceSchema
even with a single value. Accept
headers are now automatically added to operations having responses with content types- Added
always-seal-x-ms-enum
settings to always createSealedChoiceSchema
when anx-ms-enum
is encountered
- added
exception
SchemaContext forusage
when used as an exception response - changed
output
SchemaContext forusage
to no longer include exception response uses
- add security info (checks to see if
input.components?.securitySchemes
has any content) - sync version of m4 and perks/codemodel == 4.13.x
- adding quality prechecker step as a way to test the OAI document for quality before modelerfour runs.
- report duplicate parents via allOf as an error.
- added
modelerfour.lenient-model-deduplication
to cause schemas with duplicated names to be renamed with anAutoGenerated
suffix. Note that this is a temporary measuer that should only be used when Swaggers cannot be updated easily. This option will be removed in a future version of Modeler Four.
- updated CI to build packages
- any is in a category in schemas
- times is a new category in schemas (not populated yet, next build)
- polymorphic payloads are not flattened (when it's the class that declares the discriminator)
- readonly is pulled from the schema if it's there
- body parameters should have the required flag set correctly
- content-type is now a header parameter (wasn't set before)
- added
modelerfour.always-create-content-type-parameter
to always get the content type parameter even when there are only one option. - add support for x-ms-api-version extension to force enabling/disabling parameter to be treated as an api-version parameter
- the checker plugin will now halt on errors (can be disabled by
modelerfour.additional-checks: false
) - when an enum without type is presented, if the values are all strings, assume 'string'
- flatten parents first for consistency
- added choiceType for content-type schema
- add additional checks for empty names, collisions
- fix errant processing on APString => Apstring
- x-ms-client-name fixes on parameters
- added setting for
preserve-uppercase-max-length
to preserve uppercase words up to a certain length.
- static linking libraries for stability
- processed all names in namer, styles can be set in config (see below):
- support overrides in namer
- static linked dependency
- parameter grouping
- some namer changes
- flattening (model and payload) enabled.
- properties should respect x-ms-client-name (many fixes)
- global parameters should try to be in order of original spec
- filter out 'x-ms-original' from extensions
- add serializedName for host parameters
- make sure reused global parameter is added to method too
- processed values in constants/enums a bit better, support AnySchema for no type/format
- support server variable parameters as method unless they have x-ms-parameter-location
- add
style
to parameters to support collection format potential-breaking-change
Include common paramters from oai/path #68 (requires fix from autorest-core 3.0.6160+ )- propogate extensions from server parameters (ie, x-ms-skip-url-encoding) #61
potential-breaking-change
make operation groups case insensitive. #59potential-breaking-change
sealedChoice/Choice selection was backwards ( was creating a sealedchoice schema for modelAsString:true and vice versa) #62potential-breaking-change
drop constant schema from response, use constantschema's valueType instead. #63potential-breaking-change
fix body parameter marked as required when not marked so in spec. #64
- query parameters should have a serializedName so that they don't rely on the cosmetic name property.
-
version bump, change your configuration to specify version
~4.1.0
or greateruse-extension: "@autorest/modelerfour" : "~4.1.0"
-
each Http operation (via
.protocol.http
) will now have a separatepath
anduri
properties.
Both are still templates, and will have parameters.
The parameters for theuri
property will havein
set toParameterLocation.Uri
The parameters for thepath
property will continue to havein
set toParameterLocation.Path
-
autorest-core recently added an option to aggressively deduplicate inline models (ie, ones without a name) and modeler-four based generator will have that enabled by default. (ie
deduplicate-inline-models: true
)
This may increase deduplication time on extremely large openapi models. -
this package contains the initial code for the flattener plugin, however it is not yet enabled.
-
updated
@azure-tools/codemodel
package to3.0.241
:uri
(required) was added toHttpRequest
flattenedNames
(optional) was added toProperty
(in anticipation of supporting flattening)
-