File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
openapi-circe/src/test/scala/sttp/apispec/openapi/circe/threeone Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -167,16 +167,21 @@ class EncoderTest extends AnyFunSuite with ResourcePlatform {
167167
168168 val components = Components (
169169 schemas = ListMap (
170- schemaComponent(" const and enum" )(Schema (
171- const = Some (" const1" ).map(ExampleSingleValue (_)),
172- `enum` = Some (List (" enum1" , " enum2" ).map(ExampleSingleValue (_)))))
170+ schemaComponent(" const and enum" )(
171+ Schema (
172+ const = Some (" const1" ).map(ExampleSingleValue (_)),
173+ `enum` = Some (List (" enum1" , " enum2" ).map(ExampleSingleValue (_)))
174+ )
175+ )
173176 )
174177 )
175178
176- val openApiJson = fullSchemaOpenApi.copy(
177- openapi = " 3.0.1" ,
178- components = Some (components)
179- ).asJson
179+ val openApiJson = fullSchemaOpenApi
180+ .copy(
181+ openapi = " 3.0.1" ,
182+ components = Some (components)
183+ )
184+ .asJson
180185 val Right (json) = readJson(" /spec/3.0/const_and_enum.json" ): @ unchecked
181186
182187 assert(openApiJson.spaces2SortKeys == json.spaces2SortKeys)
You can’t perform that action at this time.
0 commit comments