Sistema de Gestión Documental
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
862 B

5 years ago
  1. nelmio_api_doc:
  2. documentation:
  3. # servers:
  4. # - url: http://api.example.com/unsafe
  5. # description: API over HTTP
  6. # - url: https://api.example.com/secured
  7. # description: API over HTTPS
  8. info:
  9. title: Api Gestor Documental Principado de Asturias
  10. description: Definición del API de traducción del Principado de Asturias
  11. version: 1.0.0
  12. components:
  13. securitySchemes:
  14. Bearer:
  15. type: http
  16. scheme: bearer
  17. bearerFormat: JWT
  18. security:
  19. - Bearer: []
  20. areas:
  21. default:
  22. path_patterns:
  23. - ^/api(?!/docs$) # Accepts routes under /api except /api/doc
  24. - ^/api(?!/context$) # Accepts routes under /api except /api/context