automorph.schema.openapi
package automorph.schema.openapi
Members list
Type members
Classlikes
final case class Components(schemas: Option[Map[String, Schema]], responses: Option[Map[String, Response]], parameters: Option[Map[String, Parameter]], examples: Option[Map[String, Example]], requestBodies: Option[Map[String, RequestBody]], headers: Option[Map[String, Header]], securitySchemes: Option[Map[String, SecurityScheme]], links: Option[Map[String, Link]], callbacks: Option[Map[String, Callback]], pathItems: Option[Map[String, PathItem]])
final case class Header(descriptipon: Option[String], required: Option[Boolean], deprecated: Option[Boolean], allowEmptyValue: Option[Boolean], style: Option[String], explode: Option[Boolean], allowReserved: Option[Boolean], schema: Option[Schema], example: Option[String], examples: Option[Map[String, Example]], content: Option[Map[String, MediaType]], $ref: Option[String]) extends Reference
final case class HeaderReference($ref: Option[String]) extends Reference
final case class Link(operationRef: Option[String], operationId: Option[String], parameters: Option[Map[String, String]], requestBody: Option[String], description: Option[String], server: Option[Server], $ref: Option[String]) extends Reference
final case class OAuthFlows(`implicit`: Option[OAuthFlow], password: Option[OAuthFlow], clientCredentials: Option[OAuthFlow], authorizationCode: Option[OAuthFlow])
final case class Operation(tags: Option[List[String]], summary: Option[String], description: Option[String], externalDocs: Option[ExternalDocumentation], operationId: Option[String], parameters: Option[List[Parameter]], requestBody: Option[RequestBody], responses: Responses, callbacks: Option[Map[String, Callback]], deprecated: Option[Boolean], security: Option[List[SecurityRequirement]], servers: Option[List[Server]])
object Operation
final case class Parameter(name: String, in: String, descriptipon: Option[String], required: Option[Boolean], deprecated: Option[Boolean], allowEmptyValue: Option[Boolean], style: Option[String], explode: Option[Boolean], allowReserved: Option[Boolean], schema: Option[Schema], example: Option[String], examples: Option[Map[String, Example]], content: Option[Map[String, MediaType]], $ref: Option[String]) extends Reference
final case class PathItem($ref: Option[String], summary: Option[String], description: Option[String], get: Option[Operation], put: Option[Operation], post: Option[Operation], delete: Option[Operation], options: Option[Operation], head: Option[Operation], patch: Option[Operation], trace: Option[Operation], servers: Option[List[Server]], parameters: Option[List[Parameter]])
final case class PathItemReference($ref: Option[String]) extends Reference
trait Reference
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Exampleclass Headerclass HeaderReferenceclass Linkclass Parameterclass PathItemReferenceclass RequestBodyclass Responseclass SecuritySchemeShow all
object Schema
final case class ServerVariable(enum: Option[List[String]], default: String, description: Option[String])
final case class Tag(name: String, description: Option[String], externalDocs: Option[ExternalDocumentation])
In this article