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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add title property to ping response schema definition #4288

Merged
merged 1 commit into from Dec 11, 2019

Conversation

derdeka
Copy link
Contributor

@derdeka derdeka commented Dec 11, 2019

Add title property to ping response schema definition in order to enable better model
generation by third party tools such as https://github.com/OpenAPITools/openapi-generator .

Without a title property the generator would simply name the ping response as InlineResponse200. By adding the title property, the tooling can produce a model named after the object title.

Similar to #4240

Checklist

馃憠 Read and sign the CLA (Contributor License Agreement) 馃憟

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

馃憠 Check out how to submit a PR 馃憟

@raymondfeng raymondfeng merged commit b8b7490 into loopbackio:master Dec 11, 2019
@dhmlau
Copy link
Member

dhmlau commented Dec 19, 2019

In case you're interested, there is a LoopBack Developer badge for those who made contributions to LoopBack. Please check this out: https://www.ibm.com/services/learning/ites.wss/zz-en?pageType=badges&id=0de05804-8037-4791-ac83-09829b566d51. Thanks!

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.

None yet

3 participants