Tags: sv-tools/openapi
Tags
chore(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.1 (#… …141) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.11.1 to 1.12.1. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.11.1...v1.12.1) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-version: 1.12.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sergey Vilgelm <523825+SVilgelm@users.noreply.github.com>
fix: change Explode field from bool to *bool for proper serialization (… …#132) When Explode is bool with omitempty, false values are not serialized to JSON/YAML output. This prevents users from explicitly setting explode: false in OpenAPI specs. Changing to *bool allows: - nil: omit the field (use default behavior) - &true: serialize as 'explode: true' - &false: serialize as 'explode: false' Affects: Parameter, Header, Encoding structs and their builders. Co-authored-by: a.gorbunov <a.gorbunov@2gis.ru> Co-authored-by: Sergey Vilgelm <523825+SVilgelm@users.noreply.github.com>
feat(ci): dynamic Go version lookup (#118) * feat(ci): dynamic Go version lookup Introduce a new job (GoVersions) that uses arnested/go-version-action to compute a matrix of supported Go versions and expose it as an output. Make UnitTestJob depend on GoVersions and replace the hardcoded go matrix with a dynamic matrix sourced from needs.GoVersions.outputs.matrix. This removes the need to update the workflow whenever new Go versions are added, ensuring the CI runs tests across the current set of supported Go releases automatically. * Update .github/workflows/code.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
feat(parser): add ParseObject to generate OpenAPI schemas (#87) Introduce ParseObject function to parse Go types into OpenAPI schema representations, supporting structs, pointers, maps, slices, and primitives. Handle tags for customizing schema fields, references, and metadata. This enables automatic schema generation from Go types, improving integration with OpenAPI components and reducing manual schema definitions.
docs: update README with install command and Go version bump (#107) Add installation instructions using `go get` to improve user onboarding. Increase the minimal supported Go version from 1.21 to 1.22 to reflect current compatibility. Clarify version details and validation features in the README for better documentation.
Bump codecov/codecov-action from 5.4.2 to 5.4.3 (#106) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.2 to 5.4.3. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@ad3126e...18283e0) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 5.4.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump codecov/codecov-action from 4.0.1 to 4.0.2 (#55) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.1 to 4.0.2. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v4.0.1...v4.0.2) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump github.com/santhosh-tekuri/jsonschema/v5 from 5.3.0 to 5.3.1 (#40) Bumps [github.com/santhosh-tekuri/jsonschema/v5](https://github.com/santhosh-tekuri/jsonschema) from 5.3.0 to 5.3.1. - [Release notes](https://github.com/santhosh-tekuri/jsonschema/releases) - [Commits](santhosh-tekuri/jsonschema@v5.3.0...v5.3.1) --- updated-dependencies: - dependency-name: github.com/santhosh-tekuri/jsonschema/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext