Skip to content

Conversation

hcmlinj
Copy link

@hcmlinj hcmlinj commented Mar 20, 2025

What type of PR is this?

To ensure compatibility with Go 1.18, we have fixed the kin-openapi version at v0.118.0 and added a replace directive in go.mod to prevent accidental updates.

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes: #52

(optional) The PR that updates user documentation:

Verify Screenshot:

Before

image

After

image

@meguminnnnnnnnn
Copy link
Contributor

Hi, thinks for your suggestion.

We have set up a workflow to ensure that each PR is correct and can run smoothly, so the version of this repository will not be upgraded incorrectly.
Additionally, the 'replace' in the lib's go.mod will not take effect in the main repository, so setting 'replace' in this repository is not very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

cannot use openapi3.TypeObject (untyped string constant "object") as *openapi3.Types value in struct literal
2 participants