Closed Stefan4472 closed 1 year ago
See https://github.com/Stefan4472/Stefans-Blog/blob/master/flaskr/api.yaml
Open questions:
/published
and /featured
endpoints good REST design?/posts/<postId>/content
endpoint to access/modify the Markdown content of a post?/files
POST endpoint follow best practices?TODO: see if https://opensource.zalando.com/restful-api-guidelines/ has any tips that would be relevant here
The spec is not perfect, and will certainly have a few more bug fixes and updates in the future. However, I think it's good enough to start implementing.
In the "API First" mentality, create an OpenAPI Specification before implementing anything. Get feedback from one or two experienced reviewers.