openapi.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "openapi": "3.0.3",
  3. "info": {
  4. "title": "comments",
  5. "version": "0.0.1",
  6. "description": "Files app plugin to add comments to files",
  7. "license": {
  8. "name": "agpl"
  9. }
  10. },
  11. "components": {
  12. "securitySchemes": {
  13. "basic_auth": {
  14. "type": "http",
  15. "scheme": "basic"
  16. },
  17. "bearer_auth": {
  18. "type": "http",
  19. "scheme": "bearer"
  20. }
  21. },
  22. "schemas": {
  23. "Capabilities": {
  24. "type": "object",
  25. "required": [
  26. "files"
  27. ],
  28. "properties": {
  29. "files": {
  30. "type": "object",
  31. "required": [
  32. "comments"
  33. ],
  34. "properties": {
  35. "comments": {
  36. "type": "boolean"
  37. }
  38. }
  39. }
  40. }
  41. }
  42. }
  43. },
  44. "paths": {},
  45. "tags": []
  46. }