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

Remove wrong format for boolean value in api definition #18783

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

sll552
Copy link
Contributor

@sll552 sll552 commented Jun 2, 2023

Thank you for contributing to Harbor!

Comprehensive Summary of your change

type: boolean cannot be used with a format of int32

This for example hinders parsing of the api definition by other tools such as https://github.com/OpenAPITools/openapi-generator

Issue being fixed

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

type: boolean cannot be used with a format of int32

Signed-off-by: sll552 <[email protected]>
@sll552 sll552 requested a review from a team as a code owner June 2, 2023 10:15
Copy link
Contributor

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

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

lgtm

@codecov
Copy link

codecov bot commented Jun 2, 2023

Codecov Report

Merging #18783 (bd6ddbd) into main (680c78d) will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #18783      +/-   ##
==========================================
+ Coverage   67.34%   67.37%   +0.03%     
==========================================
  Files         980      980              
  Lines      106831   106829       -2     
  Branches     2665     2665              
==========================================
+ Hits        71949    71980      +31     
+ Misses      31016    30979      -37     
- Partials     3866     3870       +4     
Flag Coverage Δ
unittests 67.37% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 8 files with indirect coverage changes

@chlins chlins added the release-note/update Update or Fix label Jun 2, 2023
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

@chlins chlins merged commit 9d28d1f into goharbor:main Jun 2, 2023
@OrlinVasilev
Copy link
Member

@sll552 congrats on merging your first PR here :) welcome to the club :)

WilfredAlmeida pushed a commit to WilfredAlmeida/harbor that referenced this pull request Jul 8, 2023
type: boolean cannot be used with a format of int32

Signed-off-by: sll552 <[email protected]>
Signed-off-by: Wilfred Almeida <[email protected]>
WilfredAlmeida pushed a commit to WilfredAlmeida/harbor that referenced this pull request Jul 8, 2023
type: boolean cannot be used with a format of int32

Signed-off-by: sll552 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/update Update or Fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants