FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Identity Lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Information Services
DevOps
Identity and Access Management
Identity Lib
Commits
ba070c2c
Commit
ba070c2c
authored
2 years ago
by
Robin Goodall
Browse files
Options
Downloads
Patches
Plain Diff
Use python-prior generator
parent
23795e6f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!22
Fix default URLs for student and HR apis
Pipeline
#234358
waiting for manual action
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+9
-6
9 additions, 6 deletions
Dockerfile
with
9 additions
and
6 deletions
Dockerfile
+
9
−
6
View file @
ba070c2c
...
...
@@ -5,39 +5,42 @@ FROM openapitools/openapi-generator-cli as builder
WORKDIR
/generated
# openapi-generator-cli v6.2.0 changed the python generator. Using 'python-prior' until we have
# checked the impact of this change
RUN
docker-entrypoint.sh generate
\
--input-spec
https://developer.api.apps.cam.ac.uk/portals/api/sites/api-prod-a3dc87f7-prod/liveportal/apis/card/download_spec
\
--generator-name
python
\
--generator-name
python
-prior
\
--additional-properties
packageName
=
identitylib.card_client
\
--output
/generated
RUN
docker-entrypoint.sh generate
\
--input-spec
https://developer.api.apps.cam.ac.uk/portals/api/sites/api-prod-a3dc87f7-prod/liveportal/apis/university-human-resources/download_spec
\
--generator-name
python
\
--generator-name
python
-prior
\
--additional-properties
packageName
=
identitylib.hr_client
\
--output
/generated
RUN
docker-entrypoint.sh generate
\
--input-spec
https://developer.api.apps.cam.ac.uk/portals/api/sites/api-prod-a3dc87f7-prod/liveportal/apis/lookup/download_spec
\
--generator-name
python
\
--generator-name
python
-prior
\
--additional-properties
packageName
=
identitylib.lookup_client
\
--output
/generated
RUN
docker-entrypoint.sh generate
\
--input-spec
https://developer.api.apps.cam.ac.uk/portals/api/sites/api-prod-a3dc87f7-prod/liveportal/apis/photo/download_spec
\
--generator-name
python
\
--generator-name
python
-prior
\
--additional-properties
packageName
=
identitylib.photo_client
\
--output
/generated
RUN
docker-entrypoint.sh generate
\
--input-spec
https://developer.api.apps.cam.ac.uk/portals/api/sites/api-prod-a3dc87f7-prod/liveportal/apis/university-student/download_spec
\
--generator-name
python
\
--generator-name
python
-prior
\
--additional-properties
packageName
=
identitylib.student_client
\
--output
/generated
RUN
docker-entrypoint.sh generate
\
--input-spec
https://developer.api.apps.cam.ac.uk/portals/api/sites/api-prod-a3dc87f7-prod/liveportal/apis/inst-identifiers/download_spec
\
--generator-name
python
\
--generator-name
python
-prior
\
--additional-properties
packageName
=
identitylib.inst_identifier_client
\
--output
/generated
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment