Skip to content

All endpoints require authentication #131

@yamcodes

Description

@yamcodes

Describe the bug

based on the specification some endpoints require auth:
https://realworld-docs.netlify.app/specifications/backend/endpoints/#create-article
some don't:
https://realworld-docs.netlify.app/specifications/backend/endpoints/#authentication

however we use a global auth token when it comes to the final openapi.json.

the auth should only be enforced upon the endpoints that need it, and it should be validated via directly via first-party tools and not with a custom checker. meaning, openapi/a validator should be the source of truth for validating the token, once we do that we'll be aligned and the final openapi.json will have tokens enforced only when needed

Reproduction

the repo itself as it is today

System Info

any

Validations

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions