er1z / api-platform-two-apis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

api-platform-two-apis

PoC that separates DTOs: internal and external.

CLI:

  • IS_INTERNAL=true bin/console api:swag:ex
  • bin/console api:swag:ex

API Docs:

  • header x-internal exists / query string with key is_internal any content <-> internal API
  • otherwise: external API

About


Languages

Language:PHP 91.3%Language:Shell 6.8%Language:Twig 1.9%