Skip to content

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
@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