Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added File Support #14

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Akashkamble
Copy link
Collaborator

Now user can pass a JSON file path as the response in Assume.

Example :

    @Assume(
        response = "/Users/nbt762/Documents/Personal/Assume/processor/src/test/kotlin/com/aniketbhoite/assume/response/response.json"
    )
    @GET("comments")
    suspend fun queryCommentsForPostId(@Query("postId") id: Int): List<CommentModel>

@Akashkamble Akashkamble self-assigned this Jun 8, 2021
@Akashkamble Akashkamble added the enhancement New feature or request label Jun 8, 2021
@Akashkamble Akashkamble changed the title Lib/feature file support Added File Support Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant