From 3685587202ad260a9efeaa9314c80a25b01c9617 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:13:01 -0800 Subject: [PATCH] Bump typify from `0894f06` to `000c04b` (#658) * Bump typify from `0894f06` to `000c04b` Bumps [typify](https://github.com/oxidecomputer/typify) from `0894f06` to `000c04b`. - [Commits](https://github.com/oxidecomputer/typify/compare/0894f06e6798f24efcbd7134746962aa0e6eb371...000c04b2886a5999c4f5152ca138a077ac1deaa6) --- updated-dependencies: - dependency-name: typify dependency-type: direct:production ... Signed-off-by: dependabot[bot] * fixture data --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam H. Leventhal --- Cargo.lock | 6 +- .../tests/output/nexus-builder-tagged.out | 623 ++++++++++++------ .../tests/output/nexus-builder.out | 623 ++++++++++++------ .../tests/output/nexus-positional.out | 623 ++++++++++++------ .../output/propolis-server-builder-tagged.out | 6 +- .../tests/output/propolis-server-builder.out | 6 +- .../output/propolis-server-positional.out | 6 +- 7 files changed, 1254 insertions(+), 639 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c365aea..1276691 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2348,7 +2348,7 @@ checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" [[package]] name = "typify" version = "0.0.15" -source = "git+https://github.com/oxidecomputer/typify#0894f06e6798f24efcbd7134746962aa0e6eb371" +source = "git+https://github.com/oxidecomputer/typify#000c04b2886a5999c4f5152ca138a077ac1deaa6" dependencies = [ "typify-impl", "typify-macro", @@ -2357,7 +2357,7 @@ dependencies = [ [[package]] name = "typify-impl" version = "0.0.15" -source = "git+https://github.com/oxidecomputer/typify#0894f06e6798f24efcbd7134746962aa0e6eb371" +source = "git+https://github.com/oxidecomputer/typify#000c04b2886a5999c4f5152ca138a077ac1deaa6" dependencies = [ "heck", "log", @@ -2374,7 +2374,7 @@ dependencies = [ [[package]] name = "typify-macro" version = "0.0.15" -source = "git+https://github.com/oxidecomputer/typify#0894f06e6798f24efcbd7134746962aa0e6eb371" +source = "git+https://github.com/oxidecomputer/typify#000c04b2886a5999c4f5152ca138a077ac1deaa6" dependencies = [ "proc-macro2", "quote", diff --git a/progenitor-impl/tests/output/nexus-builder-tagged.out b/progenitor-impl/tests/output/nexus-builder-tagged.out index d160a11..14b66bb 100644 --- a/progenitor-impl/tests/output/nexus-builder-tagged.out +++ b/progenitor-impl/tests/output/nexus-builder-tagged.out @@ -14,7 +14,8 @@ pub mod types { /// ```json ///{ /// "description": "Describes properties that should uniquely identify a - /// Gimlet.", "type": "object", + /// Gimlet.", + /// "type": "object", /// "required": [ /// "part", /// "revision", @@ -67,10 +68,12 @@ pub mod types { /// "description": "A type storing a range over `T`.\n\nThis type supports /// ranges similar to the `RangeTo`, `Range` and `RangeFrom` types in the /// standard library. Those cover `(..end)`, `(start..end)`, and `(start..)` - /// respectively.", "oneOf": [ + /// respectively.", + /// "oneOf": [ /// { /// "description": "A range unbounded below and exclusively above, - /// `..end`.", "type": "object", + /// `..end`.", + /// "type": "object", /// "required": [ /// "end", /// "type" @@ -90,7 +93,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and exclusively - /// above, `start..end`.", "type": "object", + /// above, `start..end`.", + /// "type": "object", /// "required": [ /// "end", /// "start", @@ -115,7 +119,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and unbounded - /// above, `start..`.", "type": "object", + /// above, `start..`.", + /// "type": "object", /// "required": [ /// "start", /// "type" @@ -171,10 +176,12 @@ pub mod types { /// "description": "A type storing a range over `T`.\n\nThis type supports /// ranges similar to the `RangeTo`, `Range` and `RangeFrom` types in the /// standard library. Those cover `(..end)`, `(start..end)`, and `(start..)` - /// respectively.", "oneOf": [ + /// respectively.", + /// "oneOf": [ /// { /// "description": "A range unbounded below and exclusively above, - /// `..end`.", "type": "object", + /// `..end`.", + /// "type": "object", /// "required": [ /// "end", /// "type" @@ -194,7 +201,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and exclusively - /// above, `start..end`.", "type": "object", + /// above, `start..end`.", + /// "type": "object", /// "required": [ /// "end", /// "start", @@ -219,7 +227,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and unbounded - /// above, `start..`.", "type": "object", + /// above, `start..`.", + /// "type": "object", /// "required": [ /// "start", /// "type" @@ -269,7 +278,8 @@ pub mod types { /// ```json ///{ /// "description": "Type storing bin edges and a count of samples within - /// it.", "type": "object", + /// it.", + /// "type": "object", /// "required": [ /// "count", /// "range" @@ -320,7 +330,8 @@ pub mod types { /// ```json ///{ /// "description": "Type storing bin edges and a count of samples within - /// it.", "type": "object", + /// it.", + /// "type": "object", /// "required": [ /// "count", /// "range" @@ -440,7 +451,8 @@ pub mod types { /// constructor can be infallible, but an i64 constructor can fail (if the /// value is negative) and a u64 constructor can fail (if the value is /// larger than i64::MAX). We provide all of these for consumers' - /// convenience.", "type": "integer", + /// convenience.", + /// "type": "integer", /// "format": "uint64", /// "minimum": 0.0 ///} @@ -530,12 +542,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -684,7 +698,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -737,7 +752,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -802,7 +818,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -925,7 +942,8 @@ pub mod types { /// ```json ///{ /// "description": "A `Datum` is a single sampled data point from a - /// metric.", "oneOf": [ + /// metric.", + /// "oneOf": [ /// { /// "type": "object", /// "required": [ @@ -1295,11 +1313,13 @@ pub mod types { /// "properties": { /// "private_key": { /// "description": "request signing private key (base64 encoded der - /// file)", "type": "string" + /// file)", + /// "type": "string" /// }, /// "public_cert": { /// "description": "request signing public certificate (base64 encoded - /// der file)", "type": "string" + /// der file)", + /// "type": "string" /// } /// } ///} @@ -1517,7 +1537,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "image_id": { @@ -1529,7 +1550,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -1609,7 +1631,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Disk`](omicron_common::api::external::Disk)", "type": "object", + /// [`Disk`](omicron_common::api::external::Disk)", + /// "type": "object", /// "required": [ /// "description", /// "disk_source", @@ -1675,7 +1698,8 @@ pub mod types { ///{ /// "description": "TODO-v1: Delete this Parameters for the /// [`Disk`](omicron_common::api::external::Disk) to be attached or detached - /// to an instance", "type": "object", + /// to an instance", + /// "type": "object", /// "required": [ /// "name" /// ], @@ -1849,7 +1873,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -1897,7 +1922,8 @@ pub mod types { /// "properties": { /// "block_size": { /// "description": "size of blocks for this Disk. valid values are: - /// 512, 2048, or 4096", "allOf": [ + /// 512, 2048, or 4096", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/BlockSize" /// } @@ -2177,7 +2203,8 @@ pub mod types { /// "properties": { /// "name": { /// "description": "The name of the distribution (e.g. \"alpine\" or - /// \"ubuntu\")", "allOf": [ + /// \"ubuntu\")", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -2185,7 +2212,8 @@ pub mod types { /// }, /// "version": { /// "description": "The version of the distribution (e.g. \"3.10\" or - /// \"18.04\")", "type": "string" + /// \"18.04\")", + /// "type": "string" /// } /// } ///} @@ -2305,11 +2333,13 @@ pub mod types { /// ```json ///{ /// "description": "Parameters for creating an external IP address for - /// instances.", "oneOf": [ + /// instances.", + /// "oneOf": [ /// { /// "description": "An IP address providing both inbound and outbound /// access. The address is automatically-assigned from the provided IP Pool, - /// or all available pools if not specified.", "type": "object", + /// or all available pools if not specified.", + /// "type": "object", /// "required": [ /// "type" /// ], @@ -2373,7 +2403,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -2410,7 +2441,8 @@ pub mod types { /// ```json ///{ /// "description": "The name and type information for a field of a - /// timeseries schema.", "type": "object", + /// timeseries schema.", + /// "type": "object", /// "required": [ /// "name", /// "source", @@ -2456,7 +2488,8 @@ pub mod types { /// ```json ///{ /// "description": "The source from which a field is derived, the target or - /// metric.", "type": "string", + /// metric.", + /// "type": "string", /// "enum": [ /// "target", /// "metric" @@ -2526,7 +2559,8 @@ pub mod types { /// ```json ///{ /// "description": "The `FieldType` identifies the data type of a target or - /// metric field.", "type": "string", + /// metric field.", + /// "type": "string", /// "enum": [ /// "string", /// "i64", @@ -2742,7 +2776,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -2828,12 +2863,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -3009,7 +3046,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -3112,7 +3150,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -3220,7 +3259,8 @@ pub mod types { /// first bin of a histogram is _always_ a `Bin::Range` or a /// `Bin::RangeFrom` after construction. In fact, every bin is one of those /// variants, the `BinRange::RangeTo` is only provided as a convenience - /// during construction.", "type": "object", + /// during construction.", + /// "type": "object", /// "required": [ /// "bins", /// "n_samples", @@ -3343,7 +3383,8 @@ pub mod types { /// first bin of a histogram is _always_ a `Bin::Range` or a /// `Bin::RangeFrom` after construction. In fact, every bin is one of those /// variants, the `BinRange::RangeTo` is only provided as a convenience - /// during construction.", "type": "object", + /// during construction.", + /// "type": "object", /// "required": [ /// "bins", /// "n_samples", @@ -3485,12 +3526,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -3567,7 +3610,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -3840,12 +3884,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -3941,7 +3987,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for an - /// [`Image`](crate::external_api::views::Image)", "type": "object", + /// [`Image`](crate::external_api::views::Image)", + /// "type": "object", /// "required": [ /// "block_size", /// "description", @@ -4018,7 +4065,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -4095,8 +4143,9 @@ pub mod types { /// }, /// { /// "description": "Boot the Alpine ISO that ships with the Propolis - /// zone. Intended for development purposes only.", "type": - /// "object", "required": [ + /// zone. Intended for development purposes only.", + /// "type": "object", + /// "required": [ /// "type" /// ], /// "properties": { @@ -4161,7 +4210,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "memory": { @@ -4174,7 +4224,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -4347,7 +4398,8 @@ pub mod types { /// }, /// "disks": { /// "description": "The disks to be created or attached for this - /// instance.", "default": [], + /// instance.", + /// "default": [], /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/InstanceDiskAttachment" @@ -4358,7 +4410,8 @@ pub mod types { /// instance.\n\nBy default, all instances have outbound connectivity, but /// no inbound connectivity. These external addresses can be used to provide /// a fixed, known IP address for making inbound connections to the - /// instance.", "default": [], + /// instance.", + /// "default": [], /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/ExternalIpCreate" @@ -4378,25 +4431,29 @@ pub mod types { /// }, /// "network_interfaces": { /// "description": "The network interfaces to be created for this - /// instance.", "default": { + /// instance.", + /// "default": { /// "type": "default" /// }, /// "allOf": [ /// { /// "$ref": - /// "#/components/schemas/InstanceNetworkInterfaceAttachment" } + /// "#/components/schemas/InstanceNetworkInterfaceAttachment" + /// } /// ] /// }, /// "start": { /// "description": "Should this instance be started upon creation; true - /// by default.", "default": true, + /// by default.", + /// "default": true, /// "type": "boolean" /// }, /// "user_data": { /// "description": "User data for instance initialization systems (such /// as cloud-init). Must be a Base64-encoded string, as specified in RFC /// 4648 § 4 (+ and / characters with padding). Maximum 32 KiB unencoded - /// data.", "default": "", + /// data.", + /// "default": "", /// "type": "string", /// "format": "byte" /// } @@ -4598,7 +4655,8 @@ pub mod types { /// ```json ///{ /// "description": "Describes an attachment of a `NetworkInterface` to an - /// `Instance`, at the time the instance is created.", "oneOf": [ + /// `Instance`, at the time the instance is created.", + /// "oneOf": [ /// { /// "description": "Create one or more `NetworkInterface`s for the /// `Instance`.\n\nIf more than one interface is provided, then the first @@ -4627,7 +4685,8 @@ pub mod types { /// "description": "The default networking configuration for an /// instance is to create a single primary interface with an /// automatically-assigned IP address. The IP will be pulled from the - /// Project's default VPC / VPC Subnet.", "type": "object", + /// Project's default VPC / VPC Subnet.", + /// "type": "object", /// "required": [ /// "type" /// ], @@ -4642,7 +4701,8 @@ pub mod types { /// }, /// { /// "description": "No network interfaces at all will be created for - /// the instance.", "type": "object", + /// the instance.", + /// "type": "object", /// "required": [ /// "type" /// ], @@ -4707,7 +4767,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -4753,8 +4814,9 @@ pub mod types { /// "data": { /// "description": "The bytes starting from the requested offset up to /// either the end of the buffer or the request's `max_bytes`. Provided as a - /// u8 array rather than a string, as it may not be UTF-8.", "type" - /// : "array", "items": { + /// u8 array rather than a string, as it may not be UTF-8.", + /// "type": "array", + /// "items": { /// "type": "integer", /// "format": "uint8", /// "minimum": 0.0 @@ -4763,7 +4825,8 @@ pub mod types { /// "last_byte_offset": { /// "description": "The absolute offset since boot (suitable for use as /// `byte_offset` in a subsequent request) of the last byte returned in - /// `data`.", "type": "integer", + /// `data`.", + /// "type": "integer", /// "format": "uint64", /// "minimum": 0.0 /// } @@ -4806,7 +4869,8 @@ pub mod types { /// "description": "Running state of an Instance (primarily: booted or /// stopped)\n\nThis typically reflects whether it's starting, running, /// stopping, or stopped, but also includes states related to the Instance's - /// lifecycle", "oneOf": [ + /// lifecycle", + /// "oneOf": [ /// { /// "description": "The instance is being created.", /// "type": "string", @@ -4830,7 +4894,8 @@ pub mod types { /// }, /// { /// "description": "The instance has been requested to stop and a - /// transition to \"Stopped\" is imminent.", "type": "string", + /// transition to \"Stopped\" is imminent.", + /// "type": "string", /// "enum": [ /// "stopping" /// ] @@ -4845,7 +4910,8 @@ pub mod types { /// { /// "description": "The instance is in the process of rebooting - it /// will remain in the \"rebooting\" state until the VM is starting once - /// more.", "type": "string", + /// more.", + /// "type": "string", /// "enum": [ /// "rebooting" /// ] @@ -4859,7 +4925,8 @@ pub mod types { /// }, /// { /// "description": "The instance is attempting to recover from a - /// failure.", "type": "string", + /// failure.", + /// "type": "string", /// "enum": [ /// "repairing" /// ] @@ -5156,7 +5223,8 @@ pub mod types { /// ```json ///{ /// "description": "Identity-related metadata that's included in nearly all - /// public API objects", "type": "object", + /// public API objects", + /// "type": "object", /// "required": [ /// "description", /// "id", @@ -5171,12 +5239,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -5231,7 +5301,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for an IP Pool.\n\nSee - /// [`IpPool`](crate::external_api::views::IpPool)", "type": "object", + /// [`IpPool`](crate::external_api::views::IpPool)", + /// "type": "object", /// "required": [ /// "description", /// "name" @@ -5333,7 +5404,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -5384,7 +5456,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -5527,7 +5600,8 @@ pub mod types { /// "pattern": /// "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\. /// ){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/ - /// ([8-9]|1[0-9]|2[0-9]|3[0-2])$" } + /// ([8-9]|1[0-9]|2[0-9]|3[0-2])$" + ///} /// ``` /// #[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] @@ -5614,7 +5688,8 @@ pub mod types { ///{ /// "description": "A non-decreasing IPv4 address range, inclusive of both /// ends.\n\nThe first address must be less than or equal to the last - /// address.", "type": "object", + /// address.", + /// "type": "object", /// "required": [ /// "first", /// "last" @@ -5665,7 +5740,7 @@ pub mod types { /// "pattern": /// "^([fF][dD])[0-9a-fA-F]{2}:(([0-9a-fA-F]{1,4}:){6}[0-9a-fA-F]{1, /// 4}|([0-9a-fA-F]{1,4}:){1,6}:)\\/([1-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$" - /// } + ///} /// ``` /// #[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] @@ -5751,7 +5826,8 @@ pub mod types { ///{ /// "description": "A non-decreasing IPv6 address range, inclusive of both /// ends.\n\nThe first address must be less than or equal to the last - /// address.", "type": "object", + /// address.", + /// "type": "object", /// "required": [ /// "first", /// "last" @@ -5796,7 +5872,8 @@ pub mod types { ///{ /// "title": "A range of IP ports", /// "description": "An inclusive-inclusive range of IP ports. The second - /// port may be omitted to represent a single port", "examples": [ + /// port may be omitted to represent a single port", + /// "examples": [ /// "22" /// ], /// "type": "string", @@ -5977,7 +6054,8 @@ pub mod types { /// ```json ///{ /// "description": "A `Measurement` is a timestamped datum from a single - /// metric", "type": "object", + /// metric", + /// "type": "object", /// "required": [ /// "datum", /// "timestamp" @@ -6033,7 +6111,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -6075,11 +6154,13 @@ pub mod types { /// "description": "Names must begin with a lower case ASCII letter, be /// composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and /// '-', and may not end with a '-'. Names cannot be a UUID though they may - /// contain a UUID.", "type": "string", + /// contain a UUID.", + /// "type": "string", /// "maxLength": 63, /// "pattern": /// "^(?![0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)^[a-z][a-z0-9-]* - /// [a-zA-Z0-9]$" } + /// [a-zA-Z0-9]$" + ///} /// ``` /// #[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] @@ -6249,7 +6330,8 @@ pub mod types { /// ```json ///{ /// "description": "Supported set of sort modes for scanning by name or - /// id", "oneOf": [ + /// id", + /// "oneOf": [ /// { /// "description": "sort in increasing order of \"name\"", /// "type": "string", @@ -6418,7 +6500,8 @@ pub mod types { /// ```json ///{ /// "description": "A `NetworkInterface` represents a virtual network - /// interface device.", "type": "object", + /// interface device.", + /// "type": "object", /// "required": [ /// "description", /// "id", @@ -6439,7 +6522,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "instance_id": { @@ -6462,7 +6546,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -6470,7 +6555,8 @@ pub mod types { /// }, /// "primary": { /// "description": "True if this interface is the primary for the - /// instance to which it's attached.", "type": "boolean" + /// instance to which it's attached.", + /// "type": "boolean" /// }, /// "subnet_id": { /// "description": "The subnet to which the interface belongs.", @@ -6556,7 +6642,8 @@ pub mod types { /// }, /// "ip": { /// "description": "The IP address for the interface. One will be - /// auto-assigned if not provided.", "type": [ + /// auto-assigned if not provided.", + /// "type": [ /// "string", /// "null" /// ], @@ -6632,7 +6719,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -6699,7 +6787,8 @@ pub mod types { /// interface will be on a distinct subnet from the previous primary /// interface.\n\nNote that this can only be used to select a new primary /// interface for an instance. Requests to change the primary interface into - /// a secondary will return an error.", "default": false, + /// a secondary will return an error.", + /// "default": false, /// "type": "boolean" /// } /// } @@ -6820,12 +6909,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -6935,7 +7026,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -7103,7 +7195,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -7290,7 +7383,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "model": { @@ -7374,7 +7468,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -7496,12 +7591,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -7560,8 +7657,9 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Project`](crate::external_api::views::Project)", "type": "object" - /// , "required": [ + /// [`Project`](crate::external_api::views::Project)", + /// "type": "object", + /// "required": [ /// "description", /// "name" /// ], @@ -7615,7 +7713,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -7783,7 +7882,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -7831,8 +7931,9 @@ pub mod types { /// ```json ///{ /// "description": "Updateable properties of a - /// [`Project`](crate::external_api::views::Project)", "type": "object" - /// , "properties": { + /// [`Project`](crate::external_api::views::Project)", + /// "type": "object", + /// "properties": { /// "description": { /// "type": [ /// "string", @@ -7886,7 +7987,8 @@ pub mod types { /// "properties": { /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -7946,7 +8048,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -8025,7 +8128,8 @@ pub mod types { ///{ /// "title": "A name for a built-in role", /// "description": "Role names consist of two string components separated - /// by dot (\".\").", "type": "string", + /// by dot (\".\").", + /// "type": "string", /// "maxLength": 63, /// "pattern": "[a-z-]+\\.[a-z-]+" ///} @@ -8122,7 +8226,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -8167,10 +8272,12 @@ pub mod types { /// routing rule, on the destination of that traffic.\n\nWhen traffic is to /// be sent to a destination that is within a given `RouteDestination`, the /// corresponding [`RouterRoute`] applies, and traffic will be forward to - /// the [`RouteTarget`] for that rule.", "oneOf": [ + /// the [`RouteTarget`] for that rule.", + /// "oneOf": [ /// { /// "description": "Route applies to traffic destined for a specific IP - /// address", "type": "object", + /// address", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -8190,7 +8297,8 @@ pub mod types { /// }, /// { /// "description": "Route applies to traffic destined for a specific IP - /// subnet", "type": "object", + /// subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -8209,7 +8317,8 @@ pub mod types { /// }, /// { /// "description": "Route applies to traffic destined for the given - /// VPC.", "type": "object", + /// VPC.", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -8292,7 +8401,8 @@ pub mod types { /// ```json ///{ /// "description": "A `RouteTarget` describes the possible locations that - /// traffic matching a route destination can be sent.", "oneOf": [ + /// traffic matching a route destination can be sent.", + /// "oneOf": [ /// { /// "description": "Forward traffic to a particular IP address.", /// "type": "object", @@ -8433,7 +8543,8 @@ pub mod types { /// ```json ///{ /// "description": "A route defines a rule that governs where traffic - /// should be sent based on its destination.", "type": "object", + /// should be sent based on its destination.", + /// "type": "object", /// "required": [ /// "description", /// "destination", @@ -8455,12 +8566,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "kind": { /// "description": "Describes the kind of router. Set at creation. - /// `read-only`", "allOf": [ + /// `read-only`", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/RouterRouteKind" /// } @@ -8468,7 +8581,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -8594,15 +8708,17 @@ pub mod types { /// { /// "description": "Determines the default destination of traffic, such /// as whether it goes to the internet or not.\n\n`Destination: An Internet - /// Gateway` `Modifiable: true`", "type": "string", + /// Gateway` `Modifiable: true`", + /// "type": "string", /// "enum": [ /// "default" /// ] /// }, /// { /// "description": "Automatically added for each VPC Subnet in the - /// VPC\n\n`Destination: A VPC Subnet` `Modifiable: false`", "type" - /// : "string", "enum": [ + /// VPC\n\n`Destination: A VPC Subnet` `Modifiable: false`", + /// "type": "string", + /// "enum": [ /// "vpc_subnet" /// ] /// }, @@ -8723,7 +8839,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -8989,7 +9106,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -9108,7 +9226,8 @@ pub mod types { /// ```json ///{ /// "description": "Identity-related metadata that's included in nearly all - /// public API objects", "type": "object", + /// public API objects", + /// "type": "object", /// "required": [ /// "acs_url", /// "description", @@ -9124,7 +9243,8 @@ pub mod types { /// "properties": { /// "acs_url": { /// "description": "service provider endpoint where the response will - /// be sent", "type": "string" + /// be sent", + /// "type": "string" /// }, /// "description": { /// "description": "human-readable free-form text about a resource", @@ -9132,7 +9252,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "idp_entity_id": { @@ -9141,7 +9262,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -9149,14 +9271,16 @@ pub mod types { /// }, /// "public_cert": { /// "description": "optional request signing public certificate (base64 - /// encoded der file)", "type": [ + /// encoded der file)", + /// "type": [ /// "string", /// "null" /// ] /// }, /// "slo_url": { /// "description": "service provider endpoint where the idp should send - /// log out requests", "type": "string" + /// log out requests", + /// "type": "string" /// }, /// "sp_client_id": { /// "description": "sp's client id", @@ -9164,7 +9288,8 @@ pub mod types { /// }, /// "technical_contact_email": { /// "description": "customer's technical contact for saml - /// configuration", "type": "string" + /// configuration", + /// "type": "string" /// }, /// "time_created": { /// "description": "timestamp when this resource was created", @@ -9241,7 +9366,8 @@ pub mod types { /// "properties": { /// "acs_url": { /// "description": "service provider endpoint where the response will - /// be sent", "type": "string" + /// be sent", + /// "type": "string" /// }, /// "description": { /// "type": "string" @@ -9261,7 +9387,8 @@ pub mod types { /// }, /// "idp_metadata_source": { /// "description": "the source of an identity provider metadata - /// descriptor", "allOf": [ + /// descriptor", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/IdpMetadataSource" /// } @@ -9280,7 +9407,8 @@ pub mod types { /// }, /// "slo_url": { /// "description": "service provider endpoint where the idp should send - /// log out requests", "type": "string" + /// log out requests", + /// "type": "string" /// }, /// "sp_client_id": { /// "description": "sp's client id", @@ -9288,7 +9416,8 @@ pub mod types { /// }, /// "technical_contact_email": { /// "description": "customer's technical contact for saml - /// configuration", "type": "string" + /// configuration", + /// "type": "string" /// } /// } ///} @@ -9420,7 +9549,8 @@ pub mod types { /// "oneOf": [ /// { /// "description": "This certificate is intended for access to the - /// external API.", "type": "string", + /// external API.", + /// "type": "string", /// "enum": [ /// "external_api" /// ] @@ -9509,7 +9639,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "identity_mode": { @@ -9522,7 +9653,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -9580,7 +9712,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Silo`](crate::external_api::views::Silo)", "type": "object", + /// [`Silo`](crate::external_api::views::Silo)", + /// "type": "object", /// "required": [ /// "description", /// "discoverable", @@ -9595,7 +9728,8 @@ pub mod types { /// further initialize the Silo.\n\nNote that if configuring a SAML based /// identity provider, group_attribute_name must be set for users to be /// considered part of a group. See [`SamlIdentityProviderCreate`] for more - /// information.", "type": [ + /// information.", + /// "type": [ /// "string", /// "null" /// ] @@ -9654,12 +9788,14 @@ pub mod types { /// ```json ///{ /// "description": "Describes how identities are managed and users are - /// authenticated in this Silo", "oneOf": [ + /// authenticated in this Silo", + /// "oneOf": [ /// { /// "description": "Users are authenticated with SAML using an external /// authentication provider. The system updates information about users and /// groups only during successful authentication (i.e,. \"JIT provisioning\" - /// of users and groups).", "type": "string", + /// of users and groups).", + /// "type": "string", /// "enum": [ /// "saml_jit" /// ] @@ -9667,7 +9803,8 @@ pub mod types { /// { /// "description": "The system is the source of truth about users. /// There is no linkage to an external authentication provider or identity - /// provider.", "type": "string", + /// provider.", + /// "type": "string", /// "enum": [ /// "local_only" /// ] @@ -9758,7 +9895,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -9926,7 +10064,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -9987,7 +10126,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "service_address": { @@ -10052,7 +10192,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10112,12 +10253,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -10252,7 +10395,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10420,12 +10564,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -10433,7 +10579,8 @@ pub mod types { /// }, /// "public_key": { /// "description": "SSH public key, e.g., `\"ssh-ed25519 - /// AAAAC3NzaC...\"`", "type": "string" + /// AAAAC3NzaC...\"`", + /// "type": "string" /// }, /// "silo_user_id": { /// "description": "The user to whom this key belongs", @@ -10492,7 +10639,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for an - /// [`SshKey`](crate::external_api::views::SshKey)", "type": "object", + /// [`SshKey`](crate::external_api::views::SshKey)", + /// "type": "object", /// "required": [ /// "description", /// "name", @@ -10507,7 +10655,8 @@ pub mod types { /// }, /// "public_key": { /// "description": "SSH public key, e.g., `\"ssh-ed25519 - /// AAAAC3NzaC...\"`", "type": "string" + /// AAAAC3NzaC...\"`", + /// "type": "string" /// } /// } ///} @@ -10554,7 +10703,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10677,7 +10827,8 @@ pub mod types { /// "properties": { /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -10741,7 +10892,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10861,7 +11013,7 @@ pub mod types { /// "type": "string", /// "pattern": /// "(([a-z]+[a-z0-9]*)(_([a-z0-9]+))*):(([a-z]+[a-z0-9]*)(_([a-z0-9]+))*)" - /// } + ///} /// ``` /// #[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] @@ -10946,7 +11098,8 @@ pub mod types { ///{ /// "description": "The schema for a timeseries.\n\nThis includes the name /// of the timeseries, as well as the datum type of its metric and the - /// schema for each field.", "type": "object", + /// schema for each field.", + /// "type": "object", /// "required": [ /// "created", /// "datum_type", @@ -11015,7 +11168,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11065,7 +11219,8 @@ pub mod types { /// "properties": { /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "status": { @@ -11133,7 +11288,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11287,7 +11443,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "status": { @@ -11361,7 +11518,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11584,12 +11742,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -11656,7 +11816,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11693,7 +11854,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`User`](crate::external_api::views::User)", "type": "object", + /// [`User`](crate::external_api::views::User)", + /// "type": "object", /// "required": [ /// "external_id", /// "password" @@ -11751,11 +11913,13 @@ pub mod types { /// "description": "Names must begin with a lower case ASCII letter, be /// composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and /// '-', and may not end with a '-'. Names cannot be a UUID though they may - /// contain a UUID.", "type": "string", + /// contain a UUID.", + /// "type": "string", /// "maxLength": 63, /// "pattern": /// "^(?![0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)^[a-z][a-z0-9-]* - /// [a-zA-Z0-9]$" } + /// [a-zA-Z0-9]$" + ///} /// ``` /// #[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] @@ -11851,7 +12015,8 @@ pub mod types { /// }, /// { /// "description": "Invalidates any current password (disabling - /// password authentication)", "type": "object", + /// password authentication)", + /// "type": "object", /// "required": [ /// "user_password_value" /// ], @@ -11911,7 +12076,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -12056,12 +12222,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "ipv6_prefix": { /// "description": "The unique local IPv6 address range for subnets in - /// this VPC", "allOf": [ + /// this VPC", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv6Net" /// } @@ -12069,7 +12237,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -12082,7 +12251,8 @@ pub mod types { /// }, /// "system_router_id": { /// "description": "id for the system router where subnet default - /// routes are registered", "type": "string", + /// routes are registered", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -12140,7 +12310,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Vpc`](crate::external_api::views::Vpc)", "type": "object", + /// [`Vpc`](crate::external_api::views::Vpc)", + /// "type": "object", /// "required": [ /// "description", /// "dns_name", @@ -12157,7 +12328,8 @@ pub mod types { /// "description": "The IPv6 prefix for this VPC.\n\nAll IPv6 subnets /// created from this VPC must be taken from this range, which sould be a /// Unique Local Address in the range `fd00::/48`. The default VPC Subnet - /// will have the first `/64` range from this prefix.", "allOf": [ + /// will have the first `/64` range from this prefix.", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv6Net" /// } @@ -12222,7 +12394,8 @@ pub mod types { /// "properties": { /// "action": { /// "description": "whether traffic matching the rule should be allowed - /// or dropped", "allOf": [ + /// or dropped", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleAction" /// } @@ -12234,7 +12407,8 @@ pub mod types { /// }, /// "direction": { /// "description": "whether this rule is for incoming or outgoing - /// traffic", "allOf": [ + /// traffic", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleDirection" /// } @@ -12250,12 +12424,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -12277,7 +12453,8 @@ pub mod types { /// }, /// "targets": { /// "description": "list of sets of instances that the rule applies - /// to", "type": "array", + /// to", + /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/VpcFirewallRuleTarget" /// } @@ -12494,7 +12671,8 @@ pub mod types { /// "properties": { /// "hosts": { /// "description": "If present, the sources (if incoming) or - /// destinations (if outgoing) this rule applies to.", "type": [ + /// destinations (if outgoing) this rule applies to.", + /// "type": [ /// "array", /// "null" /// ], @@ -12504,7 +12682,8 @@ pub mod types { /// }, /// "ports": { /// "description": "If present, the destination ports this rule applies - /// to.", "type": [ + /// to.", + /// "type": [ /// "array", /// "null" /// ], @@ -12514,7 +12693,8 @@ pub mod types { /// }, /// "protocols": { /// "description": "If present, the networking protocols this rule - /// applies to.", "type": [ + /// applies to.", + /// "type": [ /// "array", /// "null" /// ], @@ -12564,7 +12744,8 @@ pub mod types { /// "oneOf": [ /// { /// "description": "The rule applies to traffic from/to all instances - /// in the VPC", "type": "object", + /// in the VPC", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -12583,7 +12764,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to all instances - /// in the VPC Subnet", "type": "object", + /// in the VPC Subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -12602,7 +12784,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to this specific - /// instance", "type": "object", + /// instance", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -12621,7 +12804,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to a specific IP - /// address", "type": "object", + /// address", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -12641,7 +12825,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to a specific IP - /// subnet", "type": "object", + /// subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -12707,7 +12892,8 @@ pub mod types { /// ```json ///{ /// "description": "The protocols that may be specified in a firewall - /// rule's filter", "type": "string", + /// rule's filter", + /// "type": "string", /// "enum": [ /// "TCP", /// "UDP", @@ -12852,7 +13038,8 @@ pub mod types { /// ```json ///{ /// "description": "A `VpcFirewallRuleTarget` is used to specify the set of - /// [`Instance`]s to which a firewall rule applies.", "oneOf": [ + /// [`Instance`]s to which a firewall rule applies.", + /// "oneOf": [ /// { /// "description": "The rule applies to all instances in the VPC", /// "type": "object", @@ -12874,7 +13061,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to all instances in the VPC - /// Subnet", "type": "object", + /// Subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -13012,7 +13200,8 @@ pub mod types { /// "properties": { /// "action": { /// "description": "whether traffic matching the rule should be allowed - /// or dropped", "allOf": [ + /// or dropped", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleAction" /// } @@ -13024,7 +13213,8 @@ pub mod types { /// }, /// "direction": { /// "description": "whether this rule is for incoming or outgoing - /// traffic", "allOf": [ + /// traffic", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleDirection" /// } @@ -13062,7 +13252,8 @@ pub mod types { /// }, /// "targets": { /// "description": "list of sets of instances that the rule applies - /// to", "type": "array", + /// to", + /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/VpcFirewallRuleTarget" /// } @@ -13113,7 +13304,8 @@ pub mod types { ///{ /// "description": "Updateable properties of a `Vpc`'s firewall Note that /// VpcFirewallRules are implicitly created along with a Vpc, so there is no - /// explicit creation.", "type": "object", + /// explicit creation.", + /// "type": "object", /// "required": [ /// "rules" /// ], @@ -13205,7 +13397,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -13261,7 +13454,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "kind": { @@ -13269,7 +13463,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -13456,7 +13651,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -13544,7 +13740,8 @@ pub mod types { ///{ /// "description": "A VPC subnet represents a logical grouping for /// instances that allows network traffic between them, within a IPv4 - /// subnetwork or optionall an IPv6 subnetwork.", "type": "object", + /// subnetwork or optionall an IPv6 subnetwork.", + /// "type": "object", /// "required": [ /// "description", /// "id", @@ -13562,7 +13759,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "ipv4_block": { @@ -13583,7 +13781,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -13662,7 +13861,8 @@ pub mod types { /// "ipv4_block": { /// "description": "The IPv4 address range for this subnet.\n\nIt must /// be allocated from an RFC 1918 private address range, and must not - /// overlap with any other existing subnet in the VPC.", "allOf": [ + /// overlap with any other existing subnet in the VPC.", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv4Net" /// } @@ -13673,7 +13873,8 @@ pub mod types { /// be allocated from the RFC 4193 Unique Local Address range, with the /// prefix equal to the parent VPC's prefix. A random `/64` block will be /// assigned if one is not provided. It must not overlap with any existing - /// subnet in the VPC.", "allOf": [ + /// subnet in the VPC.", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv6Net" /// } @@ -13738,7 +13939,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -13823,7 +14025,8 @@ pub mod types { /// ```json ///{ /// "description": "Updateable properties of a - /// [`Vpc`](crate::external_api::views::Vpc)", "type": "object", + /// [`Vpc`](crate::external_api::views::Vpc)", + /// "type": "object", /// "properties": { /// "description": { /// "type": [ diff --git a/progenitor-impl/tests/output/nexus-builder.out b/progenitor-impl/tests/output/nexus-builder.out index 9957466..47a2461 100644 --- a/progenitor-impl/tests/output/nexus-builder.out +++ b/progenitor-impl/tests/output/nexus-builder.out @@ -14,7 +14,8 @@ pub mod types { /// ```json ///{ /// "description": "Describes properties that should uniquely identify a - /// Gimlet.", "type": "object", + /// Gimlet.", + /// "type": "object", /// "required": [ /// "part", /// "revision", @@ -67,10 +68,12 @@ pub mod types { /// "description": "A type storing a range over `T`.\n\nThis type supports /// ranges similar to the `RangeTo`, `Range` and `RangeFrom` types in the /// standard library. Those cover `(..end)`, `(start..end)`, and `(start..)` - /// respectively.", "oneOf": [ + /// respectively.", + /// "oneOf": [ /// { /// "description": "A range unbounded below and exclusively above, - /// `..end`.", "type": "object", + /// `..end`.", + /// "type": "object", /// "required": [ /// "end", /// "type" @@ -90,7 +93,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and exclusively - /// above, `start..end`.", "type": "object", + /// above, `start..end`.", + /// "type": "object", /// "required": [ /// "end", /// "start", @@ -115,7 +119,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and unbounded - /// above, `start..`.", "type": "object", + /// above, `start..`.", + /// "type": "object", /// "required": [ /// "start", /// "type" @@ -171,10 +176,12 @@ pub mod types { /// "description": "A type storing a range over `T`.\n\nThis type supports /// ranges similar to the `RangeTo`, `Range` and `RangeFrom` types in the /// standard library. Those cover `(..end)`, `(start..end)`, and `(start..)` - /// respectively.", "oneOf": [ + /// respectively.", + /// "oneOf": [ /// { /// "description": "A range unbounded below and exclusively above, - /// `..end`.", "type": "object", + /// `..end`.", + /// "type": "object", /// "required": [ /// "end", /// "type" @@ -194,7 +201,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and exclusively - /// above, `start..end`.", "type": "object", + /// above, `start..end`.", + /// "type": "object", /// "required": [ /// "end", /// "start", @@ -219,7 +227,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and unbounded - /// above, `start..`.", "type": "object", + /// above, `start..`.", + /// "type": "object", /// "required": [ /// "start", /// "type" @@ -269,7 +278,8 @@ pub mod types { /// ```json ///{ /// "description": "Type storing bin edges and a count of samples within - /// it.", "type": "object", + /// it.", + /// "type": "object", /// "required": [ /// "count", /// "range" @@ -320,7 +330,8 @@ pub mod types { /// ```json ///{ /// "description": "Type storing bin edges and a count of samples within - /// it.", "type": "object", + /// it.", + /// "type": "object", /// "required": [ /// "count", /// "range" @@ -440,7 +451,8 @@ pub mod types { /// constructor can be infallible, but an i64 constructor can fail (if the /// value is negative) and a u64 constructor can fail (if the value is /// larger than i64::MAX). We provide all of these for consumers' - /// convenience.", "type": "integer", + /// convenience.", + /// "type": "integer", /// "format": "uint64", /// "minimum": 0.0 ///} @@ -530,12 +542,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -684,7 +698,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -737,7 +752,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -802,7 +818,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -925,7 +942,8 @@ pub mod types { /// ```json ///{ /// "description": "A `Datum` is a single sampled data point from a - /// metric.", "oneOf": [ + /// metric.", + /// "oneOf": [ /// { /// "type": "object", /// "required": [ @@ -1307,11 +1325,13 @@ pub mod types { /// "properties": { /// "private_key": { /// "description": "request signing private key (base64 encoded der - /// file)", "type": "string" + /// file)", + /// "type": "string" /// }, /// "public_cert": { /// "description": "request signing public certificate (base64 encoded - /// der file)", "type": "string" + /// der file)", + /// "type": "string" /// } /// } ///} @@ -1529,7 +1549,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "image_id": { @@ -1541,7 +1562,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -1621,7 +1643,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Disk`](omicron_common::api::external::Disk)", "type": "object", + /// [`Disk`](omicron_common::api::external::Disk)", + /// "type": "object", /// "required": [ /// "description", /// "disk_source", @@ -1687,7 +1710,8 @@ pub mod types { ///{ /// "description": "TODO-v1: Delete this Parameters for the /// [`Disk`](omicron_common::api::external::Disk) to be attached or detached - /// to an instance", "type": "object", + /// to an instance", + /// "type": "object", /// "required": [ /// "name" /// ], @@ -1873,7 +1897,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -1921,7 +1946,8 @@ pub mod types { /// "properties": { /// "block_size": { /// "description": "size of blocks for this Disk. valid values are: - /// 512, 2048, or 4096", "allOf": [ + /// 512, 2048, or 4096", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/BlockSize" /// } @@ -2201,7 +2227,8 @@ pub mod types { /// "properties": { /// "name": { /// "description": "The name of the distribution (e.g. \"alpine\" or - /// \"ubuntu\")", "allOf": [ + /// \"ubuntu\")", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -2209,7 +2236,8 @@ pub mod types { /// }, /// "version": { /// "description": "The version of the distribution (e.g. \"3.10\" or - /// \"18.04\")", "type": "string" + /// \"18.04\")", + /// "type": "string" /// } /// } ///} @@ -2329,11 +2357,13 @@ pub mod types { /// ```json ///{ /// "description": "Parameters for creating an external IP address for - /// instances.", "oneOf": [ + /// instances.", + /// "oneOf": [ /// { /// "description": "An IP address providing both inbound and outbound /// access. The address is automatically-assigned from the provided IP Pool, - /// or all available pools if not specified.", "type": "object", + /// or all available pools if not specified.", + /// "type": "object", /// "required": [ /// "type" /// ], @@ -2397,7 +2427,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -2434,7 +2465,8 @@ pub mod types { /// ```json ///{ /// "description": "The name and type information for a field of a - /// timeseries schema.", "type": "object", + /// timeseries schema.", + /// "type": "object", /// "required": [ /// "name", /// "source", @@ -2480,7 +2512,8 @@ pub mod types { /// ```json ///{ /// "description": "The source from which a field is derived, the target or - /// metric.", "type": "string", + /// metric.", + /// "type": "string", /// "enum": [ /// "target", /// "metric" @@ -2562,7 +2595,8 @@ pub mod types { /// ```json ///{ /// "description": "The `FieldType` identifies the data type of a target or - /// metric field.", "type": "string", + /// metric field.", + /// "type": "string", /// "enum": [ /// "string", /// "i64", @@ -2802,7 +2836,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -2888,12 +2923,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -3069,7 +3106,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -3172,7 +3210,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -3280,7 +3319,8 @@ pub mod types { /// first bin of a histogram is _always_ a `Bin::Range` or a /// `Bin::RangeFrom` after construction. In fact, every bin is one of those /// variants, the `BinRange::RangeTo` is only provided as a convenience - /// during construction.", "type": "object", + /// during construction.", + /// "type": "object", /// "required": [ /// "bins", /// "n_samples", @@ -3403,7 +3443,8 @@ pub mod types { /// first bin of a histogram is _always_ a `Bin::Range` or a /// `Bin::RangeFrom` after construction. In fact, every bin is one of those /// variants, the `BinRange::RangeTo` is only provided as a convenience - /// during construction.", "type": "object", + /// during construction.", + /// "type": "object", /// "required": [ /// "bins", /// "n_samples", @@ -3557,12 +3598,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -3639,7 +3682,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -3936,12 +3980,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -4037,7 +4083,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for an - /// [`Image`](crate::external_api::views::Image)", "type": "object", + /// [`Image`](crate::external_api::views::Image)", + /// "type": "object", /// "required": [ /// "block_size", /// "description", @@ -4114,7 +4161,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -4191,8 +4239,9 @@ pub mod types { /// }, /// { /// "description": "Boot the Alpine ISO that ships with the Propolis - /// zone. Intended for development purposes only.", "type": - /// "object", "required": [ + /// zone. Intended for development purposes only.", + /// "type": "object", + /// "required": [ /// "type" /// ], /// "properties": { @@ -4257,7 +4306,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "memory": { @@ -4270,7 +4320,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -4443,7 +4494,8 @@ pub mod types { /// }, /// "disks": { /// "description": "The disks to be created or attached for this - /// instance.", "default": [], + /// instance.", + /// "default": [], /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/InstanceDiskAttachment" @@ -4454,7 +4506,8 @@ pub mod types { /// instance.\n\nBy default, all instances have outbound connectivity, but /// no inbound connectivity. These external addresses can be used to provide /// a fixed, known IP address for making inbound connections to the - /// instance.", "default": [], + /// instance.", + /// "default": [], /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/ExternalIpCreate" @@ -4474,25 +4527,29 @@ pub mod types { /// }, /// "network_interfaces": { /// "description": "The network interfaces to be created for this - /// instance.", "default": { + /// instance.", + /// "default": { /// "type": "default" /// }, /// "allOf": [ /// { /// "$ref": - /// "#/components/schemas/InstanceNetworkInterfaceAttachment" } + /// "#/components/schemas/InstanceNetworkInterfaceAttachment" + /// } /// ] /// }, /// "start": { /// "description": "Should this instance be started upon creation; true - /// by default.", "default": true, + /// by default.", + /// "default": true, /// "type": "boolean" /// }, /// "user_data": { /// "description": "User data for instance initialization systems (such /// as cloud-init). Must be a Base64-encoded string, as specified in RFC /// 4648 § 4 (+ and / characters with padding). Maximum 32 KiB unencoded - /// data.", "default": "", + /// data.", + /// "default": "", /// "type": "string", /// "format": "byte" /// } @@ -4694,7 +4751,8 @@ pub mod types { /// ```json ///{ /// "description": "Describes an attachment of a `NetworkInterface` to an - /// `Instance`, at the time the instance is created.", "oneOf": [ + /// `Instance`, at the time the instance is created.", + /// "oneOf": [ /// { /// "description": "Create one or more `NetworkInterface`s for the /// `Instance`.\n\nIf more than one interface is provided, then the first @@ -4723,7 +4781,8 @@ pub mod types { /// "description": "The default networking configuration for an /// instance is to create a single primary interface with an /// automatically-assigned IP address. The IP will be pulled from the - /// Project's default VPC / VPC Subnet.", "type": "object", + /// Project's default VPC / VPC Subnet.", + /// "type": "object", /// "required": [ /// "type" /// ], @@ -4738,7 +4797,8 @@ pub mod types { /// }, /// { /// "description": "No network interfaces at all will be created for - /// the instance.", "type": "object", + /// the instance.", + /// "type": "object", /// "required": [ /// "type" /// ], @@ -4803,7 +4863,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -4849,8 +4910,9 @@ pub mod types { /// "data": { /// "description": "The bytes starting from the requested offset up to /// either the end of the buffer or the request's `max_bytes`. Provided as a - /// u8 array rather than a string, as it may not be UTF-8.", "type" - /// : "array", "items": { + /// u8 array rather than a string, as it may not be UTF-8.", + /// "type": "array", + /// "items": { /// "type": "integer", /// "format": "uint8", /// "minimum": 0.0 @@ -4859,7 +4921,8 @@ pub mod types { /// "last_byte_offset": { /// "description": "The absolute offset since boot (suitable for use as /// `byte_offset` in a subsequent request) of the last byte returned in - /// `data`.", "type": "integer", + /// `data`.", + /// "type": "integer", /// "format": "uint64", /// "minimum": 0.0 /// } @@ -4902,7 +4965,8 @@ pub mod types { /// "description": "Running state of an Instance (primarily: booted or /// stopped)\n\nThis typically reflects whether it's starting, running, /// stopping, or stopped, but also includes states related to the Instance's - /// lifecycle", "oneOf": [ + /// lifecycle", + /// "oneOf": [ /// { /// "description": "The instance is being created.", /// "type": "string", @@ -4926,7 +4990,8 @@ pub mod types { /// }, /// { /// "description": "The instance has been requested to stop and a - /// transition to \"Stopped\" is imminent.", "type": "string", + /// transition to \"Stopped\" is imminent.", + /// "type": "string", /// "enum": [ /// "stopping" /// ] @@ -4941,7 +5006,8 @@ pub mod types { /// { /// "description": "The instance is in the process of rebooting - it /// will remain in the \"rebooting\" state until the VM is starting once - /// more.", "type": "string", + /// more.", + /// "type": "string", /// "enum": [ /// "rebooting" /// ] @@ -4955,7 +5021,8 @@ pub mod types { /// }, /// { /// "description": "The instance is attempting to recover from a - /// failure.", "type": "string", + /// failure.", + /// "type": "string", /// "enum": [ /// "repairing" /// ] @@ -5276,7 +5343,8 @@ pub mod types { /// ```json ///{ /// "description": "Identity-related metadata that's included in nearly all - /// public API objects", "type": "object", + /// public API objects", + /// "type": "object", /// "required": [ /// "description", /// "id", @@ -5291,12 +5359,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -5351,7 +5421,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for an IP Pool.\n\nSee - /// [`IpPool`](crate::external_api::views::IpPool)", "type": "object", + /// [`IpPool`](crate::external_api::views::IpPool)", + /// "type": "object", /// "required": [ /// "description", /// "name" @@ -5453,7 +5524,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -5504,7 +5576,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -5647,7 +5720,8 @@ pub mod types { /// "pattern": /// "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\. /// ){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/ - /// ([8-9]|1[0-9]|2[0-9]|3[0-2])$" } + /// ([8-9]|1[0-9]|2[0-9]|3[0-2])$" + ///} /// ``` /// #[derive( @@ -5736,7 +5810,8 @@ pub mod types { ///{ /// "description": "A non-decreasing IPv4 address range, inclusive of both /// ends.\n\nThe first address must be less than or equal to the last - /// address.", "type": "object", + /// address.", + /// "type": "object", /// "required": [ /// "first", /// "last" @@ -5787,7 +5862,7 @@ pub mod types { /// "pattern": /// "^([fF][dD])[0-9a-fA-F]{2}:(([0-9a-fA-F]{1,4}:){6}[0-9a-fA-F]{1, /// 4}|([0-9a-fA-F]{1,4}:){1,6}:)\\/([1-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$" - /// } + ///} /// ``` /// #[derive( @@ -5875,7 +5950,8 @@ pub mod types { ///{ /// "description": "A non-decreasing IPv6 address range, inclusive of both /// ends.\n\nThe first address must be less than or equal to the last - /// address.", "type": "object", + /// address.", + /// "type": "object", /// "required": [ /// "first", /// "last" @@ -5920,7 +5996,8 @@ pub mod types { ///{ /// "title": "A range of IP ports", /// "description": "An inclusive-inclusive range of IP ports. The second - /// port may be omitted to represent a single port", "examples": [ + /// port may be omitted to represent a single port", + /// "examples": [ /// "22" /// ], /// "type": "string", @@ -6105,7 +6182,8 @@ pub mod types { /// ```json ///{ /// "description": "A `Measurement` is a timestamped datum from a single - /// metric", "type": "object", + /// metric", + /// "type": "object", /// "required": [ /// "datum", /// "timestamp" @@ -6161,7 +6239,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -6203,11 +6282,13 @@ pub mod types { /// "description": "Names must begin with a lower case ASCII letter, be /// composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and /// '-', and may not end with a '-'. Names cannot be a UUID though they may - /// contain a UUID.", "type": "string", + /// contain a UUID.", + /// "type": "string", /// "maxLength": 63, /// "pattern": /// "^(?![0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)^[a-z][a-z0-9-]* - /// [a-zA-Z0-9]$" } + /// [a-zA-Z0-9]$" + ///} /// ``` /// #[derive( @@ -6379,7 +6460,8 @@ pub mod types { /// ```json ///{ /// "description": "Supported set of sort modes for scanning by name or - /// id", "oneOf": [ + /// id", + /// "oneOf": [ /// { /// "description": "sort in increasing order of \"name\"", /// "type": "string", @@ -6572,7 +6654,8 @@ pub mod types { /// ```json ///{ /// "description": "A `NetworkInterface` represents a virtual network - /// interface device.", "type": "object", + /// interface device.", + /// "type": "object", /// "required": [ /// "description", /// "id", @@ -6593,7 +6676,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "instance_id": { @@ -6616,7 +6700,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -6624,7 +6709,8 @@ pub mod types { /// }, /// "primary": { /// "description": "True if this interface is the primary for the - /// instance to which it's attached.", "type": "boolean" + /// instance to which it's attached.", + /// "type": "boolean" /// }, /// "subnet_id": { /// "description": "The subnet to which the interface belongs.", @@ -6710,7 +6796,8 @@ pub mod types { /// }, /// "ip": { /// "description": "The IP address for the interface. One will be - /// auto-assigned if not provided.", "type": [ + /// auto-assigned if not provided.", + /// "type": [ /// "string", /// "null" /// ], @@ -6786,7 +6873,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -6853,7 +6941,8 @@ pub mod types { /// interface will be on a distinct subnet from the previous primary /// interface.\n\nNote that this can only be used to select a new primary /// interface for an instance. Requests to change the primary interface into - /// a secondary will return an error.", "default": false, + /// a secondary will return an error.", + /// "default": false, /// "type": "boolean" /// } /// } @@ -6985,12 +7074,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -7100,7 +7191,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -7280,7 +7372,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -7469,7 +7562,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "model": { @@ -7553,7 +7647,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -7687,12 +7782,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -7751,8 +7848,9 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Project`](crate::external_api::views::Project)", "type": "object" - /// , "required": [ + /// [`Project`](crate::external_api::views::Project)", + /// "type": "object", + /// "required": [ /// "description", /// "name" /// ], @@ -7806,7 +7904,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -7986,7 +8085,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -8034,8 +8134,9 @@ pub mod types { /// ```json ///{ /// "description": "Updateable properties of a - /// [`Project`](crate::external_api::views::Project)", "type": "object" - /// , "properties": { + /// [`Project`](crate::external_api::views::Project)", + /// "type": "object", + /// "properties": { /// "description": { /// "type": [ /// "string", @@ -8089,7 +8190,8 @@ pub mod types { /// "properties": { /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -8149,7 +8251,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -8228,7 +8331,8 @@ pub mod types { ///{ /// "title": "A name for a built-in role", /// "description": "Role names consist of two string components separated - /// by dot (\".\").", "type": "string", + /// by dot (\".\").", + /// "type": "string", /// "maxLength": 63, /// "pattern": "[a-z-]+\\.[a-z-]+" ///} @@ -8327,7 +8431,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -8372,10 +8477,12 @@ pub mod types { /// routing rule, on the destination of that traffic.\n\nWhen traffic is to /// be sent to a destination that is within a given `RouteDestination`, the /// corresponding [`RouterRoute`] applies, and traffic will be forward to - /// the [`RouteTarget`] for that rule.", "oneOf": [ + /// the [`RouteTarget`] for that rule.", + /// "oneOf": [ /// { /// "description": "Route applies to traffic destined for a specific IP - /// address", "type": "object", + /// address", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -8395,7 +8502,8 @@ pub mod types { /// }, /// { /// "description": "Route applies to traffic destined for a specific IP - /// subnet", "type": "object", + /// subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -8414,7 +8522,8 @@ pub mod types { /// }, /// { /// "description": "Route applies to traffic destined for the given - /// VPC.", "type": "object", + /// VPC.", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -8497,7 +8606,8 @@ pub mod types { /// ```json ///{ /// "description": "A `RouteTarget` describes the possible locations that - /// traffic matching a route destination can be sent.", "oneOf": [ + /// traffic matching a route destination can be sent.", + /// "oneOf": [ /// { /// "description": "Forward traffic to a particular IP address.", /// "type": "object", @@ -8638,7 +8748,8 @@ pub mod types { /// ```json ///{ /// "description": "A route defines a rule that governs where traffic - /// should be sent based on its destination.", "type": "object", + /// should be sent based on its destination.", + /// "type": "object", /// "required": [ /// "description", /// "destination", @@ -8660,12 +8771,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "kind": { /// "description": "Describes the kind of router. Set at creation. - /// `read-only`", "allOf": [ + /// `read-only`", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/RouterRouteKind" /// } @@ -8673,7 +8786,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -8799,15 +8913,17 @@ pub mod types { /// { /// "description": "Determines the default destination of traffic, such /// as whether it goes to the internet or not.\n\n`Destination: An Internet - /// Gateway` `Modifiable: true`", "type": "string", + /// Gateway` `Modifiable: true`", + /// "type": "string", /// "enum": [ /// "default" /// ] /// }, /// { /// "description": "Automatically added for each VPC Subnet in the - /// VPC\n\n`Destination: A VPC Subnet` `Modifiable: false`", "type" - /// : "string", "enum": [ + /// VPC\n\n`Destination: A VPC Subnet` `Modifiable: false`", + /// "type": "string", + /// "enum": [ /// "vpc_subnet" /// ] /// }, @@ -8940,7 +9056,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -9206,7 +9323,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -9325,7 +9443,8 @@ pub mod types { /// ```json ///{ /// "description": "Identity-related metadata that's included in nearly all - /// public API objects", "type": "object", + /// public API objects", + /// "type": "object", /// "required": [ /// "acs_url", /// "description", @@ -9341,7 +9460,8 @@ pub mod types { /// "properties": { /// "acs_url": { /// "description": "service provider endpoint where the response will - /// be sent", "type": "string" + /// be sent", + /// "type": "string" /// }, /// "description": { /// "description": "human-readable free-form text about a resource", @@ -9349,7 +9469,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "idp_entity_id": { @@ -9358,7 +9479,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -9366,14 +9488,16 @@ pub mod types { /// }, /// "public_cert": { /// "description": "optional request signing public certificate (base64 - /// encoded der file)", "type": [ + /// encoded der file)", + /// "type": [ /// "string", /// "null" /// ] /// }, /// "slo_url": { /// "description": "service provider endpoint where the idp should send - /// log out requests", "type": "string" + /// log out requests", + /// "type": "string" /// }, /// "sp_client_id": { /// "description": "sp's client id", @@ -9381,7 +9505,8 @@ pub mod types { /// }, /// "technical_contact_email": { /// "description": "customer's technical contact for saml - /// configuration", "type": "string" + /// configuration", + /// "type": "string" /// }, /// "time_created": { /// "description": "timestamp when this resource was created", @@ -9458,7 +9583,8 @@ pub mod types { /// "properties": { /// "acs_url": { /// "description": "service provider endpoint where the response will - /// be sent", "type": "string" + /// be sent", + /// "type": "string" /// }, /// "description": { /// "type": "string" @@ -9478,7 +9604,8 @@ pub mod types { /// }, /// "idp_metadata_source": { /// "description": "the source of an identity provider metadata - /// descriptor", "allOf": [ + /// descriptor", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/IdpMetadataSource" /// } @@ -9497,7 +9624,8 @@ pub mod types { /// }, /// "slo_url": { /// "description": "service provider endpoint where the idp should send - /// log out requests", "type": "string" + /// log out requests", + /// "type": "string" /// }, /// "sp_client_id": { /// "description": "sp's client id", @@ -9505,7 +9633,8 @@ pub mod types { /// }, /// "technical_contact_email": { /// "description": "customer's technical contact for saml - /// configuration", "type": "string" + /// configuration", + /// "type": "string" /// } /// } ///} @@ -9639,7 +9768,8 @@ pub mod types { /// "oneOf": [ /// { /// "description": "This certificate is intended for access to the - /// external API.", "type": "string", + /// external API.", + /// "type": "string", /// "enum": [ /// "external_api" /// ] @@ -9740,7 +9870,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "identity_mode": { @@ -9753,7 +9884,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -9811,7 +9943,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Silo`](crate::external_api::views::Silo)", "type": "object", + /// [`Silo`](crate::external_api::views::Silo)", + /// "type": "object", /// "required": [ /// "description", /// "discoverable", @@ -9826,7 +9959,8 @@ pub mod types { /// further initialize the Silo.\n\nNote that if configuring a SAML based /// identity provider, group_attribute_name must be set for users to be /// considered part of a group. See [`SamlIdentityProviderCreate`] for more - /// information.", "type": [ + /// information.", + /// "type": [ /// "string", /// "null" /// ] @@ -9885,12 +10019,14 @@ pub mod types { /// ```json ///{ /// "description": "Describes how identities are managed and users are - /// authenticated in this Silo", "oneOf": [ + /// authenticated in this Silo", + /// "oneOf": [ /// { /// "description": "Users are authenticated with SAML using an external /// authentication provider. The system updates information about users and /// groups only during successful authentication (i.e,. \"JIT provisioning\" - /// of users and groups).", "type": "string", + /// of users and groups).", + /// "type": "string", /// "enum": [ /// "saml_jit" /// ] @@ -9898,7 +10034,8 @@ pub mod types { /// { /// "description": "The system is the source of truth about users. /// There is no linkage to an external authentication provider or identity - /// provider.", "type": "string", + /// provider.", + /// "type": "string", /// "enum": [ /// "local_only" /// ] @@ -10001,7 +10138,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10181,7 +10319,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -10242,7 +10381,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "service_address": { @@ -10307,7 +10447,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10367,12 +10508,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -10507,7 +10650,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10687,12 +10831,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -10700,7 +10846,8 @@ pub mod types { /// }, /// "public_key": { /// "description": "SSH public key, e.g., `\"ssh-ed25519 - /// AAAAC3NzaC...\"`", "type": "string" + /// AAAAC3NzaC...\"`", + /// "type": "string" /// }, /// "silo_user_id": { /// "description": "The user to whom this key belongs", @@ -10759,7 +10906,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for an - /// [`SshKey`](crate::external_api::views::SshKey)", "type": "object", + /// [`SshKey`](crate::external_api::views::SshKey)", + /// "type": "object", /// "required": [ /// "description", /// "name", @@ -10774,7 +10922,8 @@ pub mod types { /// }, /// "public_key": { /// "description": "SSH public key, e.g., `\"ssh-ed25519 - /// AAAAC3NzaC...\"`", "type": "string" + /// AAAAC3NzaC...\"`", + /// "type": "string" /// } /// } ///} @@ -10821,7 +10970,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10956,7 +11106,8 @@ pub mod types { /// "properties": { /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -11020,7 +11171,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11140,7 +11292,7 @@ pub mod types { /// "type": "string", /// "pattern": /// "(([a-z]+[a-z0-9]*)(_([a-z0-9]+))*):(([a-z]+[a-z0-9]*)(_([a-z0-9]+))*)" - /// } + ///} /// ``` /// #[derive( @@ -11227,7 +11379,8 @@ pub mod types { ///{ /// "description": "The schema for a timeseries.\n\nThis includes the name /// of the timeseries, as well as the datum type of its metric and the - /// schema for each field.", "type": "object", + /// schema for each field.", + /// "type": "object", /// "required": [ /// "created", /// "datum_type", @@ -11296,7 +11449,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11346,7 +11500,8 @@ pub mod types { /// "properties": { /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "status": { @@ -11414,7 +11569,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11580,7 +11736,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "status": { @@ -11654,7 +11811,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11889,12 +12047,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -11961,7 +12121,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11998,7 +12159,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`User`](crate::external_api::views::User)", "type": "object", + /// [`User`](crate::external_api::views::User)", + /// "type": "object", /// "required": [ /// "external_id", /// "password" @@ -12056,11 +12218,13 @@ pub mod types { /// "description": "Names must begin with a lower case ASCII letter, be /// composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and /// '-', and may not end with a '-'. Names cannot be a UUID though they may - /// contain a UUID.", "type": "string", + /// contain a UUID.", + /// "type": "string", /// "maxLength": 63, /// "pattern": /// "^(?![0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)^[a-z][a-z0-9-]* - /// [a-zA-Z0-9]$" } + /// [a-zA-Z0-9]$" + ///} /// ``` /// #[derive( @@ -12158,7 +12322,8 @@ pub mod types { /// }, /// { /// "description": "Invalidates any current password (disabling - /// password authentication)", "type": "object", + /// password authentication)", + /// "type": "object", /// "required": [ /// "user_password_value" /// ], @@ -12218,7 +12383,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -12363,12 +12529,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "ipv6_prefix": { /// "description": "The unique local IPv6 address range for subnets in - /// this VPC", "allOf": [ + /// this VPC", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv6Net" /// } @@ -12376,7 +12544,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -12389,7 +12558,8 @@ pub mod types { /// }, /// "system_router_id": { /// "description": "id for the system router where subnet default - /// routes are registered", "type": "string", + /// routes are registered", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -12447,7 +12617,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Vpc`](crate::external_api::views::Vpc)", "type": "object", + /// [`Vpc`](crate::external_api::views::Vpc)", + /// "type": "object", /// "required": [ /// "description", /// "dns_name", @@ -12464,7 +12635,8 @@ pub mod types { /// "description": "The IPv6 prefix for this VPC.\n\nAll IPv6 subnets /// created from this VPC must be taken from this range, which sould be a /// Unique Local Address in the range `fd00::/48`. The default VPC Subnet - /// will have the first `/64` range from this prefix.", "allOf": [ + /// will have the first `/64` range from this prefix.", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv6Net" /// } @@ -12529,7 +12701,8 @@ pub mod types { /// "properties": { /// "action": { /// "description": "whether traffic matching the rule should be allowed - /// or dropped", "allOf": [ + /// or dropped", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleAction" /// } @@ -12541,7 +12714,8 @@ pub mod types { /// }, /// "direction": { /// "description": "whether this rule is for incoming or outgoing - /// traffic", "allOf": [ + /// traffic", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleDirection" /// } @@ -12557,12 +12731,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -12584,7 +12760,8 @@ pub mod types { /// }, /// "targets": { /// "description": "list of sets of instances that the rule applies - /// to", "type": "array", + /// to", + /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/VpcFirewallRuleTarget" /// } @@ -12825,7 +13002,8 @@ pub mod types { /// "properties": { /// "hosts": { /// "description": "If present, the sources (if incoming) or - /// destinations (if outgoing) this rule applies to.", "type": [ + /// destinations (if outgoing) this rule applies to.", + /// "type": [ /// "array", /// "null" /// ], @@ -12835,7 +13013,8 @@ pub mod types { /// }, /// "ports": { /// "description": "If present, the destination ports this rule applies - /// to.", "type": [ + /// to.", + /// "type": [ /// "array", /// "null" /// ], @@ -12845,7 +13024,8 @@ pub mod types { /// }, /// "protocols": { /// "description": "If present, the networking protocols this rule - /// applies to.", "type": [ + /// applies to.", + /// "type": [ /// "array", /// "null" /// ], @@ -12895,7 +13075,8 @@ pub mod types { /// "oneOf": [ /// { /// "description": "The rule applies to traffic from/to all instances - /// in the VPC", "type": "object", + /// in the VPC", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -12914,7 +13095,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to all instances - /// in the VPC Subnet", "type": "object", + /// in the VPC Subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -12933,7 +13115,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to this specific - /// instance", "type": "object", + /// instance", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -12952,7 +13135,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to a specific IP - /// address", "type": "object", + /// address", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -12972,7 +13156,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to a specific IP - /// subnet", "type": "object", + /// subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -13038,7 +13223,8 @@ pub mod types { /// ```json ///{ /// "description": "The protocols that may be specified in a firewall - /// rule's filter", "type": "string", + /// rule's filter", + /// "type": "string", /// "enum": [ /// "TCP", /// "UDP", @@ -13207,7 +13393,8 @@ pub mod types { /// ```json ///{ /// "description": "A `VpcFirewallRuleTarget` is used to specify the set of - /// [`Instance`]s to which a firewall rule applies.", "oneOf": [ + /// [`Instance`]s to which a firewall rule applies.", + /// "oneOf": [ /// { /// "description": "The rule applies to all instances in the VPC", /// "type": "object", @@ -13229,7 +13416,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to all instances in the VPC - /// Subnet", "type": "object", + /// Subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -13367,7 +13555,8 @@ pub mod types { /// "properties": { /// "action": { /// "description": "whether traffic matching the rule should be allowed - /// or dropped", "allOf": [ + /// or dropped", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleAction" /// } @@ -13379,7 +13568,8 @@ pub mod types { /// }, /// "direction": { /// "description": "whether this rule is for incoming or outgoing - /// traffic", "allOf": [ + /// traffic", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleDirection" /// } @@ -13417,7 +13607,8 @@ pub mod types { /// }, /// "targets": { /// "description": "list of sets of instances that the rule applies - /// to", "type": "array", + /// to", + /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/VpcFirewallRuleTarget" /// } @@ -13468,7 +13659,8 @@ pub mod types { ///{ /// "description": "Updateable properties of a `Vpc`'s firewall Note that /// VpcFirewallRules are implicitly created along with a Vpc, so there is no - /// explicit creation.", "type": "object", + /// explicit creation.", + /// "type": "object", /// "required": [ /// "rules" /// ], @@ -13560,7 +13752,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -13616,7 +13809,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "kind": { @@ -13624,7 +13818,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -13823,7 +14018,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -13911,7 +14107,8 @@ pub mod types { ///{ /// "description": "A VPC subnet represents a logical grouping for /// instances that allows network traffic between them, within a IPv4 - /// subnetwork or optionall an IPv6 subnetwork.", "type": "object", + /// subnetwork or optionall an IPv6 subnetwork.", + /// "type": "object", /// "required": [ /// "description", /// "id", @@ -13929,7 +14126,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "ipv4_block": { @@ -13950,7 +14148,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -14029,7 +14228,8 @@ pub mod types { /// "ipv4_block": { /// "description": "The IPv4 address range for this subnet.\n\nIt must /// be allocated from an RFC 1918 private address range, and must not - /// overlap with any other existing subnet in the VPC.", "allOf": [ + /// overlap with any other existing subnet in the VPC.", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv4Net" /// } @@ -14040,7 +14240,8 @@ pub mod types { /// be allocated from the RFC 4193 Unique Local Address range, with the /// prefix equal to the parent VPC's prefix. A random `/64` block will be /// assigned if one is not provided. It must not overlap with any existing - /// subnet in the VPC.", "allOf": [ + /// subnet in the VPC.", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv6Net" /// } @@ -14105,7 +14306,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -14190,7 +14392,8 @@ pub mod types { /// ```json ///{ /// "description": "Updateable properties of a - /// [`Vpc`](crate::external_api::views::Vpc)", "type": "object", + /// [`Vpc`](crate::external_api::views::Vpc)", + /// "type": "object", /// "properties": { /// "description": { /// "type": [ diff --git a/progenitor-impl/tests/output/nexus-positional.out b/progenitor-impl/tests/output/nexus-positional.out index e284982..9d47fc8 100644 --- a/progenitor-impl/tests/output/nexus-positional.out +++ b/progenitor-impl/tests/output/nexus-positional.out @@ -14,7 +14,8 @@ pub mod types { /// ```json ///{ /// "description": "Describes properties that should uniquely identify a - /// Gimlet.", "type": "object", + /// Gimlet.", + /// "type": "object", /// "required": [ /// "part", /// "revision", @@ -61,10 +62,12 @@ pub mod types { /// "description": "A type storing a range over `T`.\n\nThis type supports /// ranges similar to the `RangeTo`, `Range` and `RangeFrom` types in the /// standard library. Those cover `(..end)`, `(start..end)`, and `(start..)` - /// respectively.", "oneOf": [ + /// respectively.", + /// "oneOf": [ /// { /// "description": "A range unbounded below and exclusively above, - /// `..end`.", "type": "object", + /// `..end`.", + /// "type": "object", /// "required": [ /// "end", /// "type" @@ -84,7 +87,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and exclusively - /// above, `start..end`.", "type": "object", + /// above, `start..end`.", + /// "type": "object", /// "required": [ /// "end", /// "start", @@ -109,7 +113,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and unbounded - /// above, `start..`.", "type": "object", + /// above, `start..`.", + /// "type": "object", /// "required": [ /// "start", /// "type" @@ -165,10 +170,12 @@ pub mod types { /// "description": "A type storing a range over `T`.\n\nThis type supports /// ranges similar to the `RangeTo`, `Range` and `RangeFrom` types in the /// standard library. Those cover `(..end)`, `(start..end)`, and `(start..)` - /// respectively.", "oneOf": [ + /// respectively.", + /// "oneOf": [ /// { /// "description": "A range unbounded below and exclusively above, - /// `..end`.", "type": "object", + /// `..end`.", + /// "type": "object", /// "required": [ /// "end", /// "type" @@ -188,7 +195,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and exclusively - /// above, `start..end`.", "type": "object", + /// above, `start..end`.", + /// "type": "object", /// "required": [ /// "end", /// "start", @@ -213,7 +221,8 @@ pub mod types { /// }, /// { /// "description": "A range bounded inclusively below and unbounded - /// above, `start..`.", "type": "object", + /// above, `start..`.", + /// "type": "object", /// "required": [ /// "start", /// "type" @@ -263,7 +272,8 @@ pub mod types { /// ```json ///{ /// "description": "Type storing bin edges and a count of samples within - /// it.", "type": "object", + /// it.", + /// "type": "object", /// "required": [ /// "count", /// "range" @@ -308,7 +318,8 @@ pub mod types { /// ```json ///{ /// "description": "Type storing bin edges and a count of samples within - /// it.", "type": "object", + /// it.", + /// "type": "object", /// "required": [ /// "count", /// "range" @@ -422,7 +433,8 @@ pub mod types { /// constructor can be infallible, but an i64 constructor can fail (if the /// value is negative) and a u64 constructor can fail (if the value is /// larger than i64::MAX). We provide all of these for consumers' - /// convenience.", "type": "integer", + /// convenience.", + /// "type": "integer", /// "format": "uint64", /// "minimum": 0.0 ///} @@ -512,12 +524,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -654,7 +668,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -701,7 +716,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -760,7 +776,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -865,7 +882,8 @@ pub mod types { /// ```json ///{ /// "description": "A `Datum` is a single sampled data point from a - /// metric.", "oneOf": [ + /// metric.", + /// "oneOf": [ /// { /// "type": "object", /// "required": [ @@ -1235,11 +1253,13 @@ pub mod types { /// "properties": { /// "private_key": { /// "description": "request signing private key (base64 encoded der - /// file)", "type": "string" + /// file)", + /// "type": "string" /// }, /// "public_cert": { /// "description": "request signing public certificate (base64 encoded - /// der file)", "type": "string" + /// der file)", + /// "type": "string" /// } /// } ///} @@ -1433,7 +1453,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "image_id": { @@ -1445,7 +1466,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -1519,7 +1541,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Disk`](omicron_common::api::external::Disk)", "type": "object", + /// [`Disk`](omicron_common::api::external::Disk)", + /// "type": "object", /// "required": [ /// "description", /// "disk_source", @@ -1579,7 +1602,8 @@ pub mod types { ///{ /// "description": "TODO-v1: Delete this Parameters for the /// [`Disk`](omicron_common::api::external::Disk) to be attached or detached - /// to an instance", "type": "object", + /// to an instance", + /// "type": "object", /// "required": [ /// "name" /// ], @@ -1741,7 +1765,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -1783,7 +1808,8 @@ pub mod types { /// "properties": { /// "block_size": { /// "description": "size of blocks for this Disk. valid values are: - /// 512, 2048, or 4096", "allOf": [ + /// 512, 2048, or 4096", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/BlockSize" /// } @@ -2063,7 +2089,8 @@ pub mod types { /// "properties": { /// "name": { /// "description": "The name of the distribution (e.g. \"alpine\" or - /// \"ubuntu\")", "allOf": [ + /// \"ubuntu\")", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -2071,7 +2098,8 @@ pub mod types { /// }, /// "version": { /// "description": "The version of the distribution (e.g. \"3.10\" or - /// \"18.04\")", "type": "string" + /// \"18.04\")", + /// "type": "string" /// } /// } ///} @@ -2173,11 +2201,13 @@ pub mod types { /// ```json ///{ /// "description": "Parameters for creating an external IP address for - /// instances.", "oneOf": [ + /// instances.", + /// "oneOf": [ /// { /// "description": "An IP address providing both inbound and outbound /// access. The address is automatically-assigned from the provided IP Pool, - /// or all available pools if not specified.", "type": "object", + /// or all available pools if not specified.", + /// "type": "object", /// "required": [ /// "type" /// ], @@ -2241,7 +2271,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -2272,7 +2303,8 @@ pub mod types { /// ```json ///{ /// "description": "The name and type information for a field of a - /// timeseries schema.", "type": "object", + /// timeseries schema.", + /// "type": "object", /// "required": [ /// "name", /// "source", @@ -2312,7 +2344,8 @@ pub mod types { /// ```json ///{ /// "description": "The source from which a field is derived, the target or - /// metric.", "type": "string", + /// metric.", + /// "type": "string", /// "enum": [ /// "target", /// "metric" @@ -2382,7 +2415,8 @@ pub mod types { /// ```json ///{ /// "description": "The `FieldType` identifies the data type of a target or - /// metric field.", "type": "string", + /// metric field.", + /// "type": "string", /// "enum": [ /// "string", /// "i64", @@ -2592,7 +2626,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -2672,12 +2707,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -2841,7 +2878,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -2932,7 +2970,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -3034,7 +3073,8 @@ pub mod types { /// first bin of a histogram is _always_ a `Bin::Range` or a /// `Bin::RangeFrom` after construction. In fact, every bin is one of those /// variants, the `BinRange::RangeTo` is only provided as a convenience - /// during construction.", "type": "object", + /// during construction.", + /// "type": "object", /// "required": [ /// "bins", /// "n_samples", @@ -3151,7 +3191,8 @@ pub mod types { /// first bin of a histogram is _always_ a `Bin::Range` or a /// `Bin::RangeFrom` after construction. In fact, every bin is one of those /// variants, the `BinRange::RangeTo` is only provided as a convenience - /// during construction.", "type": "object", + /// during construction.", + /// "type": "object", /// "required": [ /// "bins", /// "n_samples", @@ -3287,12 +3328,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -3363,7 +3406,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -3630,12 +3674,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -3725,7 +3771,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for an - /// [`Image`](crate::external_api::views::Image)", "type": "object", + /// [`Image`](crate::external_api::views::Image)", + /// "type": "object", /// "required": [ /// "block_size", /// "description", @@ -3796,7 +3843,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -3867,8 +3915,9 @@ pub mod types { /// }, /// { /// "description": "Boot the Alpine ISO that ships with the Propolis - /// zone. Intended for development purposes only.", "type": - /// "object", "required": [ + /// zone. Intended for development purposes only.", + /// "type": "object", + /// "required": [ /// "type" /// ], /// "properties": { @@ -3933,7 +3982,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "memory": { @@ -3946,7 +3996,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -4113,7 +4164,8 @@ pub mod types { /// }, /// "disks": { /// "description": "The disks to be created or attached for this - /// instance.", "default": [], + /// instance.", + /// "default": [], /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/InstanceDiskAttachment" @@ -4124,7 +4176,8 @@ pub mod types { /// instance.\n\nBy default, all instances have outbound connectivity, but /// no inbound connectivity. These external addresses can be used to provide /// a fixed, known IP address for making inbound connections to the - /// instance.", "default": [], + /// instance.", + /// "default": [], /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/ExternalIpCreate" @@ -4144,25 +4197,29 @@ pub mod types { /// }, /// "network_interfaces": { /// "description": "The network interfaces to be created for this - /// instance.", "default": { + /// instance.", + /// "default": { /// "type": "default" /// }, /// "allOf": [ /// { /// "$ref": - /// "#/components/schemas/InstanceNetworkInterfaceAttachment" } + /// "#/components/schemas/InstanceNetworkInterfaceAttachment" + /// } /// ] /// }, /// "start": { /// "description": "Should this instance be started upon creation; true - /// by default.", "default": true, + /// by default.", + /// "default": true, /// "type": "boolean" /// }, /// "user_data": { /// "description": "User data for instance initialization systems (such /// as cloud-init). Must be a Base64-encoded string, as specified in RFC /// 4648 § 4 (+ and / characters with padding). Maximum 32 KiB unencoded - /// data.", "default": "", + /// data.", + /// "default": "", /// "type": "string", /// "format": "byte" /// } @@ -4352,7 +4409,8 @@ pub mod types { /// ```json ///{ /// "description": "Describes an attachment of a `NetworkInterface` to an - /// `Instance`, at the time the instance is created.", "oneOf": [ + /// `Instance`, at the time the instance is created.", + /// "oneOf": [ /// { /// "description": "Create one or more `NetworkInterface`s for the /// `Instance`.\n\nIf more than one interface is provided, then the first @@ -4381,7 +4439,8 @@ pub mod types { /// "description": "The default networking configuration for an /// instance is to create a single primary interface with an /// automatically-assigned IP address. The IP will be pulled from the - /// Project's default VPC / VPC Subnet.", "type": "object", + /// Project's default VPC / VPC Subnet.", + /// "type": "object", /// "required": [ /// "type" /// ], @@ -4396,7 +4455,8 @@ pub mod types { /// }, /// { /// "description": "No network interfaces at all will be created for - /// the instance.", "type": "object", + /// the instance.", + /// "type": "object", /// "required": [ /// "type" /// ], @@ -4461,7 +4521,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -4501,8 +4562,9 @@ pub mod types { /// "data": { /// "description": "The bytes starting from the requested offset up to /// either the end of the buffer or the request's `max_bytes`. Provided as a - /// u8 array rather than a string, as it may not be UTF-8.", "type" - /// : "array", "items": { + /// u8 array rather than a string, as it may not be UTF-8.", + /// "type": "array", + /// "items": { /// "type": "integer", /// "format": "uint8", /// "minimum": 0.0 @@ -4511,7 +4573,8 @@ pub mod types { /// "last_byte_offset": { /// "description": "The absolute offset since boot (suitable for use as /// `byte_offset` in a subsequent request) of the last byte returned in - /// `data`.", "type": "integer", + /// `data`.", + /// "type": "integer", /// "format": "uint64", /// "minimum": 0.0 /// } @@ -4548,7 +4611,8 @@ pub mod types { /// "description": "Running state of an Instance (primarily: booted or /// stopped)\n\nThis typically reflects whether it's starting, running, /// stopping, or stopped, but also includes states related to the Instance's - /// lifecycle", "oneOf": [ + /// lifecycle", + /// "oneOf": [ /// { /// "description": "The instance is being created.", /// "type": "string", @@ -4572,7 +4636,8 @@ pub mod types { /// }, /// { /// "description": "The instance has been requested to stop and a - /// transition to \"Stopped\" is imminent.", "type": "string", + /// transition to \"Stopped\" is imminent.", + /// "type": "string", /// "enum": [ /// "stopping" /// ] @@ -4587,7 +4652,8 @@ pub mod types { /// { /// "description": "The instance is in the process of rebooting - it /// will remain in the \"rebooting\" state until the VM is starting once - /// more.", "type": "string", + /// more.", + /// "type": "string", /// "enum": [ /// "rebooting" /// ] @@ -4601,7 +4667,8 @@ pub mod types { /// }, /// { /// "description": "The instance is attempting to recover from a - /// failure.", "type": "string", + /// failure.", + /// "type": "string", /// "enum": [ /// "repairing" /// ] @@ -4898,7 +4965,8 @@ pub mod types { /// ```json ///{ /// "description": "Identity-related metadata that's included in nearly all - /// public API objects", "type": "object", + /// public API objects", + /// "type": "object", /// "required": [ /// "description", /// "id", @@ -4913,12 +4981,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -4967,7 +5037,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for an IP Pool.\n\nSee - /// [`IpPool`](crate::external_api::views::IpPool)", "type": "object", + /// [`IpPool`](crate::external_api::views::IpPool)", + /// "type": "object", /// "required": [ /// "description", /// "name" @@ -5057,7 +5128,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -5102,7 +5174,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -5233,7 +5306,8 @@ pub mod types { /// "pattern": /// "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\. /// ){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/ - /// ([8-9]|1[0-9]|2[0-9]|3[0-2])$" } + /// ([8-9]|1[0-9]|2[0-9]|3[0-2])$" + ///} /// ``` /// #[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] @@ -5320,7 +5394,8 @@ pub mod types { ///{ /// "description": "A non-decreasing IPv4 address range, inclusive of both /// ends.\n\nThe first address must be less than or equal to the last - /// address.", "type": "object", + /// address.", + /// "type": "object", /// "required": [ /// "first", /// "last" @@ -5365,7 +5440,7 @@ pub mod types { /// "pattern": /// "^([fF][dD])[0-9a-fA-F]{2}:(([0-9a-fA-F]{1,4}:){6}[0-9a-fA-F]{1, /// 4}|([0-9a-fA-F]{1,4}:){1,6}:)\\/([1-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$" - /// } + ///} /// ``` /// #[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] @@ -5451,7 +5526,8 @@ pub mod types { ///{ /// "description": "A non-decreasing IPv6 address range, inclusive of both /// ends.\n\nThe first address must be less than or equal to the last - /// address.", "type": "object", + /// address.", + /// "type": "object", /// "required": [ /// "first", /// "last" @@ -5490,7 +5566,8 @@ pub mod types { ///{ /// "title": "A range of IP ports", /// "description": "An inclusive-inclusive range of IP ports. The second - /// port may be omitted to represent a single port", "examples": [ + /// port may be omitted to represent a single port", + /// "examples": [ /// "22" /// ], /// "type": "string", @@ -5671,7 +5748,8 @@ pub mod types { /// ```json ///{ /// "description": "A `Measurement` is a timestamped datum from a single - /// metric", "type": "object", + /// metric", + /// "type": "object", /// "required": [ /// "datum", /// "timestamp" @@ -5721,7 +5799,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -5757,11 +5836,13 @@ pub mod types { /// "description": "Names must begin with a lower case ASCII letter, be /// composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and /// '-', and may not end with a '-'. Names cannot be a UUID though they may - /// contain a UUID.", "type": "string", + /// contain a UUID.", + /// "type": "string", /// "maxLength": 63, /// "pattern": /// "^(?![0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)^[a-z][a-z0-9-]* - /// [a-zA-Z0-9]$" } + /// [a-zA-Z0-9]$" + ///} /// ``` /// #[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] @@ -5931,7 +6012,8 @@ pub mod types { /// ```json ///{ /// "description": "Supported set of sort modes for scanning by name or - /// id", "oneOf": [ + /// id", + /// "oneOf": [ /// { /// "description": "sort in increasing order of \"name\"", /// "type": "string", @@ -6100,7 +6182,8 @@ pub mod types { /// ```json ///{ /// "description": "A `NetworkInterface` represents a virtual network - /// interface device.", "type": "object", + /// interface device.", + /// "type": "object", /// "required": [ /// "description", /// "id", @@ -6121,7 +6204,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "instance_id": { @@ -6144,7 +6228,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -6152,7 +6237,8 @@ pub mod types { /// }, /// "primary": { /// "description": "True if this interface is the primary for the - /// instance to which it's attached.", "type": "boolean" + /// instance to which it's attached.", + /// "type": "boolean" /// }, /// "subnet_id": { /// "description": "The subnet to which the interface belongs.", @@ -6232,7 +6318,8 @@ pub mod types { /// }, /// "ip": { /// "description": "The IP address for the interface. One will be - /// auto-assigned if not provided.", "type": [ + /// auto-assigned if not provided.", + /// "type": [ /// "string", /// "null" /// ], @@ -6302,7 +6389,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -6363,7 +6451,8 @@ pub mod types { /// interface will be on a distinct subnet from the previous primary /// interface.\n\nNote that this can only be used to select a new primary /// interface for an instance. Requests to change the primary interface into - /// a secondary will return an error.", "default": false, + /// a secondary will return an error.", + /// "default": false, /// "type": "boolean" /// } /// } @@ -6478,12 +6567,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -6581,7 +6672,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -6737,7 +6829,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -6912,7 +7005,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "model": { @@ -6990,7 +7084,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -7106,12 +7201,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -7164,8 +7261,9 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Project`](crate::external_api::views::Project)", "type": "object" - /// , "required": [ + /// [`Project`](crate::external_api::views::Project)", + /// "type": "object", + /// "required": [ /// "description", /// "name" /// ], @@ -7213,7 +7311,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -7369,7 +7468,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -7411,8 +7511,9 @@ pub mod types { /// ```json ///{ /// "description": "Updateable properties of a - /// [`Project`](crate::external_api::views::Project)", "type": "object" - /// , "properties": { + /// [`Project`](crate::external_api::views::Project)", + /// "type": "object", + /// "properties": { /// "description": { /// "type": [ /// "string", @@ -7460,7 +7561,8 @@ pub mod types { /// "properties": { /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -7514,7 +7616,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -7581,7 +7684,8 @@ pub mod types { ///{ /// "title": "A name for a built-in role", /// "description": "Role names consist of two string components separated - /// by dot (\".\").", "type": "string", + /// by dot (\".\").", + /// "type": "string", /// "maxLength": 63, /// "pattern": "[a-z-]+\\.[a-z-]+" ///} @@ -7678,7 +7782,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -7717,10 +7822,12 @@ pub mod types { /// routing rule, on the destination of that traffic.\n\nWhen traffic is to /// be sent to a destination that is within a given `RouteDestination`, the /// corresponding [`RouterRoute`] applies, and traffic will be forward to - /// the [`RouteTarget`] for that rule.", "oneOf": [ + /// the [`RouteTarget`] for that rule.", + /// "oneOf": [ /// { /// "description": "Route applies to traffic destined for a specific IP - /// address", "type": "object", + /// address", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -7740,7 +7847,8 @@ pub mod types { /// }, /// { /// "description": "Route applies to traffic destined for a specific IP - /// subnet", "type": "object", + /// subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -7759,7 +7867,8 @@ pub mod types { /// }, /// { /// "description": "Route applies to traffic destined for the given - /// VPC.", "type": "object", + /// VPC.", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -7842,7 +7951,8 @@ pub mod types { /// ```json ///{ /// "description": "A `RouteTarget` describes the possible locations that - /// traffic matching a route destination can be sent.", "oneOf": [ + /// traffic matching a route destination can be sent.", + /// "oneOf": [ /// { /// "description": "Forward traffic to a particular IP address.", /// "type": "object", @@ -7983,7 +8093,8 @@ pub mod types { /// ```json ///{ /// "description": "A route defines a rule that governs where traffic - /// should be sent based on its destination.", "type": "object", + /// should be sent based on its destination.", + /// "type": "object", /// "required": [ /// "description", /// "destination", @@ -8005,12 +8116,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "kind": { /// "description": "Describes the kind of router. Set at creation. - /// `read-only`", "allOf": [ + /// `read-only`", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/RouterRouteKind" /// } @@ -8018,7 +8131,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -8132,15 +8246,17 @@ pub mod types { /// { /// "description": "Determines the default destination of traffic, such /// as whether it goes to the internet or not.\n\n`Destination: An Internet - /// Gateway` `Modifiable: true`", "type": "string", + /// Gateway` `Modifiable: true`", + /// "type": "string", /// "enum": [ /// "default" /// ] /// }, /// { /// "description": "Automatically added for each VPC Subnet in the - /// VPC\n\n`Destination: A VPC Subnet` `Modifiable: false`", "type" - /// : "string", "enum": [ + /// VPC\n\n`Destination: A VPC Subnet` `Modifiable: false`", + /// "type": "string", + /// "enum": [ /// "vpc_subnet" /// ] /// }, @@ -8261,7 +8377,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -8509,7 +8626,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -8622,7 +8740,8 @@ pub mod types { /// ```json ///{ /// "description": "Identity-related metadata that's included in nearly all - /// public API objects", "type": "object", + /// public API objects", + /// "type": "object", /// "required": [ /// "acs_url", /// "description", @@ -8638,7 +8757,8 @@ pub mod types { /// "properties": { /// "acs_url": { /// "description": "service provider endpoint where the response will - /// be sent", "type": "string" + /// be sent", + /// "type": "string" /// }, /// "description": { /// "description": "human-readable free-form text about a resource", @@ -8646,7 +8766,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "idp_entity_id": { @@ -8655,7 +8776,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -8663,14 +8785,16 @@ pub mod types { /// }, /// "public_cert": { /// "description": "optional request signing public certificate (base64 - /// encoded der file)", "type": [ + /// encoded der file)", + /// "type": [ /// "string", /// "null" /// ] /// }, /// "slo_url": { /// "description": "service provider endpoint where the idp should send - /// log out requests", "type": "string" + /// log out requests", + /// "type": "string" /// }, /// "sp_client_id": { /// "description": "sp's client id", @@ -8678,7 +8802,8 @@ pub mod types { /// }, /// "technical_contact_email": { /// "description": "customer's technical contact for saml - /// configuration", "type": "string" + /// configuration", + /// "type": "string" /// }, /// "time_created": { /// "description": "timestamp when this resource was created", @@ -8749,7 +8874,8 @@ pub mod types { /// "properties": { /// "acs_url": { /// "description": "service provider endpoint where the response will - /// be sent", "type": "string" + /// be sent", + /// "type": "string" /// }, /// "description": { /// "type": "string" @@ -8769,7 +8895,8 @@ pub mod types { /// }, /// "idp_metadata_source": { /// "description": "the source of an identity provider metadata - /// descriptor", "allOf": [ + /// descriptor", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/IdpMetadataSource" /// } @@ -8788,7 +8915,8 @@ pub mod types { /// }, /// "slo_url": { /// "description": "service provider endpoint where the idp should send - /// log out requests", "type": "string" + /// log out requests", + /// "type": "string" /// }, /// "sp_client_id": { /// "description": "sp's client id", @@ -8796,7 +8924,8 @@ pub mod types { /// }, /// "technical_contact_email": { /// "description": "customer's technical contact for saml - /// configuration", "type": "string" + /// configuration", + /// "type": "string" /// } /// } ///} @@ -8922,7 +9051,8 @@ pub mod types { /// "oneOf": [ /// { /// "description": "This certificate is intended for access to the - /// external API.", "type": "string", + /// external API.", + /// "type": "string", /// "enum": [ /// "external_api" /// ] @@ -9011,7 +9141,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "identity_mode": { @@ -9024,7 +9155,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -9076,7 +9208,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Silo`](crate::external_api::views::Silo)", "type": "object", + /// [`Silo`](crate::external_api::views::Silo)", + /// "type": "object", /// "required": [ /// "description", /// "discoverable", @@ -9091,7 +9224,8 @@ pub mod types { /// further initialize the Silo.\n\nNote that if configuring a SAML based /// identity provider, group_attribute_name must be set for users to be /// considered part of a group. See [`SamlIdentityProviderCreate`] for more - /// information.", "type": [ + /// information.", + /// "type": [ /// "string", /// "null" /// ] @@ -9144,12 +9278,14 @@ pub mod types { /// ```json ///{ /// "description": "Describes how identities are managed and users are - /// authenticated in this Silo", "oneOf": [ + /// authenticated in this Silo", + /// "oneOf": [ /// { /// "description": "Users are authenticated with SAML using an external /// authentication provider. The system updates information about users and /// groups only during successful authentication (i.e,. \"JIT provisioning\" - /// of users and groups).", "type": "string", + /// of users and groups).", + /// "type": "string", /// "enum": [ /// "saml_jit" /// ] @@ -9157,7 +9293,8 @@ pub mod types { /// { /// "description": "The system is the source of truth about users. /// There is no linkage to an external authentication provider or identity - /// provider.", "type": "string", + /// provider.", + /// "type": "string", /// "enum": [ /// "local_only" /// ] @@ -9248,7 +9385,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -9404,7 +9542,8 @@ pub mod types { /// particular resource to a particular identity (user, group, etc.)\n\nThe /// resource is not part of this structure. Rather, [`RoleAssignment`]s are /// put into a [`Policy`] and that Policy is applied to a particular - /// resource.", "type": "object", + /// resource.", + /// "type": "object", /// "required": [ /// "identity_id", /// "identity_type", @@ -9459,7 +9598,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "service_address": { @@ -9518,7 +9658,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -9572,12 +9713,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -9700,7 +9843,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -9856,12 +10000,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -9869,7 +10015,8 @@ pub mod types { /// }, /// "public_key": { /// "description": "SSH public key, e.g., `\"ssh-ed25519 - /// AAAAC3NzaC...\"`", "type": "string" + /// AAAAC3NzaC...\"`", + /// "type": "string" /// }, /// "silo_user_id": { /// "description": "The user to whom this key belongs", @@ -9922,7 +10069,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for an - /// [`SshKey`](crate::external_api::views::SshKey)", "type": "object", + /// [`SshKey`](crate::external_api::views::SshKey)", + /// "type": "object", /// "required": [ /// "description", /// "name", @@ -9937,7 +10085,8 @@ pub mod types { /// }, /// "public_key": { /// "description": "SSH public key, e.g., `\"ssh-ed25519 - /// AAAAC3NzaC...\"`", "type": "string" + /// AAAAC3NzaC...\"`", + /// "type": "string" /// } /// } ///} @@ -9978,7 +10127,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10095,7 +10245,8 @@ pub mod types { /// "properties": { /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -10153,7 +10304,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10255,7 +10407,7 @@ pub mod types { /// "type": "string", /// "pattern": /// "(([a-z]+[a-z0-9]*)(_([a-z0-9]+))*):(([a-z]+[a-z0-9]*)(_([a-z0-9]+))*)" - /// } + ///} /// ``` /// #[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] @@ -10340,7 +10492,8 @@ pub mod types { ///{ /// "description": "The schema for a timeseries.\n\nThis includes the name /// of the timeseries, as well as the datum type of its metric and the - /// schema for each field.", "type": "object", + /// schema for each field.", + /// "type": "object", /// "required": [ /// "created", /// "datum_type", @@ -10403,7 +10556,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10447,7 +10601,8 @@ pub mod types { /// "properties": { /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "status": { @@ -10509,7 +10664,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10657,7 +10813,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "status": { @@ -10725,7 +10882,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -10936,12 +11094,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -11002,7 +11162,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11033,7 +11194,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`User`](crate::external_api::views::User)", "type": "object", + /// [`User`](crate::external_api::views::User)", + /// "type": "object", /// "required": [ /// "external_id", /// "password" @@ -11085,11 +11247,13 @@ pub mod types { /// "description": "Names must begin with a lower case ASCII letter, be /// composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and /// '-', and may not end with a '-'. Names cannot be a UUID though they may - /// contain a UUID.", "type": "string", + /// contain a UUID.", + /// "type": "string", /// "maxLength": 63, /// "pattern": /// "^(?![0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)^[a-z][a-z0-9-]* - /// [a-zA-Z0-9]$" } + /// [a-zA-Z0-9]$" + ///} /// ``` /// #[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] @@ -11185,7 +11349,8 @@ pub mod types { /// }, /// { /// "description": "Invalidates any current password (disabling - /// password authentication)", "type": "object", + /// password authentication)", + /// "type": "object", /// "required": [ /// "user_password_value" /// ], @@ -11245,7 +11410,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -11372,12 +11538,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "ipv6_prefix": { /// "description": "The unique local IPv6 address range for subnets in - /// this VPC", "allOf": [ + /// this VPC", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv6Net" /// } @@ -11385,7 +11553,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -11398,7 +11567,8 @@ pub mod types { /// }, /// "system_router_id": { /// "description": "id for the system router where subnet default - /// routes are registered", "type": "string", + /// routes are registered", + /// "type": "string", /// "format": "uuid" /// }, /// "time_created": { @@ -11450,7 +11620,8 @@ pub mod types { /// ```json ///{ /// "description": "Create-time parameters for a - /// [`Vpc`](crate::external_api::views::Vpc)", "type": "object", + /// [`Vpc`](crate::external_api::views::Vpc)", + /// "type": "object", /// "required": [ /// "description", /// "dns_name", @@ -11467,7 +11638,8 @@ pub mod types { /// "description": "The IPv6 prefix for this VPC.\n\nAll IPv6 subnets /// created from this VPC must be taken from this range, which sould be a /// Unique Local Address in the range `fd00::/48`. The default VPC Subnet - /// will have the first `/64` range from this prefix.", "allOf": [ + /// will have the first `/64` range from this prefix.", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv6Net" /// } @@ -11526,7 +11698,8 @@ pub mod types { /// "properties": { /// "action": { /// "description": "whether traffic matching the rule should be allowed - /// or dropped", "allOf": [ + /// or dropped", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleAction" /// } @@ -11538,7 +11711,8 @@ pub mod types { /// }, /// "direction": { /// "description": "whether this rule is for incoming or outgoing - /// traffic", "allOf": [ + /// traffic", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleDirection" /// } @@ -11554,12 +11728,14 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -11581,7 +11757,8 @@ pub mod types { /// }, /// "targets": { /// "description": "list of sets of instances that the rule applies - /// to", "type": "array", + /// to", + /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/VpcFirewallRuleTarget" /// } @@ -11792,7 +11969,8 @@ pub mod types { /// "properties": { /// "hosts": { /// "description": "If present, the sources (if incoming) or - /// destinations (if outgoing) this rule applies to.", "type": [ + /// destinations (if outgoing) this rule applies to.", + /// "type": [ /// "array", /// "null" /// ], @@ -11802,7 +11980,8 @@ pub mod types { /// }, /// "ports": { /// "description": "If present, the destination ports this rule applies - /// to.", "type": [ + /// to.", + /// "type": [ /// "array", /// "null" /// ], @@ -11812,7 +11991,8 @@ pub mod types { /// }, /// "protocols": { /// "description": "If present, the networking protocols this rule - /// applies to.", "type": [ + /// applies to.", + /// "type": [ /// "array", /// "null" /// ], @@ -11856,7 +12036,8 @@ pub mod types { /// "oneOf": [ /// { /// "description": "The rule applies to traffic from/to all instances - /// in the VPC", "type": "object", + /// in the VPC", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -11875,7 +12056,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to all instances - /// in the VPC Subnet", "type": "object", + /// in the VPC Subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -11894,7 +12076,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to this specific - /// instance", "type": "object", + /// instance", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -11913,7 +12096,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to a specific IP - /// address", "type": "object", + /// address", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -11933,7 +12117,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to traffic from/to a specific IP - /// subnet", "type": "object", + /// subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -11999,7 +12184,8 @@ pub mod types { /// ```json ///{ /// "description": "The protocols that may be specified in a firewall - /// rule's filter", "type": "string", + /// rule's filter", + /// "type": "string", /// "enum": [ /// "TCP", /// "UDP", @@ -12144,7 +12330,8 @@ pub mod types { /// ```json ///{ /// "description": "A `VpcFirewallRuleTarget` is used to specify the set of - /// [`Instance`]s to which a firewall rule applies.", "oneOf": [ + /// [`Instance`]s to which a firewall rule applies.", + /// "oneOf": [ /// { /// "description": "The rule applies to all instances in the VPC", /// "type": "object", @@ -12166,7 +12353,8 @@ pub mod types { /// }, /// { /// "description": "The rule applies to all instances in the VPC - /// Subnet", "type": "object", + /// Subnet", + /// "type": "object", /// "required": [ /// "type", /// "value" @@ -12304,7 +12492,8 @@ pub mod types { /// "properties": { /// "action": { /// "description": "whether traffic matching the rule should be allowed - /// or dropped", "allOf": [ + /// or dropped", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleAction" /// } @@ -12316,7 +12505,8 @@ pub mod types { /// }, /// "direction": { /// "description": "whether this rule is for incoming or outgoing - /// traffic", "allOf": [ + /// traffic", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/VpcFirewallRuleDirection" /// } @@ -12354,7 +12544,8 @@ pub mod types { /// }, /// "targets": { /// "description": "list of sets of instances that the rule applies - /// to", "type": "array", + /// to", + /// "type": "array", /// "items": { /// "$ref": "#/components/schemas/VpcFirewallRuleTarget" /// } @@ -12399,7 +12590,8 @@ pub mod types { ///{ /// "description": "Updateable properties of a `Vpc`'s firewall Note that /// VpcFirewallRules are implicitly created along with a Vpc, so there is no - /// explicit creation.", "type": "object", + /// explicit creation.", + /// "type": "object", /// "required": [ /// "rules" /// ], @@ -12479,7 +12671,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -12529,7 +12722,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "kind": { @@ -12537,7 +12731,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -12712,7 +12907,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -12788,7 +12984,8 @@ pub mod types { ///{ /// "description": "A VPC subnet represents a logical grouping for /// instances that allows network traffic between them, within a IPv4 - /// subnetwork or optionall an IPv6 subnetwork.", "type": "object", + /// subnetwork or optionall an IPv6 subnetwork.", + /// "type": "object", /// "required": [ /// "description", /// "id", @@ -12806,7 +13003,8 @@ pub mod types { /// }, /// "id": { /// "description": "unique, immutable, system-controlled identifier for - /// each resource", "type": "string", + /// each resource", + /// "type": "string", /// "format": "uuid" /// }, /// "ipv4_block": { @@ -12827,7 +13025,8 @@ pub mod types { /// }, /// "name": { /// "description": "unique, mutable, user-controlled identifier for - /// each resource", "allOf": [ + /// each resource", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Name" /// } @@ -12900,7 +13099,8 @@ pub mod types { /// "ipv4_block": { /// "description": "The IPv4 address range for this subnet.\n\nIt must /// be allocated from an RFC 1918 private address range, and must not - /// overlap with any other existing subnet in the VPC.", "allOf": [ + /// overlap with any other existing subnet in the VPC.", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv4Net" /// } @@ -12911,7 +13111,8 @@ pub mod types { /// be allocated from the RFC 4193 Unique Local Address range, with the /// prefix equal to the parent VPC's prefix. A random `/64` block will be /// assigned if one is not provided. It must not overlap with any existing - /// subnet in the VPC.", "allOf": [ + /// subnet in the VPC.", + /// "allOf": [ /// { /// "$ref": "#/components/schemas/Ipv6Net" /// } @@ -12970,7 +13171,8 @@ pub mod types { /// }, /// "next_page": { /// "description": "token used to fetch the next page of results (if - /// any)", "type": [ + /// any)", + /// "type": [ /// "string", /// "null" /// ] @@ -13043,7 +13245,8 @@ pub mod types { /// ```json ///{ /// "description": "Updateable properties of a - /// [`Vpc`](crate::external_api::views::Vpc)", "type": "object", + /// [`Vpc`](crate::external_api::views::Vpc)", + /// "type": "object", /// "properties": { /// "description": { /// "type": [ diff --git a/progenitor-impl/tests/output/propolis-server-builder-tagged.out b/progenitor-impl/tests/output/propolis-server-builder-tagged.out index 4b379c6..3c076e9 100644 --- a/progenitor-impl/tests/output/propolis-server-builder-tagged.out +++ b/progenitor-impl/tests/output/propolis-server-builder-tagged.out @@ -690,7 +690,8 @@ pub mod types { /// "properties": { /// "bootrom_id": { /// "description": "ID of the bootrom used to initialize this - /// Instance.", "type": "string", + /// Instance.", + /// "type": "string", /// "format": "uuid" /// }, /// "description": { @@ -1247,7 +1248,8 @@ pub mod types { /// ```json ///{ /// "description": "A stable index which is translated by Propolis into a - /// PCI BDF, visible to the guest.", "type": "integer", + /// PCI BDF, visible to the guest.", + /// "type": "integer", /// "format": "uint8", /// "minimum": 0.0 ///} diff --git a/progenitor-impl/tests/output/propolis-server-builder.out b/progenitor-impl/tests/output/propolis-server-builder.out index 8f06201..25efbe8 100644 --- a/progenitor-impl/tests/output/propolis-server-builder.out +++ b/progenitor-impl/tests/output/propolis-server-builder.out @@ -690,7 +690,8 @@ pub mod types { /// "properties": { /// "bootrom_id": { /// "description": "ID of the bootrom used to initialize this - /// Instance.", "type": "string", + /// Instance.", + /// "type": "string", /// "format": "uuid" /// }, /// "description": { @@ -1283,7 +1284,8 @@ pub mod types { /// ```json ///{ /// "description": "A stable index which is translated by Propolis into a - /// PCI BDF, visible to the guest.", "type": "integer", + /// PCI BDF, visible to the guest.", + /// "type": "integer", /// "format": "uint8", /// "minimum": 0.0 ///} diff --git a/progenitor-impl/tests/output/propolis-server-positional.out b/progenitor-impl/tests/output/propolis-server-positional.out index 40ef23c..487cc50 100644 --- a/progenitor-impl/tests/output/propolis-server-positional.out +++ b/progenitor-impl/tests/output/propolis-server-positional.out @@ -618,7 +618,8 @@ pub mod types { /// "properties": { /// "bootrom_id": { /// "description": "ID of the bootrom used to initialize this - /// Instance.", "type": "string", + /// Instance.", + /// "type": "string", /// "format": "uuid" /// }, /// "description": { @@ -1145,7 +1146,8 @@ pub mod types { /// ```json ///{ /// "description": "A stable index which is translated by Propolis into a - /// PCI BDF, visible to the guest.", "type": "integer", + /// PCI BDF, visible to the guest.", + /// "type": "integer", /// "format": "uint8", /// "minimum": 0.0 ///}