|
| 1 | +/* |
| 2 | + * |
| 3 | + * * |
| 4 | + * * * |
| 5 | + * * * * Copyright 2019-2023 the original author or authors. |
| 6 | + * * * * |
| 7 | + * * * * Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | + * * * * you may not use this file except in compliance with the License. |
| 9 | + * * * * You may obtain a copy of the License at |
| 10 | + * * * * |
| 11 | + * * * * https://www.apache.org/licenses/LICENSE-2.0 |
| 12 | + * * * * |
| 13 | + * * * * Unless required by applicable law or agreed to in writing, software |
| 14 | + * * * * distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | + * * * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | + * * * * See the License for the specific language governing permissions and |
| 17 | + * * * * limitations under the License. |
| 18 | + * * * |
| 19 | + * * |
| 20 | + * |
| 21 | + */ |
| 22 | + |
| 23 | +package test.org.springdoc.api.v30.app204; |
| 24 | + |
| 25 | +import org.junit.jupiter.api.Test; |
| 26 | +import org.springdoc.core.Constants; |
| 27 | +import test.org.springdoc.api.v30.AbstractSpringDocV30Test; |
| 28 | + |
| 29 | +import org.springframework.boot.autoconfigure.SpringBootApplication; |
| 30 | +import org.springframework.context.annotation.Import; |
| 31 | +import org.springframework.test.context.TestPropertySource; |
| 32 | + |
| 33 | +import static org.hamcrest.Matchers.is; |
| 34 | +import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; |
| 35 | +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content; |
| 36 | +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; |
| 37 | +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; |
| 38 | + |
| 39 | +@TestPropertySource(properties = { "springdoc.default-flat-param-object=true" }) |
| 40 | +public class SpringDocApp204Test extends AbstractSpringDocV30Test { |
| 41 | + @SpringBootApplication |
| 42 | + static class SpringDocTestApp {} |
| 43 | +} |
0 commit comments