fusionauth-rust-client 2.9.0

This is a FusionAuth server. Find out more at [https://fusionauth.io](https://fusionauth.io). You need to [set up an API key](https://fusionauth.io/docs/v1/tech/apis/authentication#managing-api-keys) in the FusionAuth instance you are using to test out the API calls.
Documentation
#!/bin/bash

# Define variables
REPO="flexi-servers/fusionauth-rust-client"  # Replace with your GitHub username and repository
ASSIGNEE="devmaxde"  # Replace with your GitHub username


url=https://raw.githubusercontent.com/FusionAuth/fusionauth-openapi/master/openapi.yaml
echo "Fetching swagger from $url"

curl "$url" --max-time 5 > api.yaml

API_VERSION=$(grep 'version:' "api.yaml" | awk '{print $2}')
CARGO_VERSION=$(grep 'version:' "api_version.yaml" | awk '{print $2}')


if [ "$API_VERSION" != "$CARGO_VERSION" ]; then
    curl -X POST -H "Authorization: token $GITHUB_TOKEN" \
         -d "{\"title\": \"New Version $API_VERSION Available\", \"body\": \"A new version of the software is available: $API_VERSION.\", \"assignees\": [\"$ASSIGNEE\"]}" \
         "https://api.github.com/repos/$REPO/issues"
fi