Catalog PyPI
PACKAGE EXPLORERView in registry

adp-api-transformeer

PyPI

This package can be used to transform your openapi specs (json or yaml) to be used in the ADP1 apim repo

Versions collected1
Direct dependencies1From release 0.0.2
Last observed20 Oct, 19:48 UTC

README

Version 0.0.2 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.28 Aug 20251

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:48 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:044242d12de78dcdfa112fd1f18087122d9d209d61e10fb58b61b16faee81647