Skip to content

Commit

Permalink
internal/composer: update api spec
Browse files Browse the repository at this point in the history
  • Loading branch information
croissanne committed Nov 7, 2022
1 parent 0eca123 commit 4040938
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
16 changes: 13 additions & 3 deletions internal/composer/openapi.v2.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions internal/composer/openapi.v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,6 @@ components:
- tenant_id
- subscription_id
- resource_group
- location
properties:
tenant_id:
type: string
Expand All @@ -940,9 +939,10 @@ components:
type: string
example: 'westeurope'
description: |
Location where the image should be uploaded and registered.
Location of the provided resource_group, where the image should be uploaded and registered.
How to list all locations:
https://docs.microsoft.com/en-us/cli/azure/account?view=azure-cli-latest#az_account_list_locations'
If the location is not specified, it is deducted from the provided resource_group.
image_name:
type: string
example: 'my-image'
Expand Down Expand Up @@ -1048,6 +1048,11 @@ components:
properties:
url:
type: string
contenturl:
type: string
description: |
A URL which, if set, is used for fetching content. Implies that `url` is set as well,
which will be used for metadata only.
ref:
type: string
example: 'rhel/8/x86_64/edge'
Expand All @@ -1058,6 +1063,13 @@ components:
02604b2da6e954bd34b8b82a835e5a77d2b60ffa), or a branch-like
reference (example: rhel/8/x86_64/edge)
example: 'rhel/8/x86_64/edge'
rhsm:
type: boolean
default: false
description: |
Determines whether a valid subscription manager (candlepin) identity is required to
access this repository. Consumer certificates will be used as client certificates when
fetching metadata and content.
Subscription:
type: object
required:
Expand Down

0 comments on commit 4040938

Please sign in to comment.