pass-thru:
- model-deduplicator
- subset-reducer
use-extension:
"@autorest/modelerfour": "4.18.1"
pipeline:
# --- extension remodeler ---
# "Shake the tree", and normalize the model
modelerfour:
input: openapi-document/multi-api/identity # the plugin where we get inputs from
additional-checks: true
lenient-model-deduplication: false
flatten-models: true
flatten-payloads: false
remove-empty-child-schemas: false
naming:
choiceValue: upper
preserve-uppercase-max-length: 2
override:
ip: Ip
id: Id
# allow developer to do transformations on the code model.
modelerfour/new-transform:
input: modelerfour
fluentnamer:
input: modelerfour/identity
naming:
override:
eTag: etag
userName: username
metaData: metadata
timeStamp: timestamp
hostName: hostname
webHook: webhook
coolDown: cooldown
resourceregion: resourceRegion
sTag: stag
tagname: tagName
tagvalue: tagValue
Files
Latest commit
This branch is 768 commits ahead of, 1316 commits behind Azure/autorest.java:main.
fluentnamer
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||