Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating readme and version #23

Merged
merged 3 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ to have something to do. Also, it's my first day of vacation, so why not. :)

## Using the slogan generator

The slogan generator is up and running at https://api.hirt.se:9090/slogans. It is available and ready to use.
The slogan generator is up and running at https://api.hirt.se/slogans. It is available and ready to use.

The api is described here:
https://api.hirt.se:9090/slogans/swagger-ui/
https://api.hirt.se/slogans/swagger-ui/

Or in openapi format here:
https://api.hirt.se:9090/slogans/openapi/
https://api.hirt.se/slogans/openapi/

Here's an example on how to get a simple slogan text for OpenJDK:
https://api.hirt.se:9090/slogans/text?item=OpenJDK
https://api.hirt.se/slogans/text?item=OpenJDK

Here is an example of how I use it on my homepage https://hirt.se:
```html
<img src="https://api.hirt.se:9090/slogans/image?item=JDK+Mission+Control&background=random&textColor=%23FFFFFF" border="0" width="460" height="50"/>
<img src="https://api.hirt.se/slogans/image?item=JDK+Mission+Control&background=random&textColor=%23FFFFFF" border="0" width="460" height="50"/>
```
The slogan generator creates images like like these:
![Slogan Image](https://hirt.se/images/github/slogan-java-sunset.png)
Expand All @@ -35,7 +35,7 @@ The slogan generator creates images like like these:
![Slogan Image](https://hirt.se/images/github/slogan-openjdk-clouds.png)

Here are some examples:
https://api.hirt.se:9090/slogans/test
https://api.hirt.se/slogans/test

## Running the application in dev mode

Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ Copyright (C) Marcus Hirt, 2024
<modelVersion>4.0.0</modelVersion>
<groupId>se.hirt</groupId>
<artifactId>slogan-generator</artifactId>
<version>0.1.19-SNAPSHOT</version>

<version>0.1.20-SNAPSHOT</version>
<properties>
<compiler-plugin.version>3.13.0</compiler-plugin.version>
<maven.compiler.release>17</maven.compiler.release>
Expand Down