Skip to content

feat: handle < and > in property or type names #1740

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

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

ansoni
Copy link
Contributor

@ansoni ansoni commented Aug 27, 2024

Hello,
I have a spec that utilizes property keynames with:

  • =
  • >
  • >=

= correctly resolves to Equals, but > and >= both resolve to an empty string.

This PR adds support to resolve > and <

ansoni added 2 commits August 26, 2024 20:57
Update to GreaterThan/LessThan
@ansoni ansoni requested a review from a team as a code owner August 27, 2024 04:10
@ccoVeille
Copy link

Is there any unit tests you could update or add?

@jamietanna jamietanna added this to the v2.4.0 milestone Aug 27, 2024
@jamietanna jamietanna enabled auto-merge (squash) September 20, 2024 10:07
Copy link
Member

@jamietanna jamietanna left a comment

Choose a reason for hiding this comment

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

Thank you!

@jamietanna jamietanna merged commit bb8696c into oapi-codegen:main Sep 20, 2024
14 checks passed
@jamietanna jamietanna changed the title Allow typeNamePrefix to be capable of resolving > and < feat: handle < and > in property or type names Sep 20, 2024
@jamietanna jamietanna changed the title feat: handle < and > in property or type names feat: handle < and > in property or type names Sep 20, 2024
@jamietanna jamietanna added the enhancement New feature or request label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy