Skip to main content

adp-api-converter

A utility to transform your OpenAPI specifications (JSON or YAML) for use in the ADP1 APIM repository.
This tool ensures your API specs have required attributes and outputs a modified OpenAPI JSON file.

Features

  • Accepts OpenAPI specs in .json, .yaml, or .yml formats.
  • Adds missing operationId and summary fields to operations.
  • Ensures the info.title field is set to a template value.
  • Outputs the modified spec as formatted JSON.

Usage

You can run the converter as a command-line tool:

adp-api-converter <input_file> [output_file]
  • <input_file>: Path to your OpenAPI spec (YAML or JSON).
  • [output_file]: (Optional) Path for the output JSON file. Defaults to openapi.json.

Example

adp-api-converter api.yaml modified_api.json

How it works

  • Loads the OpenAPI spec from the provided file.
  • Adds or updates the following:
    • info.title is set to {{apiTitle}}.
    • Each operation gets an operationId (if missing) in the format: <method>_<path>-{consumerphase}.
    • Each operation gets a summary (if missing) in the format: <METHOD> <path>.
  • Saves the modified spec as JSON.

Requirements

Metadata

Release files for adp-api-transformeer 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adp-api-transformeer 0.0.2
File Size Uploaded Provenance Actions
adp_api_transformeer-0.0.2.tar.gz 3.5 kB Without provenance Details for adp_api_transformeer-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adp-api-transformeer 0.0.2
File Interpreter ABI Platform Actions
adp_api_transformeer-0.0.2-py3-none-any.whl Python 3 none any Details for adp_api_transformeer-0.0.2-py3-none-any.whl

Total release size: 7.8 kB

Release files / adp_api_transformeer-0.0.2.tar.gz

Download URL adp_api_transformeer-0.0.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0d3072404fae21069c2310607ce2d5d24e57bd16f4bd694d58bed63a29751efa
BLAKE2b-256 checksum
How to use checksums
2db69eb21a08959f23f5294148e8f3885fc65d12f6271be992d63e3809aa6dd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / adp_api_transformeer-0.0.2-py3-none-any.whl

Download URL adp_api_transformeer-0.0.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b45c1026880544859cd4b4c83a55de16a03e2a89fab0cf2dc42e055da261d0f
BLAKE2b-256 checksum
How to use checksums
9cda8ad757812039c7bde53c2a2be1f5a7ea6608da04bf7ce98bcb1b4b2d6a6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for adp-api-transformeer 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page