Skip to main content
Version: 2.23 (prerelease)

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
pants.toml
[openapi]
tailor_targets = <bool>
default: True

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

Deprecated options

None

None