Skip to content

openapi


The OpenAPI Specification (https://swagger.io/specification/).

Backend: pants.backend.experimental.openapi
Config section: [openapi]

Basic options

None

Advanced options

tailor_targets

--[no-]openapi-tailor-targets

PANTS_OPENAPI_TAILOR_TARGETS

default: True

If true, add openapi_documents and openapi_sources targets with the tailor goal.

Deprecated options

None