CONFIG2.yaml 500 B

12345678910111213141516171819202122232425
  1. # CONFIG 2: Flat YAML tanpa Root Key
  2. # Test: Direct key-value pairs, arrays di root level, untuk diakses dengan key '*'
  3. ApiSecret: flat_secret_789
  4. TrxAuthMethod: oauth2
  5. TrxSignKey: X-Auth-Token
  6. endpoint: https://api.example.com
  7. retryAttempts: 3
  8. connectionTimeout: 5000
  9. headers:
  10. - name: X-Api-Key
  11. type: LITERAL
  12. value: api_key_xyz
  13. - name: User-Agent
  14. value: ACE-Middleware/1.0
  15. allowedMethods:
  16. - GET
  17. - POST
  18. - PUT
  19. - DELETE
  20. responseFields:
  21. - id
  22. - status
  23. - timestamp
  24. - data