Skip to content

Commit

Permalink
Fix title trait selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase Coalwell authored and mtdowling committed Apr 18, 2020
1 parent 0febb86 commit b7c1020
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/source/spec/core/documentation-traits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,13 @@ tags trait are arbitrary and up to the model author.
---------------

Summary
Defines a proper name for a service or operation shape. This title can be
Defines a proper name for a service or resource shape. This title can be
used in automatically generated documentation and other contexts to
provide a user friendly name for services and operations.
provide a user friendly name for services and resources.
Trait selector
``:test(service, operation)``
``:test(service, resource)``

*Any service or operation*
*Any service or resource*
Value type
``string``

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,12 @@ list tags {
member: String
}

/// Defines a proper name for a service or operation shape.
/// Defines a proper name for a service or resource shape.
///
/// This title can be used in automatically generated documentation
/// and other contexts to provide a user friendly name for services
/// and resources.
@trait(selector: ":test(service, operation)")
@trait(selector: ":test(service, resource)")
string title

/// Constrains the acceptable values of a string to a fixed set
Expand Down

0 comments on commit b7c1020

Please sign in to comment.