openapi: 3.0.0

info:
  version: "1.0"
  title: PKCE Flow

paths:
  /:
    get:
      summary: dummy operation
      responses:
        "200":
          description: OK

components:
  securitySchemes:
    testAuthCodeFlow:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: /oauth/authorize
          tokenUrl: /oauth/token
          scopes:
            read: read whatever you want
            write: write whatever you want
