Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong model titles for primitive datatypes #3633

Closed
McShelby opened this issue Sep 4, 2017 · 0 comments · Fixed by #3676
Closed

Wrong model titles for primitive datatypes #3633

McShelby opened this issue Sep 4, 2017 · 0 comments · Fixed by #3676

Comments

@McShelby
Copy link

McShelby commented Sep 4, 2017

Using primitive datatypes as a base for own datatypes, doesn't render the title attribute.

Definition:

swagger: 2.0
...
definitions:
  ModelInteger:
    title: My Integer Title
    type: integer
  ModelObject:
    title: My Object Title
    type: object

Expected result:

My Integer Title
My Object Title

Current result (3.1.7):

ModelInteger
My Object Title

@owenconti owenconti self-assigned this Sep 17, 2017
shockey added a commit that referenced this issue Sep 20, 2017
@lock lock bot unassigned owenconti Jul 2, 2019
@lock lock bot locked and limited conversation to collaborators Jul 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants