lichess-org / api

Lichess API documentation and examples
https://lichess.org/api
GNU Affero General Public License v3.0
413 stars 140 forks source link

add optional fields in public user endpoint #333

Closed jalpp closed 2 months ago

jalpp commented 2 months ago

solves #159 adding optional fields in description and linking required faq/TOS URLs to better understand the API sample

fitztrev commented 2 months ago

Would it be better to add these to the schemas as property descriptions?

   disabled:
     type: boolean
     example: false
+    description: Only appears if a user's account is closed

image

jalpp commented 2 months ago

Would it be better to add these to the schemas as property descriptions?


   disabled:

     type: boolean

     example: false

+    description: Only appears if a user's account is closed

image

Oh yes! 😅 I'm used to readme format, I will add that and re create the PR! Thanks