Skip to content

Added nested formats, swagger generator support for formats, swagger operationId generation, path parameter validation#481

Merged
krulis-martin merged 20 commits intomasterfrom
nested-formats
Mar 19, 2025
Merged

Added nested formats, swagger generator support for formats, swagger operationId generation, path parameter validation#481
krulis-martin merged 20 commits intomasterfrom
nested-formats

Conversation

@eceltov
Copy link
Collaborator

@eceltov eceltov commented Mar 15, 2025

  • Nested formats are now supported
  • Swagger generator now correctly generates example values for formats and nested formats
  • PATH parameters are now validated
  • PATH and QUERY parameters are now validated with a different validation method. Each validator now has a validateText and validateJson method. By default, only validateJson is used, but the constructors of PATH and QUERY annotation attributes set the validation method to validateText. Although the addition of value preprocessors would not require each validator to define two validation methods, a new mechanism for the retrieval of preprocessed values would have to be added and used by all endpoints.

@krulis-martin krulis-martin merged commit 9622231 into master Mar 19, 2025
12 checks passed
@krulis-martin krulis-martin deleted the nested-formats branch March 19, 2025 22:48
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