Skip to content

Commit

Permalink
Move domain package
Browse files Browse the repository at this point in the history
  • Loading branch information
geminiKim committed Aug 19, 2024
1 parent 235c333 commit ba584a4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import io.dodn.springboot.core.api.controller.v1.request.ExampleRequestDto;
import io.dodn.springboot.core.api.controller.v1.response.ExampleResponseDto;
import io.dodn.springboot.core.api.domain.ExampleData;
import io.dodn.springboot.core.api.domain.ExampleResult;
import io.dodn.springboot.core.api.domain.ExampleService;
import io.dodn.springboot.core.domain.ExampleData;
import io.dodn.springboot.core.domain.ExampleResult;
import io.dodn.springboot.core.domain.ExampleService;
import io.dodn.springboot.core.api.support.response.ApiResponse;

import org.springframework.web.bind.annotation.GetMapping;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.dodn.springboot.core.api.controller.v1.request;

import io.dodn.springboot.core.api.domain.ExampleData;
import io.dodn.springboot.core.domain.ExampleData;

public record ExampleRequestDto(String data) {
public ExampleData toExampleData() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.dodn.springboot.core.api.domain;
package io.dodn.springboot.core.domain;

public record ExampleData(String value, String param) {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.dodn.springboot.core.api.domain;
package io.dodn.springboot.core.domain;

public record ExampleResult(String data) {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.dodn.springboot.core.api.domain;
package io.dodn.springboot.core.domain;

import org.springframework.stereotype.Service;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
import static org.springframework.restdocs.request.RequestDocumentation.queryParameters;

import io.dodn.springboot.core.api.controller.v1.request.ExampleRequestDto;
import io.dodn.springboot.core.api.domain.ExampleResult;
import io.dodn.springboot.core.api.domain.ExampleService;
import io.dodn.springboot.core.domain.ExampleResult;
import io.dodn.springboot.core.domain.ExampleService;
import io.dodn.springboot.test.api.RestDocsTest;
import io.restassured.http.ContentType;

Expand Down

0 comments on commit ba584a4

Please sign in to comment.