github.com/stripe/stripe-go/v76@v76.25.0/testing/openapi/README.md (about)

     1  ## Using custom OpenAPI specification and fixtures files
     2  
     3  You can place custom OpenAPI specification and fixtures files in this
     4  directory. The files must be in JSON format, and must be named `spec3.json`
     5  and `fixtures3.json` respectively.
     6  
     7  If those files are present, the test suite will start its own stripe-mock
     8  process on a random available port. In order for this to work, `stripe-mock`
     9  must be on the `PATH` in the environment used to run the test suite.
    10  
    11  Having stripe-mock start automatically can be disabled by passing
    12  `STRIPE_MOCK_AUTOSTART=false` in the environment when running the test suite.