package oas3
Type Members
- class CleanRepeatedOperationIds extends TransformationStep
- class CleanSchemes extends TransformationStep
- class DeclareUndeclaredSecuritySchemes extends TransformationStep
-
case class
FixFileTypes() extends TransformationStep with Product with Serializable
To represent a method with file upload:
To represent a method with file upload:
in RAML: \- You define a body with multipart/form-data and a property of type: file \- You can specify acceptable file types directly with fileTypes: ['application/xml']
In OAS 3.0: \- You define a requestBody with content of type multipart/form-data \- it's schema should be of type: object and have a property that uses type: string with format: binary
-
class
MakeExamplesNonStrict extends TransformationStep
OAS 3.1+ uses JSON Schema 2020-12 where schema-level
examplesare validated against the schema.OAS 3.1+ uses JSON Schema 2020-12 where schema-level
examplesare validated against the schema. Examples promoted from response/parameter level by ResponseExamplesResolutionStage may not match the schema (per OAS 3.0 they were advisory at content level). Drop them so they don't trigger spurious example-validation-error violations after a round-trip through OAS 3.1+. - class MandatoryDocumentationUrl extends TransformationStep
- class MandatoryPathParameters extends TransformationStep
- class MandatoryResponses extends TransformationStep
- class Oas30SecuritySettingsMapper extends SecuritySettingsMapper