Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
f971277
Update usage message in cmd/validate (#1150)
fenollp Apr 19, 2026
3bc7605
openapi3: fix determinism when handling discriminator mappings (#1151)
fenollp Apr 19, 2026
22cc09f
feat: bump Go to 1.26 (#1152)
fenollp Apr 20, 2026
4f2f11e
openapi3: use componentNames in func (*Components) Validate(..)
fenollp Apr 20, 2026
03dfede
openapi3: use componentNames when validating Extensions
fenollp Apr 20, 2026
235a3c5
openapi3: replace slices.Sort() uses with componentNames()
fenollp Apr 21, 2026
deed08c
ci: fix running go-generate
fenollp Apr 21, 2026
1b1fa9e
openapi3: optimize generated refs Validate
fenollp Apr 21, 2026
598874f
openapi3: replace slices.Sort() uses with componentNames() in generat…
fenollp Apr 21, 2026
bf84051
openapi3: use maps.Copy instead of loops
fenollp Apr 21, 2026
0140d51
openapi3: use deterministic iteration in more (all?) places
fenollp Apr 21, 2026
4129efc
refacto: use greppable type declarations
fenollp Apr 21, 2026
31dcf0d
refacto: prefer strings.SplitSeq() when range-ing
fenollp Apr 21, 2026
f88da3d
feat: add OpenAPI 3.1 support
reuvenharrison Feb 9, 2026
24316fd
fix: resolve $ref in OpenAPI 3.1 schema fields (prefixItems, contains…
reuvenharrison Feb 7, 2026
7396556
fix: recurse into OpenAPI 3.1 fields in transformOpenAPIToJSONSchema
reuvenharrison Feb 7, 2026
5214ff3
fix: validate sub-schemas in OpenAPI 3.1 schema fields
reuvenharrison Feb 7, 2026
fd0e2db
feat: add const keyword validation to built-in validator
reuvenharrison Feb 9, 2026
1e54f1a
fix: improve OpenAPI 3.1 spec compliance
reuvenharrison Feb 9, 2026
b47ac58
feat: add remaining JSON Schema 2020-12 keywords and improvements
reuvenharrison Feb 9, 2026
4b5753f
style: fix go fmt formatting
reuvenharrison Feb 9, 2026
4cefcc7
fix: resolve 8 correctness issues in OpenAPI 3.1 support
reuvenharrison Feb 10, 2026
4cc14d2
fix: avoid CI lint match in OPEN_ISSUES.md
reuvenharrison Feb 10, 2026
d820167
chore: remove OPEN_ISSUES.md from repo
reuvenharrison Feb 10, 2026
f7c361a
fix: resolve 8 additional OpenAPI 3.1 issues
reuvenharrison Feb 10, 2026
25a8521
feat: add $schema, $defs keywords and fix remaining issues
reuvenharrison Feb 10, 2026
7da106e
fix: strip __origin__ from Const and Examples in Schema.UnmarshalJSON
reuvenharrison Mar 15, 2026
b261bf4
fix: strip __origin__ from Encoding, Variables, and Webhooks maps
reuvenharrison Mar 16, 2026
52c10e3
feat: honour $ref sibling keywords in OAS 3.1 (e.g. deprecated:true)
reuvenharrison Apr 7, 2026
ec83240
docs: regenerate openapi3.txt after refs.go header update
reuvenharrison Apr 7, 2026
d50fa56
fix: support boolean form for unevaluatedProperties and unevaluatedItems
reuvenharrison Apr 14, 2026
048762f
docs: regenerate openapi3.txt after BoolSchema type change
reuvenharrison Apr 14, 2026
00b72ea
chore: bump yaml3 to v0.0.12 for unconditional field origin tracking
reuvenharrison Apr 15, 2026
41b3796
test: verify origin tracking for mapping-valued schema fields
reuvenharrison Apr 16, 2026
d6f6b40
docs: update README changelog entry to v0.136.0
reuvenharrison Apr 23, 2026
ae2c5e8
openapi3: set OpenAPI version-picking API to doc.IsOpenAPI30, doc.IsO…
fenollp Apr 18, 2026
d7e7f11
openapi3: make sure API is tested from outside its package
fenollp Apr 18, 2026
2e46632
openapi3: replace EnableJSONSchema2020Validation func with IsOpenAPI3…
fenollp Apr 18, 2026
71925da
openapi3: simplify some code
fenollp Apr 18, 2026
0ed4dcc
openapi3: tune openapi3.1 new fields doc comments
fenollp Apr 18, 2026
49bf48f
openapi3: lets not skip checking errors
fenollp Apr 18, 2026
107fd89
openapi3: fix impl of (Schema) MarshalYAML() (any, error)
fenollp Apr 18, 2026
54eb7d8
openapi3: rename visitJSONWithJSONSchema to useJSONSchema2020
fenollp Apr 18, 2026
5fd876c
openapi3: fix (License) MarshalYAML()
fenollp Apr 18, 2026
8d82fe8
openapi3: fix license field validation, post 3.1
fenollp Apr 18, 2026
12217d6
openapi3: fix openapi struct validation, post 3.1
fenollp Apr 18, 2026
5aacfe6
openapi3: fix validating schema.Default
fenollp Apr 18, 2026
de2ded8
fix and optimize generated ref Validate
fenollp Apr 18, 2026
5438591
openapi3: fix: schema sibling fields are an OpenAPI3.1 feature
fenollp Apr 18, 2026
b9bdc1b
openapi3: notes on TestSchemaRefSiblingKeyword
fenollp Apr 19, 2026
39d510b
openapi3: finally document func (*Schema) VisitJSON(any, ...SchemaVal…
fenollp Apr 19, 2026
aea6b29
openapi3: revert regression on validating SecurityScheme.Type==mutual…
fenollp Apr 19, 2026
f07c782
openapi3: complete applySiblingSchemaFields with all Schema fields
reuvenharrison Apr 21, 2026
78a8537
openapi3: extract validateExtras helper for all Ref types
reuvenharrison Apr 21, 2026
8e3e039
openapi3: validate $ref siblings at nested SchemaRefs, fixing 3.0 reg…
reuvenharrison Apr 21, 2026
1199dca
openapi3: update TestIssue601 — lxkns.yaml has description siblings t…
reuvenharrison Apr 21, 2026
58db6dc
openapi3: gate OAS 3.1 schema fields from OAS 3.0 validation
reuvenharrison Apr 21, 2026
959d1c6
openapi3: update tests for OAS 3.1 field gate
reuvenharrison Apr 21, 2026
75e961a
fix: handle git ref paths in join() for $ref resolution
reuvenharrison Apr 20, 2026
49b506c
openapi3: add JoinFunc callback for custom path resolution
reuvenharrison Apr 21, 2026
14a3d70
docs: regenerate openapi3.txt after JoinFunc addition
reuvenharrison Apr 21, 2026
6c33a26
fix: lowercase example output to pass CI lint
reuvenharrison Apr 21, 2026
cf15b18
test: remove redundant TestJoinFunc (covered by ExampleLoader_JoinFunc)
reuvenharrison Apr 21, 2026
85f480b
fix: remove trailing blank line in loader_test.go
reuvenharrison Apr 21, 2026
49d3dd9
openapi3: add many many tests with TestV3ApisGuruOpenapiDirectory
fenollp Apr 20, 2026
d514564
openapi3: record failures as openapi3/testdata/apis_guru_openapi_dire…
fenollp Apr 20, 2026
227ee56
openapi2: add many many tests with TestV2ApisGuruOpenapiDirectory
fenollp Apr 23, 2026
3492498
openapi2: record failures as openapi2/testdata/apis_guru_openapi_dire…
fenollp Apr 23, 2026
77e911a
openapi3: record failures after rebasing on top of #1125
fenollp Apr 24, 2026
3179775
openapi3: enable testing for 3.1 documents
fenollp Apr 24, 2026
3aa08cd
openapi3: record v3.1 load/validation test failures
fenollp Apr 24, 2026
3489553
openapi3: skip v3.1 load/validation flaky tests
fenollp Apr 24, 2026
5a0a337
openapi3: remove map-iteration order leaks causing flaky tests (#1158)
cloudnativeninja Apr 24, 2026
3556929
openapi2conv: nil-guard components lookup in FromV3SchemaRef (#1156)
SAY-5 Apr 25, 2026
df95b87
address various lint errors
fenollp Apr 21, 2026
cc4f8d9
refacto: replace `openapi3.*Ptr(..)` funcs with `new(..)`
fenollp Apr 23, 2026
028df2a
refacto(tests): use t.Context instead of context.Background
fenollp Apr 25, 2026
ff4bce7
fix and upgrade goimports-reviser
fenollp Apr 25, 2026
b641244
revert to go 1.25 and revert cc4f8d99
fenollp Apr 28, 2026
3342b7c
openapi3gen: clear nullable on exported component bodies
0-don May 3, 2026
4ddafd1
openapi3: add test for issue #927 (nullable not respected on $ref sch…
brandonbloom Mar 29, 2024
3405d3b
test: move public-API tests to external _test packages (#1168)
fenollp May 7, 2026
03ab662
feat(openapi3): add per-type validation errors with cluster wrappers …
reuvenharrison May 7, 2026
72d9005
feat(openapi3conv): canonicalization pass for 3.0 -> 3.x (#1162)
reuvenharrison May 8, 2026
d237575
openapi3conv: test Upgrade on many documents (#1169)
fenollp May 8, 2026
d53c8eb
feat(openapi3): batch-convert long-tail RequiredFieldError sites (#1170)
reuvenharrison May 9, 2026
acd329f
feat(openapi3): MutuallyExclusiveFieldsError cluster for forbidden fi…
reuvenharrison May 8, 2026
0c83c08
feat(openapi3): add SchemaReadOnlyWriteOnlyExclusive leaf to Mutually…
reuvenharrison May 8, 2026
96dfd34
feat(openapi3): ForbiddenFieldError cluster for set-but-not-allowed f…
reuvenharrison May 8, 2026
7a0ab26
feat(openapi3): RequiredFieldError leaves for parameter.name, respons…
reuvenharrison May 8, 2026
6c0f411
feat(openapi3): ServerURLTemplateError cluster for server URL templat…
reuvenharrison May 8, 2026
d9c50f7
feat(openapi3): EitherFieldRequiredError cluster and SchemaItemsRequi…
reuvenharrison May 8, 2026
b44d504
feat(openapi3): RequiredFieldError leaves for doc-root info/paths and…
reuvenharrison May 8, 2026
694ea77
feat(openapi3): SchemaBothFormsExclusive cluster for union-typed sche…
reuvenharrison May 8, 2026
75b6de3
feat(openapi3): ExactlyOneFieldError + SingleEntryContentError cluste…
reuvenharrison May 8, 2026
d22d51c
test: use require.ErrorContains per repo lint
reuvenharrison May 8, 2026
a38eb14
feat(openapi3): WebhookNilError for nil pathitem in T.Validate webhoo…
reuvenharrison May 8, 2026
e8145f8
docs: regenerate openapi3.txt for combined branch
reuvenharrison May 9, 2026
94286d9
openapi3gen: skip component export for anonymous types
0-don May 3, 2026
7633481
feat: migrate to oasdiff/yaml v0.1.0 single Unmarshal API + enable Di…
reuvenharrison May 12, 2026
c61836c
ci: fixup lint after modifications to marsh.go
fenollp May 13, 2026
55a4c72
openapi3: re-enable tests disabled due to YAML dates in map keys
fenollp May 13, 2026
0a89925
un-patch YAML serialization of dates (see issue #697)
fenollp May 13, 2026
69492df
openapi3: typed context errors for Validate() wrapper chain (#1183)
reuvenharrison May 14, 2026
dc70f84
openapi3: track Origin on the document root (T) (#1184)
reuvenharrison May 15, 2026
7ea1ac8
openapi3: tests flakiness corrected (#1159)
fenollp May 15, 2026
e56c2c7
openapi3: aggregate independent validation errors via EnableMultiErro…
reuvenharrison May 16, 2026
d29b5c0
openapi3: fix validation of duplicated path templates (#1189)
reuvenharrison May 20, 2026
8381bfc
openapi3: type the remaining bare-error validation sites (#1187)
reuvenharrison May 21, 2026
d8e66f8
[WIP] Origin: carry block end (EndLine/EndColumn) on Key
reuvenharrison Jun 24, 2026
6b22af7
Bump oasdiff/yaml3 to v0.0.14 + oasdiff/yaml to v0.1.1; record Origin…
reuvenharrison Jun 25, 2026
2fd3d49
Regenerate openapi3.txt API docs for Origin EndLine/EndColumn
reuvenharrison Jun 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/docs/openapi2conv.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ func FromV3Responses(responses map[string]*openapi3.ResponseRef, components *ope
func FromV3SchemaRef(schema *openapi3.SchemaRef, components *openapi3.Components) (*openapi2.SchemaRef, *openapi2.Parameter)
func FromV3Schemas(schemas map[string]*openapi3.SchemaRef, components *openapi3.Components) (map[string]*openapi2.SchemaRef, map[string]*openapi2.Parameter)
func FromV3SecurityRequirements(requirements openapi3.SecurityRequirements) openapi2.SecurityRequirements
func FromV3SecurityScheme(doc3 *openapi3.T, ref *openapi3.SecuritySchemeRef) (*openapi2.SecurityScheme, error)
func FromV3SecurityScheme(ref *openapi3.SecuritySchemeRef) (*openapi2.SecurityScheme, error)
func ToV3(doc2 *openapi2.T) (*openapi3.T, error)
ToV3 converts an OpenAPIv2 spec to an OpenAPIv3 spec

func ToV3Headers(defs map[string]*openapi2.Header) openapi3.Headers
func ToV3Operation(doc2 *openapi2.T, components *openapi3.Components, pathItem *openapi2.PathItem, operation *openapi2.Operation, consumes []string) (*openapi3.Operation, error)
func ToV3Operation(components *openapi3.Components, pathItem *openapi2.PathItem, operation *openapi2.Operation, consumes []string) (*openapi3.Operation, error)
func ToV3Parameter(components *openapi3.Components, parameter *openapi2.Parameter, consumes []string) (*openapi3.ParameterRef, *openapi3.RequestBodyRef, map[string]*openapi3.SchemaRef, error)
func ToV3PathItem(doc2 *openapi2.T, components *openapi3.Components, pathItem *openapi2.PathItem, consumes []string) (*openapi3.PathItem, error)
func ToV3Ref(ref string) string
Expand Down
Loading
Loading