Eng Zer Jun
61262ad98e
refactor: replace strings.Replace with strings.ReplaceAll ( #15392 )
...
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-03 15:22:48 -04:00
AnPucel
3215cdbd32
Dynamic parameter for mountpaths in OpenApi Spec generation( #15835 )
...
"generic_mount_paths" query parameter for OpenApiSpec generation
2022-06-30 07:43:04 -07:00
AnPucel
2b5be0adec
[VAULT-5813] Remove duplicate sha_256 in SystemCatalogRequest OAS ( #15163 )
2022-04-25 13:12:08 -07:00
AnPucel
f38248f5e5
[VAULT-5887] TypeInt64 support added to OpenApi Spec generation ( #15104 )
...
Adding handling for TypeInt64 to OAS types
2022-04-22 15:37:12 -07:00
Anton Averchenkov
c425078008
Change OpenAPI code generator to extract request objects ( #14217 )
2022-03-11 19:00:26 -05:00
VAL
6652203569
Distinguish LIST-only paths in OpenAPI ( #13643 )
...
* Distinguish LIST-only paths in OpenAPI
* add changelog
* Put enum field inside schema
2022-01-18 09:21:44 -08:00
Vinny Mannello
2680f0b198
[Vault-4628] OpenAPI endpoint not expanding root alternations ( #13487 )
2021-12-22 15:36:47 -08:00
Brian Kassouf
303c2aee7c
Run a more strict formatter over the code ( #11312 )
...
* Update tooling
* Run gofumpt
* go mod vendor
2021-04-08 09:43:39 -07:00
Michael Golowka
52845525e9
OpenAPI - Don't panic if field isn't found ( #10929 )
2021-02-17 15:45:45 -07:00
Jim Kalafut
42bae71806
Improve error messages ( #10843 )
...
- Fix: "bytes" should be less than %!s(int=131072) message
- Also add a missing openapi type that was throwing warnings
2021-02-11 19:51:12 -08:00
Mark Gritter
92bd8eae71
Convert time to UTC, add to OpenAPI ( #9924 )
...
* Add time type to OpenAPI.
* Fix documentation and convert returned time to UTC.
* changelog++
* Vendor the SDK changes.
2020-09-11 13:29:41 -05:00
Michael Gaffney
76208eaf84
sdk/framework: add TypeSignedDurationSecond FieldType ( #6989 )
...
* Refactor table driven tests to use subtests
* sdk/framework: add TypeSignedDurationSecond FieldType
Adds the TypeSignedDurationSecond FieldType which accepts positive and
negative durations. The existing TypeDurationSecond FieldType does not
accept negative durations.
* Add tests for 0 for TypeDurationSecond and TypeSignedDurationSecond
2019-06-26 13:15:36 -04:00
Madalyn
a2606ddccf
update OpenAPI output to use DisplayAttributes struct ( #6928 )
2019-06-21 11:08:08 -04:00
Jim Kalafut
944adb53d6
Don't show TypeHeader fields as being sent as headers in OpenAPI ( #6679 )
...
Fixes #6671
2019-05-03 15:12:24 -07:00
Jeff Mitchell
8bcb533a1b
Create sdk/ and api/ submodules ( #6583 )
2019-04-12 17:54:35 -04:00