debian-forge-composer/internal/cloudapi/v2
Ondřej Budai de46e85712 cloudapi: make Repository.rhsm optional
I think that we can spare the users of clouadpi of writing "rhsm": "false"
into the requests so I decided to make this property optional and default
to false.

This is nice because it matches the behaviour of Weldr repositories and
sources so we can also use test/data/repositories without any changes after
openapi validation is enabled.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-05-11 13:46:47 +02:00
..
errors.go cloudapi: add build job dependency checks 2022-04-13 10:31:53 +02:00
errors_test.go cloudapi/v2: Listen on /api/image-builder-composer/v2 2021-10-11 09:52:21 +02:00
handler.go cloudapi: make Repository.rhsm optional 2022-05-11 13:46:47 +02:00
openapi.v2.gen.go cloudapi: make Repository.rhsm optional 2022-05-11 13:46:47 +02:00
openapi.v2.yml cloudapi: make Repository.rhsm optional 2022-05-11 13:46:47 +02:00
server.go Stop setting the StreamOptimized option in Weldr and Cloud APIs 2022-05-04 16:22:29 +02:00
v2_internal_test.go cloudapi: make Repository.rhsm optional 2022-05-11 13:46:47 +02:00
v2_koji_test.go cloudapi/test: add compose dependency error tests 2022-04-13 10:31:53 +02:00
v2_multi_tenancy_test.go test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
v2_test.go cloudapi/test: add compose dependency error tests 2022-04-13 10:31:53 +02:00