Skip to content

Remove abbreviation from aws.api#service docs#532

Merged
mtdowling merged 1 commit intomasterfrom
remove-abbreviation
Aug 19, 2020
Merged

Remove abbreviation from aws.api#service docs#532
mtdowling merged 1 commit intomasterfrom
remove-abbreviation

Conversation

@mtdowling
Copy link
Copy Markdown
Member

The abbreviation property in aws.api#service was not actually supported
by the underlying Smithy model for the trait. We intended to remove this
from Smithy 1.0, but it was a miss. The abbreviation property is no
longer necessary since we now have the service ID property via sdkId.
The abbreviation property was also problematic since lots of entries
across services didn't make sense (like a value longer than the title).
Trying to define an abbreviation will emit a warning but will not break
builds (this is actually the current behavior too since it wasn't
defined in the model).

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The abbreviation property in aws.api#service was not actually supported
by the underlying Smithy model for the trait. We intended to remove this
from Smithy 1.0, but it was a miss. The abbreviation property is no
longer necessary since we now have the service ID property via sdkId.
The abbreviation property was also problematic since lots of entries
across services didn't make sense (like a value longer than the title).
Trying to define an abbreviation will emit a warning but will not break
builds (this is actually the current behavior too since it wasn't
defined in the model).
Copy link
Copy Markdown
Contributor

@JordonPhillips JordonPhillips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add the deprecated trait to the abbreviation member too

@mtdowling mtdowling merged commit 2fefe1e into master Aug 19, 2020
@mtdowling mtdowling deleted the remove-abbreviation branch September 14, 2020 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants