zio.http.endpoint.openapi.JsonSchema.SchemaStyle
See theSchemaStyle companion trait
object SchemaStyle
Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
SchemaStyle.type
Members list
Type members
Classlikes
case object Compact extends SchemaStyle
Generates references to json schemas under #/components/schemas/{schema} and uses the type name to help to generate schema names.
Generates references to json schemas under #/components/schemas/{schema} and uses the type name to help to generate schema names.
Attributes
- See also
-
SchemaStyle.Reference for full package path schema names to avoid name collisions.
- Supertypes
- Self type
-
Compact.type
case object Inline extends SchemaStyle
case object Reference extends SchemaStyle
Generates references to json schemas under #/components/schemas/{schema} and uses the full package path to help to generate unique schema names.
Generates references to json schemas under #/components/schemas/{schema} and uses the full package path to help to generate unique schema names.
Attributes
- See also
-
SchemaStyle.Compact for compact schema names.
- Supertypes
- Self type
-
Reference.type
Inherited and Abstract types
The names of the product elements
The name of the type
In this article