Skip to content

Add display name for tags#152

Merged
RomanHotsiy merged 2 commits intoRedocly:masterfrom
bfirsh:add-tag-display-name
Dec 5, 2016
Merged

Add display name for tags#152
RomanHotsiy merged 2 commits intoRedocly:masterfrom
bfirsh:add-tag-display-name

Conversation

@bfirsh
Copy link
Contributor

@bfirsh bfirsh commented Dec 5, 2016

In go-swagger, the name of the tag determines the directory that generated files end up in. Also, we want the tag names to be consistent with operationIds.

Unfortunately, these make bad names for menu items, so we want to have a way of specifying human-friendly names for the menu.

In go-swagger, the name of the tag determines the directory that
generated files end up in. Also, we want the tag names to be
consistent with operationIds.

Unfortunately, these make bad names for menu items, so we want
to have a way of specifying human-friendly names for the menu.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 84.395% when pulling d88fe7d on bfirsh:add-tag-display-name into 7b42507 on Rebilly:master.

@RomanHotsiy RomanHotsiy merged commit 82b52bf into Redocly:master Dec 5, 2016
@RomanHotsiy
Copy link
Member

RomanHotsiy commented Dec 5, 2016

@bfirsh awesome PR!
Thanks.
Will be included in the next release (till the end of the week)

@RomanHotsiy
Copy link
Member

FYI: new version v1.6.2 has been released

@bfirsh
Copy link
Contributor Author

bfirsh commented Dec 14, 2016

Sweet - thanks!

@bfirsh bfirsh deleted the add-tag-display-name branch December 14, 2016 11:41
bfirsh added a commit to bfirsh/docker that referenced this pull request Dec 14, 2016
In moby#29071, we made the tags the correct name for generating types,
at the expense of the menu in the documentation looking good.

ReDoc now has support for tag display names
( Redocly/redoc#152 ), so we can assign
a more human-friendly name to the menu items.

Signed-off-by: Ben Firshman <[email protected]>
vieux pushed a commit to vieux/docker that referenced this pull request Dec 14, 2016
In moby#29071, we made the tags the correct name for generating types,
at the expense of the menu in the documentation looking good.

ReDoc now has support for tag display names
( Redocly/redoc#152 ), so we can assign
a more human-friendly name to the menu items.

Signed-off-by: Ben Firshman <[email protected]>
(cherry picked from commit 0caa6c2)
Signed-off-by: Victor Vieux <[email protected]>
xianlubird pushed a commit to xianlubird/docker that referenced this pull request Dec 23, 2016
In moby#29071, we made the tags the correct name for generating types,
at the expense of the menu in the documentation looking good.

ReDoc now has support for tag display names
( Redocly/redoc#152 ), so we can assign
a more human-friendly name to the menu items.

Signed-off-by: Ben Firshman <[email protected]>
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