Skip to content

Conversation

@saransh-dev
Copy link
Contributor

@saransh-dev saransh-dev commented Jan 13, 2018

…escription

Closes #3305
Closes #3332

Changes

  • make condition for description length.

Developer checklist

This checklist is to be completed by the PR developer:

  • Alternative solutions were compared/discussed before writing code
    • trade-offs with this solution are considered acceptable
  • Code in this PR adheres to the project styleguide
  • This pull request does not decrease project test coverage
  • If the code changes existing database collection(s), migration has been written
  • If UI texts are added or changed, all texts are internationalized

Reviewer checklist

Reviewed by: @marla-singer

This list is to be completed by the pull request reviewer:

  • Code works as described/expected
  • Code seems to be error free
    • no browser console errors visible
    • no server console errors visible
    • passes CI build
  • Code is written in a way that promotes maintainability
    • easy to understand
    • well organized
    • follows project coding standards and conventions
    • well documented

@ghost ghost assigned saransh-dev Jan 13, 2018
@ghost ghost added the in progress label Jan 13, 2018
// Use provided schema
urlSchema = result.schemes[0];
}
const description = result.info.description.length <= 1000 ?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be case when result.info.description is undefined and it will throw error.

hadle this cases

@ghost ghost added the in progress label Jan 16, 2018
Copy link
Contributor

@marla-singer marla-singer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works good

@marla-singer marla-singer merged commit f9d13ff into develop Jan 17, 2018
@ghost ghost removed the in progress label Jan 17, 2018
@marla-singer marla-singer deleted the bugfix/import-api-with-open-api-specification-skip-description branch January 17, 2018 12:12
@marla-singer marla-singer changed the title working on When importing API with open API specification, skip the d… When importing API with open API specification, skip the desription if it is too long Jan 17, 2018
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.

2 participants