Commit Graph

21 Commits

Author SHA1 Message Date
Tim Hockin
b24cffb174
Fix list_type_missing in api/authentication 2023-11-27 12:06:25 -08:00
Tim Hockin
44060fb1f3
Fix "list_type_missing" API violations in meta/v1
This assumes that any such field is atomic, except:
  * OwnerReferences: because it has a `+patchStrategy=merge`, but it
    probably needs a `+listMapKey=...` ?
  * Finalizers: because it hs a `+patchStrategy=merge`, but is a
    primitive type (string).
  * []byte fields, which should not be failing this anyway (fixed
    subsequently).

An alternative approach could be just to turn off the API warnings for
these fields, but it felt more correct to declare the semantics.
2023-11-27 12:05:52 -08:00
Alexander Zielenski
0a6d9531f4 update generated code and openapi 2023-10-18 16:07:06 -07:00
carlory
75f20ee64d update pretty param description 2023-10-18 13:45:43 +08:00
Jefftree
83760ae56c update openapi with required requestBody 2023-10-11 11:11:51 -04:00
m.nabokikh
40de26dcff KEP-3325: Promote SelfSubjectReview to GA
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2023-05-02 14:50:40 +02:00
Tim Allclair
ea974280dc Fix broken API docs URLs 2023-03-13 11:37:59 -07:00
Kevin Delgado
b149b93189 update codegen 2023-01-26 14:31:40 +00:00
Daniel Smith
1dabd7be5c generated files 2022-05-05 20:12:51 +00:00
Jefftree
52af96c89c generated: Update OpenAPI 2022-03-29 17:49:56 -07:00
Kubernetes Prow Robot
1ea07d482a
Merge pull request #108126 from sanposhiho/doc/generatedname
fix the doc about generateName conflict
2022-03-29 02:58:47 -07:00
Daniel Smith
fad4ba2a34 generated files 2022-03-23 17:59:55 +00:00
Kensei Nakada
0865b9eca3 fix the doc about generateName conflict 2022-03-23 01:08:37 +00:00
wojtekt
bdd53fe9f9 Autogenerated 2022-02-16 17:34:34 +01:00
wojtekt
9732bf0d33 Autogenerated 2022-02-14 18:35:55 +01:00
Antoine Pelisse
f19efa7391 Run hack/update-all.sh 2022-02-10 21:07:37 +00:00
Chao Xu
5d7f209748 Refers to the GC doc in the blockOwnerDeletion API doc 2021-12-23 14:15:00 -08:00
Kevin Delgado
b35c444e42 Update fieldValidation godoc 2021-11-29 21:21:28 +00:00
Jordan Liggitt
2588ea76ea Regenerate openapi v3 fixtures 2021-11-24 10:03:45 -05:00
Kevin Delgado
e50e2bbc88 Server Side Field Validation
Implements server side field validation behind the
`ServerSideFieldValidation` feature gate. With the
feature enabled, any create/update/patch request
with the `fieldValidation` query param set to
"Strict" will error if the object in the request
body have unknown fields. A value of "Warn"
(also the default when the feautre is enabled)
will succeed the request with a warning.

When the feature is disabled (or the query param
has a value of "Ignore"), the request will succeed
as it previously had with no indications of any
unknown or duplicate fields.
2021-11-19 21:24:36 +00:00
Jefftree
ae1984a89d Generate openapi v3 static files 2021-11-16 17:38:54 -08:00