Skip to content

Configuration behavior and inconsistency in Create Post API documentation #70

@dora11729

Description

@dora11729

Hi, thank you for sharing this project. I have a few questions while trying to run it:

  1. I followed the steps in README.md, but the application could not run successfully at first.
    It seems that some settings in src/main/resources/application.properties are overridden by application.yml.
    After I modified the datasource url, username, and password in application.yml to match those in application.properties, the application started successfully.
    Is this the expected behavior?

  2. In the "Create new post" API example, the request body only includes title and body.
    However, when I send the request following the example, the response indicates that categoryId is required.
    Should categoryId be included in the request, or is the example outdated?

Image

Thanks in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions