Skip to content

Add display name for tags - #152

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

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

Conversation

@bfirsh

@bfirsh bfirsh commented Dec 5, 2016

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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

RomanHotsiy commented Dec 5, 2016

Copy link
Copy Markdown
Member

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

@RomanHotsiy

Copy link
Copy Markdown
Member

FYI: new version v1.6.2 has been released

@bfirsh

bfirsh commented Dec 14, 2016

Copy link
Copy Markdown
Contributor Author

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 <ben@firshman.co.uk>
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 <ben@firshman.co.uk>
(cherry picked from commit 0caa6c2)
Signed-off-by: Victor Vieux <vieux@docker.com>
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 <ben@firshman.co.uk>
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