Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
[Fix] Uncompilable code - See Readme for details
Browse files Browse the repository at this point in the history
Signed-off-by: Mathis Joffre <[email protected]>
  • Loading branch information
Joffref committed Apr 8, 2023
1 parent 2c9dec6 commit 62c5752
Show file tree
Hide file tree
Showing 15,322 changed files with 548,132 additions and 226,080 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Build and generate specs using Docker
uses: addnab/docker-run-action@v3
with:
image: openapitools/openapi-generator-cli:v6.4.0
image: openapitools/openapi-generator-cli:v6.5.0
run: ./specs/generate.sh
options: -v ${{ github.workspace }}:/specs
- uses: actions/setup-go@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Release](https://img.shields.io/github/v/release/5GCoreNet/openapi)](https://github.com/5GCoreNet/openapi/releases/latest)

> The code in this repository is generated automatically using a GitHub Action workflow. DO NOT EDIT THE CODE IN THIS REPOSITORY.
> Note that for the moment the automatic code generation is not working, we will be able to provide it when [this PR](https://github.com/OpenAPITools/openapi-generator/pull/13472) will be merged.
This repository contains the Go code generated from the 5GC OpenAPI specifications provided [here](https://github.com/jdegre/5GC_APIs) used by the [5GCoreNetSDK](https://github.com/5GCoreNet/5GCoreNetSDK).

We use the [OpenAPI Generator](https://openapi-generator.tech/) to generate the code from the OpenAPI specifications automatically using a GitHub Action workflow
Expand Down
5 changes: 4 additions & 1 deletion openapi_5GLANParameterProvision/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api/openapi.yaml
Expand All @@ -8,6 +7,7 @@ api_individual5_glan_parameters_provision_subscription.go
client.go
configuration.go
docs/AaaUsage.md
docs/AaaUsageAnyOf.md
docs/AppDescriptor.md
docs/AppDescriptorRm.md
docs/Class5GLANParametersProvisionSubscriptionsApi.md
Expand All @@ -19,6 +19,7 @@ docs/Model5GLanParametersPatch.md
docs/Model5GLanParametersProvision.md
docs/Model5GLanParametersProvisionPatch.md
docs/PduSessionType.md
docs/PduSessionTypeAnyOf.md
docs/ProblemDetails.md
docs/Snssai.md
git_push.sh
Expand All @@ -29,11 +30,13 @@ model_5_g_lan_parameters_patch.go
model_5_g_lan_parameters_provision.go
model_5_g_lan_parameters_provision_patch.go
model_aaa_usage.go
model_aaa_usage_any_of.go
model_app_descriptor.go
model_app_descriptor_rm.go
model_invalid_param.go
model_ipv6_addr.go
model_pdu_session_type.go
model_pdu_session_type_any_of.go
model_problem_details.go
model_snssai.go
response.go
Expand Down
2 changes: 1 addition & 1 deletion openapi_5GLANParameterProvision/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.5.0-SNAPSHOT
6.3.0-SNAPSHOT
2 changes: 2 additions & 0 deletions openapi_5GLANParameterProvision/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ Class | Method | HTTP request | Description
## Documentation For Models

- [AaaUsage](docs/AaaUsage.md)
- [AaaUsageAnyOf](docs/AaaUsageAnyOf.md)
- [AppDescriptor](docs/AppDescriptor.md)
- [AppDescriptorRm](docs/AppDescriptorRm.md)
- [InvalidParam](docs/InvalidParam.md)
Expand All @@ -101,6 +102,7 @@ Class | Method | HTTP request | Description
- [Model5GLanParametersProvision](docs/Model5GLanParametersProvision.md)
- [Model5GLanParametersProvisionPatch](docs/Model5GLanParametersProvisionPatch.md)
- [PduSessionType](docs/PduSessionType.md)
- [PduSessionTypeAnyOf](docs/PduSessionTypeAnyOf.md)
- [ProblemDetails](docs/ProblemDetails.md)
- [Snssai](docs/Snssai.md)

Expand Down
28 changes: 17 additions & 11 deletions openapi_5GLANParameterProvision/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -899,10 +899,7 @@ components:
type: object
AaaUsage:
anyOf:
- enum:
- AUTH
- IP_ALLOC
type: string
- $ref: '#/components/schemas/AaaUsage_anyOf'
- description: |
This string provides forward-compatibility with future extensions to the enumeration and is not used to encode content defined in the present version of this API.
type: string
Expand Down Expand Up @@ -1035,13 +1032,7 @@ components:
type: object
PduSessionType:
anyOf:
- enum:
- IPV4
- IPV6
- IPV4V6
- UNSTRUCTURED
- ETHERNET
type: string
- $ref: '#/components/schemas/PduSessionType_anyOf'
- type: string
description: "PduSessionType indicates the type of a PDU session. It shall comply\
\ with the provisions defined in table 5.4.3.3-1. \n"
Expand All @@ -1066,6 +1057,21 @@ components:
String providing an application identifier with the OpenAPI 'nullable: true' property.
nullable: true
type: string
AaaUsage_anyOf:
enum:
- AUTH
- IP_ALLOC
type: string
example: null
PduSessionType_anyOf:
enum:
- IPV4
- IPV6
- IPV4V6
- UNSTRUCTURED
- ETHERNET
type: string
example: null
securitySchemes:
oAuth2ClientCredentials:
flows:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 12 additions & 16 deletions openapi_5GLANParameterProvision/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 62c5752

Please sign in to comment.