Skip to content

Commit

Permalink
Merge pull request #9 from RedHatProductSecurity/v1.3.0
Browse files Browse the repository at this point in the history
Update to 1.3.0
  • Loading branch information
JakubFrejlach authored Mar 23, 2023
2 parents dfa0f2d + de4ad66 commit 05677dd
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 32 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

## [1.3.0] - 2023-03-23
### Added
- add `next()`, `prev()` and `iterator()` methods for paginated
responses to make page browsing easier
Expand Down
2 changes: 1 addition & 1 deletion component_registry_bindings/bindings/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bindings"
version = "1.2.0-beta"
version = "1.3.0"
description = "A client library for accessing Component Registry API"

authors = []
Expand Down
2 changes: 1 addition & 1 deletion component_registry_bindings/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import Dict, List

COMPONENT_REGISTRY_API_VERSION: str = "v1"
COMPONENT_REGISTRY_BINDINGS_USERAGENT: str = "component-registry-bindings-1.2.0-beta"
COMPONENT_REGISTRY_BINDINGS_USERAGENT: str = "component-registry-bindings-1.3.0"
COMPONENT_REGISTRY_BINDINGS_API_PATH: str = (
f".bindings.python_client.api.{COMPONENT_REGISTRY_API_VERSION}"
)
Expand Down
58 changes: 29 additions & 29 deletions component_registry_bindings/openapi_schema.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: Component Registry API
version: 1.2.1
version: 1.3.2
description: REST API auto-generated docs for Component Registry
paths:
/api/healthy:
Expand Down Expand Up @@ -33,15 +33,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=build_id,name`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=build_id,name`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- name: limit
required: false
in: query
Expand Down Expand Up @@ -97,15 +97,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=build_id,name`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=build_id,name`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
tags:
- v1
responses:
Expand All @@ -127,15 +127,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,ofuri`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,ofuri`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- name: limit
required: false
in: query
Expand Down Expand Up @@ -186,15 +186,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,ofuri`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,ofuri`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- in: path
name: uuid
schema:
Expand Down Expand Up @@ -240,15 +240,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,version`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,version`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- name: limit
required: false
in: query
Expand Down Expand Up @@ -397,15 +397,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,version`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,version`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- in: path
name: uuid
schema:
Expand Down Expand Up @@ -538,15 +538,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,ofuri`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,ofuri`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- name: limit
required: false
in: query
Expand Down Expand Up @@ -618,15 +618,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,ofuri`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,ofuri`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- in: path
name: uuid
schema:
Expand Down Expand Up @@ -680,15 +680,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,ofuri`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,ofuri`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- name: limit
required: false
in: query
Expand Down Expand Up @@ -760,15 +760,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,ofuri`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,ofuri`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- in: path
name: uuid
schema:
Expand Down Expand Up @@ -801,15 +801,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,ofuri`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,ofuri`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- name: limit
required: false
in: query
Expand Down Expand Up @@ -881,15 +881,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,ofuri`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,ofuri`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- in: path
name: uuid
schema:
Expand Down Expand Up @@ -922,15 +922,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,ofuri`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,ofuri`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- name: limit
required: false
in: query
Expand Down Expand Up @@ -1002,15 +1002,15 @@ paths:
items:
type: string
description: 'Exclude only specified fields in the response. Multiple values
may be separated by commas.Example: `exclude_fields=name,ofuri`'
may be separated by commas. Example: `exclude_fields=software_build.build_id,name`'
- in: query
name: include_fields
schema:
type: array
items:
type: string
description: 'Include only specified fields in the response. Multiple values
may be separated by commas.Example: `include_fields=name,ofuri`'
may be separated by commas. Example: `include_fields=software_build.build_id,name`'
- in: path
name: uuid
schema:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="component-registry-bindings",
version="1.2.0-beta",
version="1.3.0",
author="Jakub Frejlach, Red Hat Product Security",
author_email="[email protected]",
description="Python bindings for accessing Component Registry API",
Expand Down

0 comments on commit 05677dd

Please sign in to comment.